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

Re: [MiNT] How to make a patch with new/deleted files?



On Sat, 2010-08-14 at 14:53 +0200, Miro Kropacek wrote:
> Hi,
> 
> I'm trying simple thing, something like 'svn add xxx'; svn diff -N --
> i.e. including some new/deleted stuff into a patch. But CVS insists I
> have to own write access to repository when doing 'cvs add' ... is
> there some other way for this I'm missing? I'm especially confused
> because Internet says it should work, i.e. one can freely cvs add /
> remove files and only for commit write access is needed...

There's probably some funky way but for updates to existing files use
"cvs diff" as usual, but for new files, just use "diff
--new-file /dev/null <newfilename>" and concatenate the files.

Alan.