changeset 934:63d6484c43ba

editor: remove unused 'base' attribute from RevisionData
author Patrick Mezard <patrick@mezard.eu>
date Sat, 22 Sep 2012 23:28:20 +0200
parents a9f315eae67c
children 1de83496df4e
files hgsubversion/editor.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/editor.py
+++ b/hgsubversion/editor.py
@@ -47,7 +47,6 @@ class RevisionData(object):
         self.copies = {}
         self.missing = set()
         self.emptybranches = {}
-        self.base = None
         self.externals = {}
         self.exception = None
 
@@ -149,10 +148,6 @@ class HgEditor(svnwrap.Editor):
 
         self.current.file = path
         self.ui.note('M %s\n' % path)
-        if base_revision != -1:
-            self.current.base = base_revision
-        else:
-            self.current.base = None
 
         if self.current.file in self.current.files:
             return
@@ -182,7 +177,6 @@ class HgEditor(svnwrap.Editor):
     def add_file(self, path, parent_baton=None, copyfrom_path=None,
                  copyfrom_revision=None, file_pool=None):
         self.current.file = None
-        self.current.base = None
         if path in self.current.deleted:
             del self.current.deleted[path]
         fpath, branch = self.meta.split_branch_path(path, existing=False)[:2]