Mercurial > hgsubversion
diff hgsubversion/svnmeta.py @ 1187:30b2139c3931
maps: change tags init to accept svnmeta not a repo
This is to allow us to access config options in one object.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:45 -0500 |
parents | f9650d24464a |
children | 0ef719f4c371 |
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -248,7 +248,7 @@ class SVNMeta(object): @property def tags(self): if self._tags is None: - self._tags = maps.Tags(self.repo) + self._tags = maps.Tags(self) return self._tags @property @@ -487,7 +487,7 @@ class SVNMeta(object): return node.hex(self.revmap[tagged]) tag = fromtag # Reference an existing tag - limitedtags = maps.Tags(self.repo, endrev=number - 1) + limitedtags = maps.Tags(self, endrev=number - 1) if tag in limitedtags: return limitedtags[tag] r, br = self.get_parent_svn_branch_and_rev(number - 1, branch, exact)