debugcommands: bring over functionality from debugshell extension
Compare changes
There are currently 2 versions of the hg debugshell
command:
debugcommands.py
contrib/debugshell.py
Notably, the latter includes support for using an IPython shell, which is (at least IMHO) much nicer to use than the standard CPython shell.
This MR brings over the functionality from contrib/debugshell.py
into the core debugshell
command and deletes the now-redundant extension. It also imports a few extra utility modules by default, inspired by Sapling's debugshell command.