[Top][All Lists]

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

Re: What is the best way to checkout by tag

From: Ziggy
Subject: Re: What is the best way to checkout by tag
Date: Sat, 21 Nov 2009 16:52:21 +0000

Oh and i forgot to mention that when i ran the second command, i get the
following msg/warning for everyfile that was not checked out (i.e. removed
from the current folder)

cvs checkout: `/u/myapp/sql/submitPage.sql' is no longer in the repository


On Sat, Nov 21, 2009 at 4:49 PM, Ziggy <address@hidden> wrote:

> Here is an example. Lets say the last release was LIVE-REL-2-3
> All the necessary modules that make up LIVE-REL-2-3 have been tagged with
> the LIVE-REL-2-3
> Now i am working on LIVE-REL-2-4 and make changes to 3 files. I check in
> these 3 files and tag them with the label "BUG23"
> There might be developers who have checked in source files and tagged them
> with "BUG22", "BUG44" etc which i do not want to include into LIVE-REL-2-4.
> LIVE-REL-2-4 should only include "BUG23" which i have just checked in. To
> achieve this, i checkout LIVE-REL-2-3 and any files with the "BUG23" label
> and build my application.
> This checks out the LIVE-REL-2-3 release
> cvs co -r LIVE-REL-2-3 mymodule
> This checks out the files that had the "BUG23" label.
> cvs co -r "BUG23" mymodule
> The above works fine but the problem is i have to run the commands in
> separate directories. if i run them in the same directory cvs removes files
> in the current working directory. For example
> - cd into root folder of working directory
> - cvs co -r LIVE-REL-2-3 mymodule
>              This checks out all files that make up LIVE-REL-2-3)
> - cvs co -r "BUG23" mymodule
>               This removes everything in the current working folder
> including the files i checked out on the previous command and only includes
> the BUG23 files.
> The only way i can fix this is to do the checkout in separate folders and
> then put them back into one folder. This is annoying when i am working on
> several bugs. isnt there a way to check out using multiple tags?
> Thnks

reply via email to

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