Run commit message editor in the repo root (like hooks).
This makes the hgeditor script work with hg commit -R path/to/repo
#!/bin/shhg initecho "Is there an error message when trying to diff non-existing files?"hg diff not foundecho "Is there an error message when trying to add non-existing files?"hg add not found