|
From: Bruce S. <bw...@ar...> - 2003-12-09 18:45:26
|
> > > Never used cvs diff.... > > > > You should check it out, it's a VERY useful command. > > > > You can just "cvs diff file" and it will 'diff' the file on your hard > > disk against the latest CVS version of the file to see what you've > > changed. > > > > You can also diff your local file against a different CVS version with > > the "-r" parameter. "cvs diff -r 1.21 file" > > > > You can even diff two different CVS versions by specifying "-r" twice. > > "cvs diff -r 1.12 -r 1.13 file" > > Any way of using it to diff for new files? I don't think so. > I think I tried all options and all > it told me was which files had been added, but not what had been added in the > files (ie, the whole file). Doing it on an already existing file and it > works great. I'm trying to create a patchfile for a new package. I think you'll have to use the regular diff command with the -N option. BTW, you really don't have to create a patch for _new_ files as far as us developers are concerned. You can just send us the file. - BS |