Skip to content

Commit

Permalink
Fix the expansion of the $Source$ keyword.
Browse files Browse the repository at this point in the history
For a file in the attic, include the "Attic" part of the RCS file's
directory path in the expansion of $Source$.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5379 be7e6eca-30d4-0310-a8e5-ac0d63af7087
  • Loading branch information
mhagger committed Feb 1, 2012
1 parent 4c9bc74 commit ebf4eec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cvs2svn_lib/keyword_expander.py
Expand Up @@ -94,10 +94,10 @@ def revision(self):


def source(self): def source(self):
project = self.cvs_rev.cvs_file.project project = self.cvs_rev.cvs_file.project
return '%s/%s%s,v' % ( return '%s/%s%s' % (
project.cvs_repository_root, project.cvs_repository_root,
project.cvs_module, project.cvs_module,
self.cvs_rev.cvs_file.cvs_path, '/'.join(self.cvs_rev.cvs_file.get_path_components(rcs=True)),
) )


def state(self): def state(self):
Expand Down

0 comments on commit ebf4eec

Please sign in to comment.