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

Kevin Bullock kbullock+mercurial at ringworld.org
Sat Sep 21 23:17:13 UTC 2013


On 21 Sep 2013, at 5:55 PM, Sean Farley wrote:

> kbullock+mercurial at ringworld.org writes:
> 
>> 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.
> 
> Fair enough. I think the rest of the series should apply even if this
> one is dropped (though I haven't tested).

I will check and see if that's the case later this evening. Don't worry about resending unless instructed. :)

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




More information about the Mercurial-devel mailing list