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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Oct 11 17:49:01 UTC 2019


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

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:



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


More information about the Mercurial-devel mailing list