diff fetch_command.py @ 154:6fa97cfbf62f

fetch: Refactor extra creation to be shared by real and diff replay. Add convert-compatible meta information to extra.
author Augie Fackler <durin42@gmail.com>
date Tue, 23 Dec 2008 11:10:32 -0600
parents 22162380c4b9
children 91c818377703
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -502,9 +502,7 @@ def stupid_svn_server_pull_rev(ui, svn, 
                 files_touched, filectxfn = stupid_fetch_branchrev(
                     svn, hg_editor, b, branches[b], r, parentctx)
 
-        extra = {}
-        if b:
-            extra['branch'] = b
+        extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir)
         if '' in files_touched:
             files_touched.remove('')
         if parentctx.node() != node.nullid or files_touched: