diff hgsubversion/editor.py @ 432:4bf90f8c9b7b

consolidate metadata calls from stupid and replay code
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 15 Jun 2009 16:10:24 +0200
parents 6086363e8230
children a2a15fa7afb1
line wrap: on
line diff
--- a/hgsubversion/editor.py
+++ b/hgsubversion/editor.py
@@ -249,18 +249,9 @@ class HgEditor(delta.Editor):
             if (rev.revnum, branch) not in self.meta.revmap:
                 self.meta.revmap[rev.revnum, branch] = new_hash
 
-        # 3. handle tags
-        if tbdelta['tags'][0] or tbdelta['tags'][1]:
-            self.meta.committags(tbdelta['tags'], rev, closebranches)
-
-        # 4. close any branches that need it
-        for branch, parent in closebranches.iteritems():
-            if parent is None:
-                continue
-            self.meta.delbranch(branch, parent, rev)
-
         self.current.clear()
-
+        return closebranches
+	
     # Here come all the actual editor methods
 
     @ieditor