Re: [PATCH] debuglabelcomplete: fix to call debugnamecomplete in new location

2017-03-14 Thread Kyle Lippincott
I should probably add a test; ignore this, v2 incoming soon.

On Tue, Mar 14, 2017 at 1:12 PM, Kyle Lippincott via Mercurial-devel <
mercurial-devel@mercurial-scm.org> wrote:

> # HG changeset patch
> # User Kyle Lippincott 
> # Date 1489522230 25200
> #  Tue Mar 14 13:10:30 2017 -0700
> # Node ID 8148b77193f29b1cd8c4c5b95456eaace6ff6bfc
> # Parent  b6f5af372c0c047340e3c6bdd27b87207b9cec92
> debuglabelcomplete: fix to call debugnamecomplete in new location
>
> debugnamecomplete was moved in a9aa67ba from commands to debugcommands, but
> debuglabelcomplete was not modified to call it in its new location.
>
> diff -r b6f5af372c0c -r 8148b77193f2 mercurial/debugcommands.py
> --- a/mercurial/debugcommands.pySun Mar 12 15:27:02 2017 -0400
> +++ b/mercurial/debugcommands.pyTue Mar 14 13:10:30 2017 -0700
> @@ -1127,7 +1127,7 @@
>  @command('debuglabelcomplete', [], _('LABEL...'))
>  def debuglabelcomplete(ui, repo, *args):
>  '''backwards compatibility with old bash completion scripts
> (DEPRECATED)'''
> -commands.debugnamecomplete(ui, repo, *args)
> +debugnamecomplete(ui, repo, *args)
>
>  @command('debuglocks',
>   [('L', 'force-lock', None, _('free the store lock (DANGEROUS)')),
> ___
> 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


[PATCH] debuglabelcomplete: fix to call debugnamecomplete in new location

2017-03-14 Thread Kyle Lippincott via Mercurial-devel
# HG changeset patch
# User Kyle Lippincott 
# Date 1489522230 25200
#  Tue Mar 14 13:10:30 2017 -0700
# Node ID 8148b77193f29b1cd8c4c5b95456eaace6ff6bfc
# Parent  b6f5af372c0c047340e3c6bdd27b87207b9cec92
debuglabelcomplete: fix to call debugnamecomplete in new location

debugnamecomplete was moved in a9aa67ba from commands to debugcommands, but
debuglabelcomplete was not modified to call it in its new location.

diff -r b6f5af372c0c -r 8148b77193f2 mercurial/debugcommands.py
--- a/mercurial/debugcommands.pySun Mar 12 15:27:02 2017 -0400
+++ b/mercurial/debugcommands.pyTue Mar 14 13:10:30 2017 -0700
@@ -1127,7 +1127,7 @@
 @command('debuglabelcomplete', [], _('LABEL...'))
 def debuglabelcomplete(ui, repo, *args):
 '''backwards compatibility with old bash completion scripts (DEPRECATED)'''
-commands.debugnamecomplete(ui, repo, *args)
+debugnamecomplete(ui, repo, *args)
 
 @command('debuglocks',
  [('L', 'force-lock', None, _('free the store lock (DANGEROUS)')),
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel