info-cvs
[Top][All Lists]
Advanced

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

Re: Import question


From: Mark D. Baushke
Subject: Re: Import question
Date: Thu, 22 Jul 2004 09:37:42 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lemke, Michael  IZ/HZA-IOP <address@hidden> writes:

> However, this whole thing makes me realize I
> don't really understand vendor branches. What's
> different from ordinary ones? 

The vendor branch more closely models the RCS
branching model. The initial import creates
version 1.1 of a file and then 1.1.1.1 immediately
afterward while at the same time changing the RCS
branch to '1.1.1' and laying down a vendor tag label
on the '1.1.1' RCS branch and the vendor version tag
gets put onto 1.1.1.1.

So, an imported version is always a real RCS branch.

A cvs 'magic' branch has a tag name associated
with a 'number' that looks like the base version
of the file followed by the magical '.0' followed
by an even number selected after looking at the
other CVS 'magic' branch tags in the file.

This 'magic' branch does not actually consume any
delta record space in the RCS file until after you
make a commit to the branch. This is also known as
doing a 'lazy' allocation.

> Just that the trunk helps itself to grab a
> version from it if it doesn't have one yet? The
> Cederqvist seems a bit short on it but maybe I
> should study it again. And what's that default
> branch stuff?

Mostly it is where the RCS view of the file
collides with the CVS view of the world...

If you really want to read more details, you
probably need to dive into the doc/RCSFILES in one
of the CVS releases and then read up in Cederqvist
on "RCS History" and "RCS, importing files from" ...

You may also find it helpful to read
http://cvsbook.red-bean.com/cvsbook.html
(although I can't recall how deeply Karl covered
import and vendor related stuff in his book).

> > However, Chris also provided a proof of
> > concept set of shell scripts to help you in
> > the short term.
> > 
> 
> Thanks, but that's a bit too hot for me messing
> with the repository files directly.

Yeah, I can understand that point of view too. :-)

> Anyway, thanks y'all for the quick help. Glad I
> asked.
> 
> Michael

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA/+1W3x41pRYZE/gRAs8VAJ4wfNnR9za8QYWeJ5e946rRjibrkgCfeyf0
/LTsitM45+hqn1nYSdUNoAM=
=UCYg
-----END PGP SIGNATURE-----




reply via email to

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