convert: indentation change to make the next patch more legible
We put the code to be indented in the next patch in a "if True:" block to make
it easier to review.
--- 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