contrib/debugshell.py
changeset 41759 aaad36b88298
parent 32337 46ba2cdda476
child 41814 b10bbbe995eb
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
    32 
    32 
    33     IPython.embed()
    33     IPython.embed()
    34 
    34 
    35 @command('debugshell|dbsh', [])
    35 @command('debugshell|dbsh', [])
    36 def debugshell(ui, repo, **opts):
    36 def debugshell(ui, repo, **opts):
    37     bannermsg = "loaded repo : %s\n" \
    37     bannermsg = ("loaded repo : %s\n"
    38                 "using source: %s" % (repo.root,
    38                  "using source: %s" % (repo.root,
    39                                       mercurial.__path__[0])
    39                                        mercurial.__path__[0]))
    40 
    40 
    41     pdbmap = {
    41     pdbmap = {
    42         'pdb'  : 'code',
    42         'pdb'  : 'code',
    43         'ipdb' : 'IPython'
    43         'ipdb' : 'IPython'
    44     }
    44     }