[Top][All Lists]

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

Re: Is import really necessary?

From: J Krugman
Subject: Re: Is import really necessary?
Date: Tue, 21 Dec 2004 00:29:55 +0000 (UTC)
User-agent: nn/6.6.5

In <address@hidden> Derek Robert Price <address@hidden> writes:

>Hash: SHA1

>Spiro Trikaliotis wrote:

>>Hello Jill,
>>* On Mon, Dec 20, 2004 at 01:10:30PM +0000 J Krugman wrote:
>>>But now I can't find this post via Google Groups.  Maybe I dreamt
>>>it?  If not, or if anyone knows what this "import-less" alternative
>>>may be, please refresh my memory.
>>You might refer to that one:
>>(the link I posted in a follow-up is not working, please contact me
>>off-list if you want to get that script).

>Assuming all you need to do is create a new project in CVS based on an
>existing tree at /home/user/newtree, the following should work:

>    cvs co -ldtop .
>    cd top
>    mv /home/user/newtree .
>    find newtree -exec cvs add "{}" \;
>    cvs ci

Yes, that's very much like what I vaguely recall from that post
months ago.  How do the end-results differ from doing the ol'

  cd /home/user/newtree
  cvs import newtree random1 random2


To me the "import-less" approach looks infinitely more logical and
reasonable (for one thing there's no need to come up with phony
vendor and release tags), but the approach via import is so entrenched
I have to assume it has some non-obvious benefits (beyond the fact
that it can be done with just one cvs command), even for cases in
which the vendor tag is not meaningful (e.g. when the "project" is
one's own shell dot files or versions of the LaTeX file for a paper
one is writing).

While I'm on the subject, I should add that there's a lot about
CVS that just makes no sense to me (this business with import and
the vendor/release tags being one example); I think I'd be a much
happier (and more productive) user of CVS if I only *understood*
the method to the madness, instead of just executing commands by

I realize that maybe there is *no* method to the madness: CVS is
crazy-looking for historical reasons having to do with its RCS
origins.  So maybe I just have to grin and bear it...


To  s&e^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.

reply via email to

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