info-cvs
[Top][All Lists]
Advanced

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

Adding files to multiple branches?


From: hicking
Subject: Adding files to multiple branches?
Date: 27 Jun 2001 12:38:34 UT

Hello!

I've got a larger project, where the final version and a beta version is 
constantly updated.

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. It is not possible to use (multiple) branch names in the "cvs 
add"-command, so the only way I got until now is:

1. Change to the "beta"-working dir
2. Copy the new file in this folder
3. Use "cvs add <newfile>"
4. Use "cvs commit <newfile>"
5. Copy the file to the "final"-working dir
6. Change to the "final"-working dir
7. Use "cvs add <newfile>"
8. Use "cvs commit <newfile>"

Instead I would like to use something like:
1. Change to the "beta"-working dir
2. Copy the new file in this folder
3. Use "cvs add <newfile>"
4. Use "cvs commit -r final -r beta <newfile>"

Am I missing something, or isn't this possible?

Thanks for any suggestions! :-)




reply via email to

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