[PATCH 1 of 4] debugshell: add 'db' to cmdtable aliases

Kevin Bullock kbullock+mercurial at ringworld.org
Sat Sep 21 17:50:14 CDT 2013


On 20 Sep 2013, at 3:28 PM, Sean Farley wrote:

> # HG changeset patch
> # User Sean Farley <sean.michael.farley at gmail.com>
> # Date 1373819917 18000
> #      Sun Jul 14 11:38:37 2013 -0500
> # Node ID a005dc16a698e26612f87771548aa65843c40160
> # Parent  ea35caf324bb04cbc9ab5e2328367bc50f558cfb
> debugshell: add 'db' to cmdtable aliases
> 
> diff --git a/contrib/debugshell.py b/contrib/debugshell.py
> --- a/contrib/debugshell.py
> +++ b/contrib/debugshell.py
> @@ -15,7 +15,7 @@
>                 "using source: %s" % (repo.root,
>                                       mercurial.__path__[0])
>     code.interact(bannermsg, local=objects)
> 
> cmdtable = {
> -    "debugshell|dbsh": (debugshell, [])
> +    "debugshell|dbsh|db": (debugshell, [])

I think 'dbsh' is about as short as we can go without confusion. We have aliases if you want to go shorter.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list