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 inittouch unknowntouch ahg add ahg ci -m "1" -d "0 0"touch bhg add bhg ci -m "2" -d "0 0"echo %% Should show unknownhg statushg revert -r 0echo %% Should show unknown and b removedhg statusecho %% Should show a and unknownls