##// END OF EJS Templates
debugcommands: move 'debuglabelcomplete' in the new module
Pierre-Yves David -
r30935:e46533c3 default
parent child Browse files
Show More
@@ -1863,11 +1863,6 b' def copy(ui, repo, *pats, **opts):'
1863 1863 with repo.wlock(False):
1864 1864 return cmdutil.copy(ui, repo, pats, opts)
1865 1865
1866 @command('debuglabelcomplete', [], _('LABEL...'))
1867 def debuglabelcomplete(ui, repo, *args):
1868 '''backwards compatibility with old bash completion scripts (DEPRECATED)'''
1869 debugnamecomplete(ui, repo, *args)
1870
1871 1866 @command('debugmergestate', [], '')
1872 1867 def debugmergestate(ui, repo, *args):
1873 1868 """print merge state
@@ -1036,6 +1036,11 b' def debugknown(ui, repopath, *ids, **opt'
1036 1036 flags = repo.known([bin(s) for s in ids])
1037 1037 ui.write("%s\n" % ("".join([f and "1" or "0" for f in flags])))
1038 1038
1039 @command('debuglabelcomplete', [], _('LABEL...'))
1040 def debuglabelcomplete(ui, repo, *args):
1041 '''backwards compatibility with old bash completion scripts (DEPRECATED)'''
1042 commands.debugnamecomplete(ui, repo, *args)
1043
1039 1044 @command('debugupgraderepo', [
1040 1045 ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
1041 1046 ('', 'run', False, _('performs an upgrade')),
General Comments 0
You need to be logged in to leave comments. Login now