Show More
@@ -14,6 +14,14 b' def pdb(ui, repo, msg, **opts):' | |||||
14 |
|
14 | |||
15 | code.interact(msg, local=objects) |
|
15 | code.interact(msg, local=objects) | |
16 |
|
16 | |||
|
17 | def ipdb(ui, repo, msg, **opts): | |||
|
18 | import IPython | |||
|
19 | ||||
|
20 | cl = repo.changelog | |||
|
21 | mf = repo.manifest | |||
|
22 | ||||
|
23 | IPython.embed() | |||
|
24 | ||||
17 | def debugshell(ui, repo, **opts): |
|
25 | def debugshell(ui, repo, **opts): | |
18 | bannermsg = "loaded repo : %s\n" \ |
|
26 | bannermsg = "loaded repo : %s\n" \ | |
19 | "using source: %s" % (repo.root, |
|
27 | "using source: %s" % (repo.root, |
General Comments 0
You need to be logged in to leave comments.
Login now