[Project_owners] cvsweb diff of uploaded files?
ajvincent at gmail.com
Sat May 20 16:55:27 EDT 2006
No. Patch Maker is something that lives outside Mozilla, and thus
isn't easily accessible.
The server (getDiff.php) might receive a file in multipart/form-data format:
Then getDiff.php does:
rm -rvf verbosio
cvs co verbosio
cp ($file) $filename
cvs diff -pu8N $filename
and return the results of the cvs diff as the response to the XMLHttpRequest.
I'd think cvsweb could support this with only a minor hack. You'd
want to do safety valves (such as a max upload size) while you were at
it, of course.
"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
More information about the Project_owners