[Top][All Lists]

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

RE: Adding an existing file to a branch

From: Thornley, David
Subject: RE: Adding an existing file to a branch
Date: Thu, 28 Feb 2002 10:27:42 -0600

> -----Original Message-----
> From: Jake Colman [mailto:address@hidden
> Sent: Thursday, February 28, 2002 6:33 AM
> To: address@hidden
> Subject: Adding an existing file to a branch
> I have somes files that already exist in the trunk and in a 
> few branches.
> I now need to bring those files into an already existing 
> branch.  How do I do
> this?  Do I simply copy those files from elsewhere into that 
> branch's sandbox
> and then add the branch tag to those files?
A file is on a branch if it has the branch tag, and that branch
tag doesn't point to a dead version.  All you really need to do
is "cvs tag -b <branchname> <filename>" from anywhere cvs can find
the filename.  Don't forget to add merge tags or branch point
tags or any other such tags that are standard at your shop.

Note that simply copying the file won't necessarily tell CVS
what file it is, and that checking it out from where it exists
and adding the branch tag will not update the sticky tag.
If you do this in the branch's sandbox, update it to the branch
tag afterwards.

reply via email to

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