Skip to content

debugcommands: bring over functionality from debugshell extension

There are currently 2 versions of the hg debugshell command:

  • A fairly minimalist version in debugcommands.py
  • A more elaborate version in the extension contrib/debugshell.py

Notably, the latter includes support for using an IPython REPL, which is (at least IMHO) much nicer to use than the standard CPython REPl.

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.

Edited by Arun Kulshreshtha

Merge request reports

Loading