Mercurial > hg
changeset 26973:fdd63acf3215
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.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Mon, 16 Nov 2015 17:14:15 -0800 |
parents | 4b0c3df5d635 |
children | 4b5dc0d9e899 |
files | hgext/convert/hg.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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