1. Summarise the issue (what were doing, what went wrong?)
The new --hash HASHKEY option doesn't work in all cases. Here is a
simple one: In a recent the darcs repo:
ben@sarun[1]: .../darcs/screened > darcs log -p 'revert send default'
patch 52ca1f61c0ee059b77f3b0613d9ca607a2681e2e
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Wed Nov 5 20:45:24 CET 2014
* revert send default to --edit-description
Ok, copy and paste the hash and use -h:
ben@sarun[1]: .../darcs/screened > darcs log -h
52ca1f61c0ee059b77f3b0613d9ca607a2681e2e
patch f2ef0e0d387dfcd187ea46ab1f4b3e729433e281
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Sun Nov 9 23:27:31 CET 2014
* added some empty lines and fixed a comment typo in Darcs.UI.RemoteApply
patch 6a17beecb4a66406758e65b15f31927fb7ed4c12
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Sun Nov 9 23:23:22 CET 2014
* removed tests for flag membership in Darcs.UI.CommandsAux
.... and so on, until the pager has filled the screen.
2. What behaviour were you expecting instead?
That it shows me the one patch that matches the hash, i.e. the same as
darcs log -p 'revert send default'.
3. What darcs version are you using? (Try: darcs --exact-version)
2.9.9 (+ 165 patches)
4. What operating system are you running?
Linux
|