mercurial/bookmarks.py
branchstable
changeset 14266 89e7d35e0ef0
parent 13627 71a96f6c205d
child 14268 a55a0045704c
--- a/mercurial/bookmarks.py	Fri May 06 15:37:38 2011 +0300
+++ b/mercurial/bookmarks.py	Sun May 01 13:07:00 2011 +0200
@@ -61,12 +61,6 @@
     '''
     refs = repo._bookmarks
 
-    try:
-        bms = repo.opener('bookmarks').read()
-    except IOError:
-        bms = ''
-    repo.opener('undo.bookmarks', 'w').write(bms)
-
     if repo._bookmarkcurrent not in refs:
         setcurrent(repo, None)
     for mark in refs.keys():