Patchwork D7064: format: format commands.py, which recently regressed

login
register
mail settings
Submitter phabricator
Date Oct. 11, 2019, 5:49 p.m.
Message ID <differential-rev-PHID-DREV-roxav4ar6m3wugc3kizt-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42223/
State Superseded
Headers show

Comments

phabricator - Oct. 11, 2019, 5:49 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5616,8 +5616,10 @@ 
                 _(b'default push revset for path evaluates to an empty set')
             )
     elif ui.configbool(b'commands', b'push.require-revs'):
-        raise error.Abort(_(b'no revisions specified to push'),
-                          hint=_(b'did you mean "hg push -r ."?'))
+        raise error.Abort(
+            _(b'no revisions specified to push'),
+            hint=_(b'did you mean "hg push -r ."?'),
+        )
 
     repo._subtoppath = dest
     try: