changeset 1389:44d0c5d73bfd

maps: remove unneeded __init__ code from branch map
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:59 -0500
parents 130ced9e371d
children c9d59a5a1ed6
files hgsubversion/maps.py
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/maps.py
+++ b/hgsubversion/maps.py
@@ -421,15 +421,7 @@ class BranchMap(BaseMap):
     '''
 
     def __init__(self, meta):
-        self.meta = meta
-        self.super = super(BranchMap, self)
-        self.super.__init__()
-        self.load(self.meta.branchmap_file)
-
-        # append branch mapping specified from the commandline
-        clmap = util.configpath(self.meta.ui, 'branchmap')
-        if clmap:
-            self.load(clmap)
+        super(BranchMap, self).__init__(meta)
 
     def load(self, path):
         '''Load mappings from a file at the specified path.'''