equal
deleted
inserted
replaced
12 'mf': repo.manifest, |
12 'mf': repo.manifest, |
13 } |
13 } |
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, |
20 mercurial.__path__[0]) |
28 mercurial.__path__[0]) |
21 |
29 |