[PATCH 3 of 6] debugcommands: move 'debuglabelcomplete' in the new module
Augie Fackler
raf at durin42.com
Mon Feb 13 14:24:43 EST 2017
On Mon, Feb 13, 2017 at 09:43:05AM -0800, Martin von Zweigbergk via Mercurial-devel wrote:
> On Mon, Feb 13, 2017 at 8:07 AM, Pierre-Yves David
> <pierre-yves.david at ens-lyon.org> wrote:
> > # HG changeset patch
> > # User Pierre-Yves David <pierre-yves.david at 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])))
> >
> > + at 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?
Looks like it. I've queued patches 1,2, 4-6 of this series, we can get
this one on a resend.
>
> > @command('debugupgraderepo', [
> > ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),
> > ('', 'run', False, _('performs an upgrade')),
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list