--- a/hgext/evolve.py Wed Nov 07 17:23:01 2012 +0100
+++ b/hgext/evolve.py Wed Nov 21 00:18:41 2012 +0100
@@ -1031,7 +1031,7 @@
for book in destbookmarks: # restore bookmark that rebase move
repo._bookmarks[book] = dest.node()
if oldbookmarks or destbookmarks:
- bookmarks.write(repo)
+ repo._bookmarks.write()
return nodenew
except util.Abort:
# Invalidate the previous setparents
@@ -1054,7 +1054,7 @@
repo._bookmarks[b] = newid
dirty = True
if dirty:
- bookmarks.write(repo)
+ repo._bookmarks.write()
return updatebookmarks
### new command
@@ -1757,7 +1757,7 @@
for book in oldbookmarks:
repo._bookmarks[book] = new.node()
if oldbookmarks:
- bookmarks.write(repo)
+ repo._bookmarks.write()
return result
finally:
if lock is not None: