mercurial/repair.py
changeset 17922 7f5dab94e48c
parent 17796 1b51638bf44a
child 18004 747a2f43d5d9
--- a/mercurial/repair.py	Fri Nov 09 14:49:30 2012 -0800
+++ b/mercurial/repair.py	Wed Nov 07 16:21:39 2012 -0600
@@ -6,7 +6,7 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from mercurial import changegroup, bookmarks
+from mercurial import changegroup
 from mercurial.node import short
 from mercurial.i18n import _
 import os
@@ -181,7 +181,7 @@
 
         for m in updatebm:
             bm[m] = repo[newbmtarget].node()
-        bookmarks.write(repo)
+        bm.write()
     except: # re-raises
         if backupfile:
             ui.warn(_("strip failed, full bundle stored in '%s'\n")