mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
Fix hg githelp without args
This commit is contained in:
parent
8bd405d4df
commit
c030cd9d54
@ -39,6 +39,10 @@ def backups(ui, repo, *args, **kwargs):
|
||||
|
||||
Usage: hg githelp -- <git command>
|
||||
'''
|
||||
|
||||
if len(args) == 0:
|
||||
raise util.Abort(_('missing git command - usage: hg githelp -- <git command>'))
|
||||
|
||||
if args[0] == 'git':
|
||||
args = args[1:]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user