[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update files based on a tag without removing others?
From: |
Ted Stern |
Subject: |
Re: Update files based on a tag without removing others? |
Date: |
Fri, 26 Oct 2007 15:21:06 -0700 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
On 26 Oct 2007 15:08:15 -0700, Peter Loron wrote:
>
> We have a situation where we have a large tree of files checked out. Each
> day, a small
> subset of those files are tagged. I was hoping I could revert a tagged set of
> files
> easily with one update or checkout command like this:
>
> cvs update -r prop_20071022 <moduleroot>
>
> ...what winds up happening is that the files with the given tag are present,
> but
> everything else is deleted. What I'd like to be able to do is that operation,
> but keep
> all the other files unmodified. I know can can go through the list of files
> with a
> given tag, and issue an update command for each file, specifying the tag, but
> that's a
> hassle.
>
> Any insights other than "tag the whole tree not just a few files"?
>
> Thanks!
>
> -Pete
>
It appears that you have created the subset of files using a cvs
module. Note that if you are cherry-picking your files and
directories, that module will work reliably *only* on checkout, not
update.
cvs -d /path/to/cvsrepos -f \
checkout -r TAGNAME \
-d modulename.TAGNAME modulename
Ted
--
dodecatheon at gmail dot com
Frango ut patefaciam -- I break so that I may reveal