This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Testing bugzilla patch viewer for gcc patches


Though it doesn't yet handle context format patches yet, please give the patch viewer a try for bugzilla attachments.

I've installed it on the dberlin.org bugzilla installation, and will install it to the gcc bugzilla installation if nobody has any problems with it and people think it would be useful.

If you want to see an example of what it does, go to http://www.dberlin.org/bugzilla/show_bug.cgi?id=9639

choose the "diff" link near the attachment labeled "unified format patch".

Note that it auto-corrects the file paths in the patch to be based off the CVS root (if you just click on the attachment name itself, rather than the diff link, you'll see the patch is actually originally assuming it's being applied in gcc/gcc).

I also don't happen to have another version of this patch around (the others on the bug are context diffs, which don't work right yet), so the cool interdiff between patch attachments can't be seen.

However, you can change the amount of context on the patch, etc.

As I said, let me know if people think this is useful to have, and i'll add the code to gcc.gnu.org's bugzilla installation.

--Dan



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]