diff hgsubversion/svnmeta.py @ 1213:295d2f0cc275

maps: change branchmap to initialize with an svnmeta object This refactoring will help us in a future patch have all map objects inherit from a common ancestor.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:48 -0500
parents 0ca7f80d0ab6
children 2c793092862b
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -242,7 +242,7 @@ class SVNMeta(object):
     @property
     def branchmap(self):
         if self._branchmap is None:
-            self._branchmap = maps.BranchMap(self.ui, self.branchmap_file)
+            self._branchmap = maps.BranchMap(self)
         return self._branchmap
 
     @property