Patchwork D8841: cleanup: fix bad formatting of state.py from D8811

login
register
mail settings
Submitter phabricator
Date July 28, 2020, 6:11 p.m.
Message ID <differential-rev-PHID-DREV-4x2idztd5fuwd7h5tcqc-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46915/
State Superseded
Headers show

Comments

phabricator - July 28, 2020, 6:11 p.m.
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




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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