##// END OF EJS Templates
format: format commands.py, which recently regressed...
Martin von Zweigbergk -
r43462:ce20b870 default
parent child Browse files
Show More
@@ -5616,8 +5616,10 b' def push(ui, repo, dest=None, **opts):'
5616 _(b'default push revset for path evaluates to an empty set')
5616 _(b'default push revset for path evaluates to an empty set')
5617 )
5617 )
5618 elif ui.configbool(b'commands', b'push.require-revs'):
5618 elif ui.configbool(b'commands', b'push.require-revs'):
5619 raise error.Abort(_(b'no revisions specified to push'),
5619 raise error.Abort(
5620 hint=_(b'did you mean "hg push -r ."?'))
5620 _(b'no revisions specified to push'),
5621 hint=_(b'did you mean "hg push -r ."?'),
5622 )
5621
5623
5622 repo._subtoppath = dest
5624 repo._subtoppath = dest
5623 try:
5625 try:
General Comments 0
You need to be logged in to leave comments. Login now