hgext/convert/hg.py
changeset 26973 fdd63acf3215
parent 26587 56b2bcea2529
child 26974 4b5dc0d9e899
--- a/hgext/convert/hg.py	Sun Nov 15 20:27:27 2015 +0530
+++ b/hgext/convert/hg.py	Mon Nov 16 17:14:15 2015 -0800
@@ -410,12 +410,12 @@
     def putbookmarks(self, updatedbookmark):
         if not len(updatedbookmark):
             return
-
-        self.ui.status(_("updating bookmarks\n"))
-        destmarks = self.repo._bookmarks
-        for bookmark in updatedbookmark:
-            destmarks[bookmark] = bin(updatedbookmark[bookmark])
-        destmarks.write()
+        if True:
+            self.ui.status(_("updating bookmarks\n"))
+            destmarks = self.repo._bookmarks
+            for bookmark in updatedbookmark:
+                destmarks[bookmark] = bin(updatedbookmark[bookmark])
+            destmarks.write()
 
     def hascommitfrommap(self, rev):
         # the exact semantics of clonebranches is unclear so we can't say no