diff fetch_command.py @ 33:a9c15cae50e5

Faster append-only revmap implementation.
author Andreas Hartmetz <ahartmetz@gmail.com>
date Wed, 15 Oct 2008 21:47:48 -0400
parents d01196ca1e39
children 9ee7ce0505eb
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -440,7 +440,7 @@ def stupid_svn_server_pull_rev(ui, svn, 
                                          date,
                                          extra)
             ha = hg_editor.repo.commitctx(current_ctx)
-            hg_editor.revmap[r.revnum, b] = ha
+            hg_editor.add_to_revmap(r.revnum, b, ha)
             hg_editor._save_metadata()
             ui.status('committed as %s on branch %s\n' %
                       (node.hex(ha),  b or 'default'))