contrib/debugshell.py
changeset 19794 cccc44304b2c
parent 19773 51799a965446
child 21243 8b5c039f2b4f
equal deleted inserted replaced
19793:6fb1b7728719 19794:cccc44304b2c
    18 def ipdb(ui, repo, msg, **opts):
    18 def ipdb(ui, repo, msg, **opts):
    19     import IPython
    19     import IPython
    20 
    20 
    21     cl = repo.changelog
    21     cl = repo.changelog
    22     mf = repo.manifest
    22     mf = repo.manifest
       
    23     cl, mf # use variables to appease pyflakes
    23 
    24 
    24     IPython.embed()
    25     IPython.embed()
    25 
    26 
    26 def debugshell(ui, repo, **opts):
    27 def debugshell(ui, repo, **opts):
    27     bannermsg = "loaded repo : %s\n" \
    28     bannermsg = "loaded repo : %s\n" \