[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Xaaes:update:info.c



On Thu, 2009-09-03 at 22:26 +0200, Helmut Karlowski wrote:
> Am 01.09.2009, 23:41 Uhr, schrieb Alan Hourihane <alanh@fairlite.co.uk>:
> >> always the new files are just listed but not diffed.
> >>
> >> ? info.c
> >> ? info.h
> >
> > You have to "cvs add" these files first of all.
> 
> 
> #cvs add info.c
> cvs [server aborted]: "add" requires write access to the repository

Ugh. Yeah, that's a problem. 

So, yes, for new files, don't use CVS and generate the diff like
this....

diff -u /dev/null <path-to-new-file>

This way, you'll get the correct diff.

Alan.