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): |