On Mon, Feb 13, 2017 at 8:07 AM, Pierre-Yves David <pierre-yves.da...@ens-lyon.org> wrote: > # HG changeset patch > # User Pierre-Yves David <pierre-yves.da...@ens-lyon.org> > # Date 1485967171 -3600 > # Wed Feb 01 17:39:31 2017 +0100 > # Node ID efbf6a59699575d328d71a6cdcb9a8db25a85c6e > # Parent f25d7b04bb99f20965efa0bf042b485d8bcd58b8 > # EXP-Topic debugcommands > debugcommands: move 'debuglabelcomplete' in the new module > > diff -r f25d7b04bb99 -r efbf6a596995 mercurial/debugcommands.py > --- a/mercurial/debugcommands.py Wed Feb 01 17:33:46 2017 +0100 > +++ b/mercurial/debugcommands.py Wed Feb 01 17:39:31 2017 +0100 > @@ -1036,6 +1036,11 @@ def debugknown(ui, repopath, *ids, **opt > flags = repo.known([bin(s) for s in ids]) > ui.write("%s\n" % ("".join([f and "1" or "0" for f in flags]))) > > +@command('debuglabelcomplete', [], _('LABEL...')) > +def debuglabelcomplete(ui, repo, *args): > + '''backwards compatibility with old bash completion scripts > (DEPRECATED)''' > + commands.debugnamecomplete(ui, repo, *args) > +
Meant to be removed from commands.py too, right? > @command('debugupgraderepo', [ > ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')), > ('', 'run', False, _('performs an upgrade')), > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel