[Bug web/67119] URL linking to previous patches are not available

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 4 23:38:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67119

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Tue, 4 Aug 2015, songlinhai0543 at gmail dot com wrote:

> I am tracking some old bugs. I notice that many bug patches are not available
> from the URL in the bug report. 
> 
> For example:
> 
> https://gcc.gnu.org/viewvc/gcc?cvsroot=gcc&r1=1.65&r2=1.66
> 
> How should I revise the above URL and find related patches?

What bug report did you see that in?  That's not a valid URL; it's missing 
the name of the file being patched.  Maybe some redirection changed the 
original URL into that one with missing information?

If you have a URL with *all the required information* - the path to the 
file changed as well as the CVS revision numbers - the old (pre-2005) CVS 
repository is still there so you can do e.g.:

cvs -z9 -d :pserver:anoncvs@gcc.gnu.org:/cvs/gcc rdiff -u -r1.65 -r1.66 <file>

to view the diffs.  If the original URL in the bug report was incomplete - 
would never have worked - you'll need to identify the change in other 
ways, e.g. using svn log and looking for the relevant commit message to 
find the change in the svn repository.

<file> in that command will start with gcc/ and quite often with gcc/gcc/ 
- it's the part immediately after "http://gcc.gnu.org/cgi-bin/cvsweb.cgi/" 
in the original link.



More information about the Gcc-bugs mailing list