[Top][All Lists]

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

Re: Revert imported & modified files to "pristine" status

From: Eric Siegerman
Subject: Re: Revert imported & modified files to "pristine" status
Date: Thu, 6 Jun 2002 12:32:04 -0400
User-agent: Mutt/1.2.5i

On Thu, Jun 06, 2002 at 01:21:47AM +0100, Kenn Humborg wrote:
> I've got an imported vendor branch, that I regularly update
> with new vendor releases.  Most files in the vendor's sources
> are unmodified by me, so an import followed by an update 
> conveniently pulls me up to the latest vendor versions.
> Of course, for any files that I've modified (and thus exist
> on the trunk), I do an update -j VENDOR_V1 -j VENDOR_V2 followed
> by a commit to pull in changes.

If I'm reading this correctly, you're doing individual
        cvs update foo
        cvs update -jx -jy bar; cvs commit
commands for all the files, choosing the variant depending on
whether you've made local changes.  If so, yikes!  Why not let
CVS make that decision?  Just do the latter once for the whole

Now, on to your actual question...

> Is there any way to tell CVS that these files should track the
> vendor versions exactly, with no local changes?

cvs admin -b VENDOR foo

where "VENDOR" is the name of your vendor branch.


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben

reply via email to

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