diff hgsubversion/maps.py @ 1447:a6fa4f3aa826

FileMap: no longer take a meta
author Augie Fackler <raf@durin42.com>
date Mon, 06 Jun 2016 00:52:37 -0400
parents 2eba84031a78
children cbad7285cbeb
line wrap: on
line diff
--- a/hgsubversion/maps.py
+++ b/hgsubversion/maps.py
@@ -491,7 +491,7 @@ class FileMap(object):
 
     VERSION = 1
 
-    def __init__(self, meta):
+    def __init__(self, ui, filepath):
         '''Initialise a new FileMap.
 
         The ui argument is used to print diagnostic messages.
@@ -499,8 +499,8 @@ class FileMap(object):
         The path argument is the location of the backing store,
         typically .hg/svn/filemap.
         '''
-        self._filename = meta.filemap_file
-        self._ui = meta.ui
+        self._filename = filepath
+        self._ui = ui
         self.include = {}
         self.exclude = {}
         if os.path.isfile(self._filename):