Estimated hours taken: 1
Improve cvspatch.
tools/cvspatch:
Allow cvspatch to accept input without relying on
cvs diff: Diffing <directory name>
This is output on stderr when you run cvs diff.
Sometimes you don't capture stderr it when redirecting to a
file. Also the diff format is a little different when using cvs
client/server anyway.
Instead look for
Index: <directory name>/<filename>
and grab the directory name from there.
Both methods work at once, whichever method one gets the first match
will be used to process the rest of the file.