changeset 612:15299bfd0813

adapt to 7f5dab94e48c in crew
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 21 Nov 2012 00:18:41 +0100
parents 4a27cba047f5
children c39afce52e31
files hgext/evolve.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: