Given a patch hash, this command should output details of the patch,
formatted according to a format string or similar.
My original need for this was as a post-processor of annotate
--machine-readable, which gives output in the form:
source_patch_hash line
...
with which, I wanted to do something like:
$ darcs annotate --machine foo.hs | while read hash; do darcs show patch
-f '%e' $hash; done | sort | uniq -c
to extract an ordered list of authors, on a given file.
|