Mercurial > hgsubversion
diff hgsubversion/maps.py @ 458:974102998578
rebuildmeta: remove any existing tagmap file.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 05 Jul 2009 21:44:35 -0500 |
parents | bb612e625be6 |
children | ff69f1855086 |
line wrap: on
line diff
--- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -101,9 +101,13 @@ class TagMap(dict): VERSION = 2 + @classmethod + def filepath(cls, repo): + return os.path.join(repo.path, 'svn', 'tagmap') + def __init__(self, repo, endrev=None): dict.__init__(self) - self.path = os.path.join(repo.path, 'svn', 'tagmap') + self.path = self.filepath(repo) self.seen = 0 self.endrev=endrev if os.path.isfile(self.path):