From patchwork Fri Oct 11 17:49:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7064: format: format commands.py, which recently regressed From: phabricator X-Patchwork-Id: 42223 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Fri, 11 Oct 2019 17:49:01 +0000 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 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: