gnu.cvs.help
[Top] [All Lists]

Re: Branching on a locked branch

Subject: Re: Branching on a locked branch
From: Matthew Rich
Date: Mon, 9 Jan 2006 12:01:09 -0800 PST
Newsgroups: gnu.cvs.help
So if I understand you correctly, if I lock the head
of the branch those files cannot be changed and
checked back in.  However any revision tag prior to
the head branched (branch of a branch) and changes
checked in.  Right?  

Thanks for you help

--- Jim Hyslop <jhyslop@xxxxxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Matthew Rich wrote:
> > I realize that locking a branch is not the best
> > practice but nonhteless I was asked this question:
> > 
> > 
> > Can you create a branch on  a locked branch?
> > i.e. code was checked out of locked branch using a
> tag
> > for code earlier that the head of the branch.  Can
> a
> > branch be created on the locked branch?  If this
> is
> > not clear, let me know.
> 
> A couple of minutes' worth of experimentation shows
> that branches cannot
> be locked, only individual revisions can be locked.
> Since creating a
> branch does not affect an individual revision, you
> can freely create any
> branches you want.
> 
> Mind you, I don't use locks at all, so it's possible
> I may have
> overlooked something.
> 
> - --
> Jim Hyslop
> Dreampossible: Better software. Simply.    
> http://www.dreampossible.ca
>                  Consulting * Mentoring * Training
> in
>     C/C++ * OOD * SW Development & Practices *
> Version Management
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
> 
>
iD8DBQFDwquWLdDyDwyJw+MRAkCfAJ9RBW4ayk9QA2c8OBBluoR9OCmHmwCfbiq/
> 1ZTZkDVIYts8QX/KnDwSyx8=
> =aY8/
> -----END PGP SIGNATURE-----
> 
> 




<Prev in Thread] Current Thread [Next in Thread>