[Top][All Lists]

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

Re: Vendor branches and head revisions

From: Greg A. Woods
Subject: Re: Vendor branches and head revisions
Date: Fri, 17 May 2002 13:56:20 -0400 (EDT)

[ On Friday, May 17, 2002 at 13:14:38 (-0400), Eric Siegerman wrote: ]
> Subject: Re: Vendor branches and head revisions
> Or delete them all in advance:
>   - Check out the fresh sandbox mentioned above, from the
>     pseudo-vendor branch
>   - Delete everything that isn't a CVS admin file.  Something
>     like this (but test thoroughly of course):
>       find <sandbox> ! -type d -print | grep -v '/CVS/[^/]*$' | xargs rm
>   - Unpack the new distribution into your now-empty sandbox.  At
>     this point, you have a sandbox containing precisely the new
>     vendor distribution, but with all of its CVS state
>     corresponding to the previous distribution.

Ah, yes of course!  That's a much simpler technique!  And it's probably
more reliable too....

>   - Type "cvs -nq update".  Be *sure* to use "-n", or you'll
>     clobber half the info you're trying to capture.

If you're using PCL-CVS that information will be retained for the life
of the "*cvs*" buffer even if you don't use '-n', which is hopefully
long enough to navigate through it marking all the "lost" files and then
removing them with the four keystrokes "C-u 1 T r"....

>   - "cvs add" any files that show up as "?"
>   - "cvs rm" any files that are complained about as being "lost"

                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]