Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to cvs diff new files?



On Apr 19, 10:55am, Borsenkow Andrej wrote:
} Subject: How to cvs diff new files?
}
} How to diff new files without first committing them? All that I get is
} 
} bor@itsrm2% cvs add _chkconfig
} cvs server: nothing known about _chkconfig

If you really got that message from "cvs add", you are running it in the
wrong directory.  My guess from this:

} and later cvs up/diff just show
} 
} bor@itsrm2% cvs up
} ? Completion/Redhat/Command/_chkconfig

... is that you should run

	cvs add Completion/Redhat/Command/_chkconfig

Then, if you have a new enough version of CVS, you should be able to do

	cvs diff -N -u

to generate a patch that includes the entire new file.  (Older versions
of cvs choke on the -N there.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author