##// END OF EJS Templates
debugshell: allow commands to be specified as a CLI argument...
debugshell: allow commands to be specified as a CLI argument Add a `--command` option to `hg debugshell` that allows the user to pass in Python code to evaluate directly from the command line. This was inspired by the `--command` option present in Facebook's Sapling fork of Mercurial, which in turn was inspired by the `-c` option of the Python interpreter itself. It is particularly useful for writing tests, especially for getting visibility into things that otherwise aren't exposed via debug commands.
Arun Kulshreshtha -
r50839:8f76a41e default
Show More
Name Size Modified Last Commit Author
/ rust / rhg / src / commands
cat.rs Loading ...
config.rs Loading ...
debugdata.rs Loading ...
debugignorerhg.rs Loading ...
debugrequirements.rs Loading ...
debugrhgsparse.rs Loading ...
files.rs Loading ...
root.rs Loading ...
status.rs Loading ...