info-cvs
[Top][All Lists]
Advanced

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

Re: Why check out elsewhere after import?


From: michael
Subject: Re: Why check out elsewhere after import?
Date: Tue, 8 Aug 2006 21:16:08 -0400
User-agent: Mutt/1.4.2.1i

On Tue, Aug 08, 2006 at 01:21:41PM -0700, Paul Sander wrote:
 
> On Aug 8, 2006, at 8:03 AM, Larry Jones wrote:
 
> >Chris writes [quoting the manual]:

> >>   if you want to work with the sources import them first and then
> >>   check them out into a different directory

> >>But it's not clear to me why I'd do it in a _different_ directory.
> >>Why can't I just check it out where I am?

> >Because the files alread exist where you are and CVS won't overwrite
> >existing files.  If you don't need the original source, you can delete
> >it and then checkout into where they used to be.

> I will add to Larry's comments that CVS does not add its metadata to 
> the import area, so none of the "usual" commands that one would use in 
> their workspace will work in the import area.  For example, if you use 
> "cvs import", then change the source, "cvs commit" will fail.

I think the sense of the question is, why does one have to go through
this song and dance?  I would venture to say that in 99% of cases,
sources which are being imported are already in the working directory
in which you are going to use them.  Now you have to manually delete
that directory and then 'co' to get it back again.  A good example
would be, when you import the entire project directory of your
favorite IDE.  Some sort of 'autocheckout' option would be quite
useful in those cases.

thanks.

mp

-- 
Michael Powe            address@hidden          Naugatuck CT USA
"I'll carry your books, I'll carry a tune, I'll carry on, carry over,
carry forward, Cary Grant, cash & carry, Carry Me Back To Old
Virginia, I'll even Hara Kari if you show me how, but I will *not*
carry a gun."  -- Hawkeye, M*A*S*H

Attachment: pgplmy5i1JfJi.pgp
Description: PGP signature


reply via email to

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