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

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2019, 2 a.m.
Message ID <ce8cda3e183c9a410205fe06142407bc@localhost.localdomain>
Download mbox | patch
Permalink /patch/42252/
State Not Applicable
Headers show

Comments

phabricator - Oct. 12, 2019, 2 a.m.
Closed by commit rHGce20b870041f: format: format commands.py, which recently regressed (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7064?vs=17071&id=17099

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7064/new/

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, indygreg
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: