info-cvs
[Top][All Lists]
Advanced

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

Re: *BSD use of branch point tags w/ CVS


From: Mark
Subject: Re: *BSD use of branch point tags w/ CVS
Date: Thu, 28 Feb 2002 05:07:24 -0800 (PST)

If you create a branch point tag on a baseline of files you want to branch,
then lock that branch point tag so no one can use it again, you have preserved
the branch point baseline. You can always use that tag to compare things to the
initial image of the basline that started the branch.

Now you create a branch tag of that branch point tag. You lock that branch tag
so no one can move it to a different version of a file you tagged. At this
point both tags are on the same versions, same baseline. Now if someone adds a
file to that branch, the new file will be given that branch tag automatically.
Now the baseline for both tags differ. Also, if someone merges an existing file
to the branch that was not branched initially, that file also will be given the
branch tag as well.

So, if you create a branch tag without basing it off a branch point tag, it is
difficult to reconstuct the inital baseline that the branch was based of off.

Mark

--- Eric Siegerman <address@hidden> wrote:
> On Wed, Feb 27, 2002 at 03:59:17PM -0800, Claude Johnson wrote:
> > The FreeBSD release docs claim
> > that it is impossible to diff against the start of a branch
> > w/o a branch point tag in place.
> > 
> > The process appears to look something like this:
> > 
> >     1. Create branch point tag
> > 
> >             cvs rtag <tag>_BP src
> > 
> >     2. Create the actual branch
> > 
> >             cvs rtag -b -r<tag>_BP <tag> src
> > 
> > What _exactly_ is the problem?
> 
> It was explained on this list once, many years ago, but the
> details now escape me.  It seems it's not always possible for CVS
> to determine the correct branch point from just the branch tag.
> I don't get that myself.  I'd have thought it was simple -- just
> lop the ".0.x" off of the branch tag's "magic" revision number --
> but apparently there are cases where that approach doesn't do it.
> I've long since forgotten the specific circumstances though;
> sorry.
> 
> > Is this an old CVS quirk that has been fixed, or does this
> > problem still exist?
> 
> I've wondered that myself.  But I always create branch point
> tags, just in case.  Folk wisdom or voodoo; you be the judge :-)
> 
> --
> 
> |  | /\
> |-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
> |  |  /
> One ring to rule the mall.
>       - Movie review headline, eye Magazine
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com



reply via email to

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