[Top][All Lists]

[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

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 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

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
(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
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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