Locking a CVS branch

Jyothi <[email protected]> Sat, 20 Oct 2007 18:10:30 -0700
Newsgroups gmane.comp.freedesktop.release-wranglers
Message-ID <[email protected]>
--===============0108234113==
Content-Type: multipart/alternative; 
	boundary="----=_Part_13700_11394195.1192929030791"

------=_Part_13700_11394195.1192929030791
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I had a question on locking a CVS branch and since you guys are subject
matters experts :), I thought I should consult you for the same.

This is the situation: I have some code in the main trunk. I forked a new
branch (lets call it STB_BR) from the main trunk. Currently, the code on the
branch is exactly same as the main branch as there has been no development
after branching (given a file, the revision is same on both the branches). I
would like to lock the files in the STB_BR branch and allow developers to
change files in the main trunk.  When I try to lock the STB_BR branch, it
lock the latest version of all the files in the branch. But the problem is,
since it is locking a version of the file (and not a file in a branch) and
this version of the file is the latest version on the main trunk too, it has
essentially locked the file on the main trunk too. Is there a way to avoid
this scenario. Though the same version of a file is present on two branches,
i would like to lock the file in one branch and not on the other.

The command I used to lock the branch is "cvs admin -lSTB_BR"
-- 
cvs_usr

------=_Part_13700_11394195.1192929030791
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br clear="all"><span style="font-family: trebuchet ms;">I had a question on locking a
CVS branch and since you guys are subject matters experts :), I thought
I should consult you for the same.<br><br>This is the situation: I have some code in the main trunk. I forked a new branch (lets call it STB_BR) from the main trunk. 
</span><span style="font-family: trebuchet ms;">Currently, the code on
the branch is exactly same as the main branch as there has been no
development after branching (given a file, the revision is same on both
the branches).
</span><span style="font-family: trebuchet ms;"> I would like to lock
the files in the STB_BR branch and allow developers to change files in
the main trunk.&nbsp; When I try to lock the STB_BR branch, it lock the
latest version of all the files in the branch. But the problem is,
since it is locking a version of the file (and not a file in a branch)
and this version of the file is the latest version on the main trunk
too, it has essentially locked the file on the main trunk too. Is there
a way to avoid this scenario. Though the same version of a file is
present on two branches, i would like to lock the file in one branch
and not on the other.
<br><br>The command I used to lock the branch is &quot;cvs admin -lSTB_BR&quot;</span><br>-- <br>cvs_usr
<br>

------=_Part_13700_11394195.1192929030791--

--===============0108234113==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
release-wranglers mailing list
release-wranglers-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/release-wranglers

--===============0108234113==--