# HG changeset patch # User Laurent Charignon # Date 1447722855 28800 # Node ID fdd63acf321573f64efe0d364403adbcbe7f5439 # Parent 4b0c3df5d6359de4cae409bb7fdcd76a46954b87 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. diff -r 4b0c3df5d635 -r fdd63acf3215 hgext/convert/hg.py --- 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