Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 16:52:46 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Gerhard Sittig <Gerhard.Sittig@gmx.net>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.ORG>
Subject:   Re: removing global from tree
Message-ID:  <200010142352.QAA14626@john.baldwin.cx>
In-Reply-To: <20001014223211.T25237@speedy.gsinet>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Oct-00 Gerhard Sittig wrote:
> On Sat, Oct 14, 2000 at 11:16 -0700, John Baldwin wrote:
>> 
>> On 14-Oct-00 Gerhard Sittig wrote:
>> > 
>> > Up to now I always thought "the Attic" is something CVS
>> > itself takes care of when "cvs rm"ing files.  What's that
>> > special thing needing manual intervention or special
>> > attention you've been talking about lately?  Is it for
>> > performance reasons or for the warm fuzzy feelings of having
>> > "not too rotten a repo"?
>> 
>> It is where CVS puts files when you cvs rm them.  You just have
>> to do the actual cvs rm/cvs ci.  David was cautious because if
>> he had to back the change out, he didn't want to have to try to
>> cvs add all of the files back in.
> 
> Isn't it true that all the "log", "diff", "up -r" and such
> commands still work in the expected way?  That's the reason for
> having "the Attic", I thought.  Not to remove the repo file when
> the working file expires, but to keep the history and to restore
> any previous revision thereof when requested.  Backing out an
> rm'ed file should be as difficult as doing the sequence I just
> tested to make sure:

Yes.  The trick is getting the list of files you just deleted,
esp. when you are taking out several directories of stuff.  David's
point was to not make the task overly difficult, but instead to
simply do teh Makefile change first, to make the change easier to
revert if necessary, as it would then only require one edit and commit,
rather than having to generate a list of files to re-add and commit
as well.  Geez, he knows how CVS works, he was just trying to save
some time.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010142352.QAA14626>