Re: [ILUG] CVS question?

From: David Neary (dneary at domain wanadoo.fr)
Date: Thu 18 Jul 2002 - 08:25:18 IST


John Gay wrote:
> For the testing, I'll need to track the CVS branches of both XFree86 and DRI.
>
> I was wondering if it was possible to to use cvs to update the current
> sources I have for XFree86, or do I need to fetch a fresh copy via cvs first?

To cut a long story short, you need to check out a fresh source
first. You can do so on top of the directory you have, and CVS
might be smart enough to figure out the differences & merge them,
or you might get many, many messages saying "File X is in the
way, move it away first" or something o that effect. The easiest
way is to check out fresh, and take the one-time hit. You'll
almost certainly save yourself hours of arseing around.

> I know I'll need to fetch the DRI stuff, but if I can just update the XFree86
> sources I have, it should save me quite a bit of on-line time.

Doing a cvs co of X will probably take all night over 56k, which
will cost you approximately 5 euros. I suspect that getting cvs
to work with your sources (which are, probably, unversioned)
would take several hours of forcing. It depends how much you
value your time.

> Can cvs deal with updating sources that are not originally from cvs?

CVS works by finding out the version you currently have, and
comparing that with the latest version in CVS. Since you have no
versions, CVS has nothing to work with. It has to download all
the files in their entirity in any case to see what differences
there are with your files, so why not avoid messing & do it into
a clean directory?

Cheers,
Dave.

-- 
       David Neary,
    Marseille, France
  E-Mail: bolsh at domain gimp.org


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:57 GMT