Differences between revisions 3 and 4
Revision 3 as of 2010-07-18 23:15:15
Size: 558
Comment:
Revision 4 as of 2010-07-20 22:01:17
Size: 582
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= debugshell = = debugshell extension =
Line 6: Line 6:

Included in contrib/debugshell.py
Line 24: Line 26:
[[UsingExtensions]]

debugshell extension

Drop user into an interactive python shell along with the mercurial module, a repo object and its changelog and manifest.

Included in contrib/debugshell.py

$ hg debugshell
loaded repo : /path/to/repo
using source: /path/to/mercurial/source
>>> repo
<mercurial.localrepo.localrepository object at 0x0>
>>> cl
<mercurial.changelog.changelog object at 0x0>
>>> mnfst
<mercurial.manifest.manifest object at 0x0>
>>> mercurial
<proxied module 'mercurial'>
>>> 

Download debugshell.py


CategoryExtension

debugshellExtension (last edited 2017-03-26 20:35:15 by PulkitGoyal)