From: Andy T. <an...@ha...> - 2001-11-29 00:59:35
|
Jeff, Jeff Turner wrote: > does anyone here have any experience creating a cvs patch (on > linux, if that matters) that includes a brand new file? I'm not a CVS expert but I'll tip in my $0.02. From my research you can only 'patch' existing files. > > i would like to submit the patch for review, but can't seem to get > the new file included. i always just get a "? WidgetLoader.py" from > cvs diff. CVS will give you a '?' when it knows nothing about a file. It will not look at a file unless you tell it what to do (by, for instance, adding it to the repository). > (the rest of the patch looks good, though) it seems like cvs may be > expecting the file to be added before i can make the diff, which is > impossible (since my checkout was anonymous) Since you are an anonymous user probably the best bet is to provide a 'cvs diff' of the files you have changed and then also include any new files in the package you supply. > > any clues would be appreciated. > > thanks, jeff > According to Cederqvist (http://www.cvshome.org/docs/manual/cvs_16.html#SEC129) there is a -N option to 'diff' but it doesn't appear to do much when I try it. Perhaps a patch guru on the list can cast a brighter light on your problem. Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Another year older, still no wiser." - Me, on my birthday |