# HG changeset patch # User Augie Fackler # Date 1465188447 14400 # Node ID 887430c1b8abf3c23d02367f8f8ab1a0299df073 # Parent a0ba38def79b42b1161e9a6b7844eafef768ee68 BranchMap: no longer take a meta diff --git a/hgsubversion/maps.py b/hgsubversion/maps.py --- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -603,9 +603,6 @@ class BranchMap(BaseMap): All changes on the oldname branch will now be on the newname branch; all changes on other will now be on default (have no branch name set). ''' - def __init__(self, meta): - super(BranchMap, self).__init__( - meta.ui, meta.__getattribute__(self.defaultfilenameattr)) class TagMap(BaseMap): '''Facility for controlled renaming of tags. Example: diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -313,7 +313,7 @@ class SVNMeta(object): @property def branchmap(self): if self._branchmap is None: - self._branchmap = maps.BranchMap(self) + self._branchmap = maps.BranchMap(self.ui, self.branchmap_file) return self._branchmap @property