Pavel Roskin wrote:

>But strictly speaking you cannot check into many branches
>"simultaneously". You need at least two checkin commands to do it.
>

Actually, you can check into multiple branches at the same time.  Just 
not the same file at the same time.  For example, given the following 
module:

module/
  file1.c
  file2.c
  file3.c
  
  
If you check out the module and then perform the following.

1. Modify file1.c
2. cvs update -r tag1 file1.c
3. Modify file2.c
4. cvs update -r tag2 file2.c
5. cvs ci (from inside module)

file1.c will be committed against tag1 and file2.c will be committed 
against tag2.  I have done this by accident several times but have 
always caught it because the editting window will list which files are 
being committed against which tags.  This usually happens to me when I 
make a quick fix to a sub-module certain branch and don't change the 
branch back.  My original question was whether there would ever be a 
reason to do this on purpose rather than by accident.

-- 
Stephen Rasku                   E-mail: [EMAIL PROTECTED]
Senior Software Engineer        Phone:  (604) 872-6676
TGI Technologies                Web:    http://www.tgivan.com/

Reply via email to