D1832: style: remove multiple statement on a single line

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Sun Jan 14 14:36:09 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGab11af15a149: style: remove multiple statement on a single line (authored by lothiraldan, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1832?vs=4749&id=4820

REVISION DETAIL
  https://phab.mercurial-scm.org/D1832

AFFECTED FILES
  hgext/convert/git.py

CHANGE DETAILS

diff --git a/hgext/convert/git.py b/hgext/convert/git.py
--- a/hgext/convert/git.py
+++ b/hgext/convert/git.py
@@ -342,13 +342,15 @@
                 p = v.split()
                 tm, tz = p[-2:]
                 author = " ".join(p[:-2])
-                if author[0] == "<": author = author[1:-1]
+                if author[0] == "<":
+                    author = author[1:-1]
                 author = self.recode(author)
             if n == "committer":
                 p = v.split()
                 tm, tz = p[-2:]
                 committer = " ".join(p[:-2])
-                if committer[0] == "<": committer = committer[1:-1]
+                if committer[0] == "<":
+                    committer = committer[1:-1]
                 committer = self.recode(committer)
             if n == "parent":
                 parents.append(v)



To: lothiraldan, #hg-reviewers, pulkit, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list