It would be pretty cool if I could view a Darcs patch file in the same
way I can view a recorded change. That is, as if I had applied it, but
without actually having to apply it. Perhaps in the form of an extra
switch --apply PATCHFILE (which could be given more than once) for
commands like changes and diff.
Sounds like a good idea. I will try to implement it (no guarantees on
when I will finish). I was considering an approach that writes the
output to the stdout with a flag that allows the change to be written to
a provided path or to show it in $EDITOR (not sure if this workin on
Windows though). For now I will restrict the scope to single files
although I will have in mind that in the future, allowing that for full
directoires might be nice.
What would the feature offer over reading the patch file by hand (which
is admittedly rather a hack)? Is it things like context/ability to use
an external diff tool?
Yes, using a graphical diff viewer like kompare is the main feature
here. These viewers tend to choke on the raw darcs patch due to the
extra darcs specific context header.