mercurial/debugcommands.py
changeset 30955 e46533c3201e
parent 30939 e1fa5fe9f9d4
child 30956 8de38479d60b
equal deleted inserted replaced
30954:6d642ecf1a89 30955:e46533c3201e
  1034     if not repo.capable('known'):
  1034     if not repo.capable('known'):
  1035         raise error.Abort("known() not supported by target repository")
  1035         raise error.Abort("known() not supported by target repository")
  1036     flags = repo.known([bin(s) for s in ids])
  1036     flags = repo.known([bin(s) for s in ids])
  1037     ui.write("%s\n" % ("".join([f and "1" or "0" for f in flags])))
  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 @command('debugupgraderepo', [
  1044 @command('debugupgraderepo', [
  1040     ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
  1045     ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
  1041     ('', 'run', False, _('performs an upgrade')),
  1046     ('', 'run', False, _('performs an upgrade')),
  1042 ])
  1047 ])
  1043 def debugupgraderepo(ui, repo, run=False, optimize=None):
  1048 def debugupgraderepo(ui, repo, run=False, optimize=None):