changeset 1444:e745b543db05

TagMap: no longer take a meta
author Augie Fackler <raf@durin42.com>
date Mon, 06 Jun 2016 00:48:06 -0400
parents 887430c1b8ab
children 5dbc6356a0d3
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
@@ -613,6 +613,3 @@ class TagMap(BaseMap):
         The oldname tag from SVN will be represented as newname in the hg tags;
         the other tag will not be reflected in the hg repository.
     '''
-    def __init__(self, meta):
-        super(TagMap, self).__init__(
-            meta.ui, meta.__getattribute__(self.defaultfilenameattr))
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -335,7 +335,7 @@ class SVNMeta(object):
     @property
     def tagmap(self):
         if self._tagmap is None:
-            self._tagmap = maps.TagMap(self)
+            self._tagmap = maps.TagMap(self.ui, self.tagmap_file)
         return self._tagmap
 
     @property