info-cvs
[Top][All Lists]
Advanced

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

Re: Adding files to multiple branches?


From: Larry Jones
Subject: Re: Adding files to multiple branches?
Date: Wed, 27 Jun 2001 13:14:35 -0400 (EDT)

address@hidden writes [in extremely long lines]:
> 
>
> I made two branches of the project called "final" and "beta". So when
> someone is making changes in their "beta"-working directory, it won't
> affect the final version. But it often occurs, that we have to add a new
> file to the final-version (via "cvs add") and we definitely want to have
> the same file in the beta branch.

Add the file to whichever branch is convenient, then tag it with the
other branch tag:

        (in a "final" working directory)
        cvs add newfile
        cvs ci -m'new file' newfile
        cvs tag -b beta newfile

-Larry Jones

Is it too much to ask for an occasional token gesture of appreciation?!
-- Calvin



reply via email to

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