Differences between revisions 2 and 3
Revision 2 as of 2010-07-18 23:09:54
Size: 494
Comment:
Revision 3 as of 2010-07-18 23:15:15
Size: 558
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
Download [[attachment:debugshell.py]]

[[UsingExtensions]]

debugshell

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

$ 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

UsingExtensions


CategoryExtension

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