comparison mercurial/debugcommands.py @ 31411:ea0395eec67b

debuglabelcomplete: fix to call debugnamecomplete in new location debugnamecomplete was moved in a9aa67ba from commands to debugcommands, but debuglabelcomplete was not modified to call it in its new location.
author Kyle Lippincott <spectral@google.com>
date Tue, 14 Mar 2017 13:10:30 -0700
parents 9cdba6072b97
children 53865692a354
comparison
equal deleted inserted replaced
31410:ed23f929af38 31411:ea0395eec67b
1125 ui.write("%s\n" % ("".join([f and "1" or "0" for f in flags]))) 1125 ui.write("%s\n" % ("".join([f and "1" or "0" for f in flags])))
1126 1126
1127 @command('debuglabelcomplete', [], _('LABEL...')) 1127 @command('debuglabelcomplete', [], _('LABEL...'))
1128 def debuglabelcomplete(ui, repo, *args): 1128 def debuglabelcomplete(ui, repo, *args):
1129 '''backwards compatibility with old bash completion scripts (DEPRECATED)''' 1129 '''backwards compatibility with old bash completion scripts (DEPRECATED)'''
1130 commands.debugnamecomplete(ui, repo, *args) 1130 debugnamecomplete(ui, repo, *args)
1131 1131
1132 @command('debuglocks', 1132 @command('debuglocks',
1133 [('L', 'force-lock', None, _('free the store lock (DANGEROUS)')), 1133 [('L', 'force-lock', None, _('free the store lock (DANGEROUS)')),
1134 ('W', 'force-wlock', None, 1134 ('W', 'force-wlock', None,
1135 _('free the working state lock (DANGEROUS)'))], 1135 _('free the working state lock (DANGEROUS)'))],