Add command line options -R, -r to "thg log"
Created originally on Bitbucket by fernandonajera (Fernando Nájera)
I'd very much love to be able to open THg in the log view, showing one specific revision from some repository.
Scenario:
- My software versioning scheme somehow "encodes" the revision number into a version-friendly number (details are not relevant).
- My user reports an error, and he tells me the app version number.
- I open a small tool, enter the version number, and this tool "decodes" the revision number.
- (missing): THg shows up with that revision already selected, so I can see it and decide if I want to update to it, etc.
Right now "thg log" doesn't take any options:
- I must execute it from within the working copy. Otherwise, it won't open any, and there's no -R option available. Workaround is to cd into that directory before invoking thg.
- There is no way to specify the revision I want to select.