# HG changeset patch # User Martin von Zweigbergk # Date 2019-10-12 01:56:59 # Node ID ce20b870041fc4d6ba6989acbb9373797ce9b3d6 # Parent 5ed1abd0ea263bae4d6fd1db9a47c9e2c52f79d8 format: format commands.py, which recently regressed # skip-blame just reformatting Differential Revision: https://phab.mercurial-scm.org/D7064 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5616,8 +5616,10 @@ def push(ui, repo, dest=None, **opts): _(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: