Submitter | phabricator |
---|---|
Date | Jan. 25, 2021, 11:20 p.m. |
Message ID | <differential-rev-PHID-DREV-r4u3kh4d3aa2jjou5t3y-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48177/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -3717,6 +3717,15 @@ ui.writenoi18n(b' revision %s\n' % v[1]) +@command(b'debugshell') +def debugshell(ui, repo): + import code + imported_objects = { + 'ui': ui, + 'repo': repo, + } + code.interact(local=imported_objects) + @command( b'debugsuccessorssets', [(b'', b'closest', False, _(b'return closest successors sets only'))],