adapt to 7f5dab94e48c in crew
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 21 Nov 2012 00:18:41 +0100
changeset 612 15299bfd0813
parent 610 4a27cba047f5
child 618 c39afce52e31
adapt to 7f5dab94e48c in crew
hgext/evolve.py
--- 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: