[M3devel] Another CVS question, getting a specific version of a specific file

Henning Thielemann lemming at henning-thielemann.de
Fri Sep 12 20:36:22 CEST 2008


On Fri, 12 Sep 2008, Rodney M. Bates wrote:

> Yet again, I need some CVS help.  I want to get complete copies
> of m3-sys/m3cc/gcc/gcc/function.c, versions 1.7 and 1.6, just to
> look at for inspiration.  I can't find anything in my CVS book
> that looks like it will do this.  checkout works on projects,
> not files, update will merge with what's in my working directory,
> which I really don't want, and I expect diff will overwhelm me,
> since 1.6, 1.7, and 1.8 of this file are taken from gcc
> 3.4.5, 4.1.1, and 4.3.0, respectively.  Is there any direct way?

Use 'cvs update' and -P option (and -r of course). This sends the file to 
standard output and is "not sticky".



More information about the M3devel mailing list