changeset 1443:887430c1b8ab

BranchMap: no longer take a meta
author Augie Fackler <raf@durin42.com>
date Mon, 06 Jun 2016 00:47:27 -0400
parents a0ba38def79b
children e745b543db05
files hgsubversion/maps.py hgsubversion/svnmeta.py
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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:
--- 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