[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: creating sub branch
From: |
Kesavan T.S |
Subject: |
RE: creating sub branch |
Date: |
Tue, 24 Oct 2006 21:15:29 -0400 |
Hi ,
I have related question. I have created 3 branches . When I add a file on
branch1 it creates a dead revision on HEAD and when I merge to each branch
it creates a structure like this
The command I used was
cvs co -j branch1 -r branch2 File1
cvs commit..
cvs co -j branch2 -r branch3 File1
cvs commit..
File1
-> 1.0 Dead
-> branch1
| 1.1.2.1
-> branch2
| 1.1.4.1
-> branch3
| 1.1.6.1
I was wondering if I could use the following approach
cvs rtag -b -r branch1 branch2 File1
cvs co -r branch2 File1
cvs ci -f..
cvs rtag -b -r branch2 branch3 File1
cvs co -r branch2 File1
cvs ci -f..
This would result in
File1
-> 1.0 Dead
-> branch1
| 1.1.2.1 -> branch2
| 1.1.2.1.2 -> branch3
|
1.1.2.1.2.1.2
Basically team uses wincvs and new to cvs with second approach the branch
hierarchy looks obvious.
I would really appreciate your input if this approach confirms to cvs and
has no pitfalls.
I would also appreciate whats the best way to detect if a given File exists
in a branch.
Thanks and Regards,
kesavan
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us