[Request] [+ ] D8841: cleanup: fix bad formatting of state.py from D8811

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Jul 28 18:11:26 UTC 2020


martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  `test-check-format.t` was failing for me. Do I just have the wrong
  version?

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/state.py

CHANGE DETAILS

diff --git a/mercurial/state.py b/mercurial/state.py
--- a/mercurial/state.py
+++ b/mercurial/state.py
@@ -170,12 +170,10 @@
                     self._opname,
                 )
             else:
-                return _(b"use 'hg %s --continue', 'hg %s --abort', "
-                         b"or 'hg %s --stop'") % (
-                    self._opname,
-                    self._opname,
-                    self._opname,
-                )
+                return _(
+                    b"use 'hg %s --continue', 'hg %s --abort', "
+                    b"or 'hg %s --stop'"
+                ) % (self._opname, self._opname, self._opname,)
 
         return self._cmdhint
 



To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200728/522c14ba/attachment.html>


More information about the Mercurial-patches mailing list