# HG changeset patch # User Laurent Charignon # Date 2015-11-17 01:14:15 # 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 --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -410,12 +410,12 @@ class mercurial_sink(converter_sink): 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