diff mercurial/bookmarks.py @ 14268:a55a0045704c

merge with stable
author Matt Mackall <mpm@selenic.com>
date Sun, 08 May 2011 16:16:41 -0500
parents 135e244776f0 89e7d35e0ef0
children e29821ca94cf
line wrap: on
line diff
--- a/mercurial/bookmarks.py	Sun May 08 11:39:24 2011 -0500
+++ b/mercurial/bookmarks.py	Sun May 08 16:16:41 2011 -0500
@@ -71,14 +71,6 @@
     '''
     refs = repo._bookmarks
 
-    try:
-        bms = repo.opener.read('bookmarks')
-    except IOError, inst:
-        if inst.errno != errno.ENOENT:
-            raise
-        bms = ''
-    repo.opener.write('undo.bookmarks', bms)
-
     if repo._bookmarkcurrent not in refs:
         setcurrent(repo, None)
     for mark in refs.keys():