apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Kenneth Casson Leighton <l...@samba-tng.org>
Subject Re: [lists@rowe-clan.net: Re: CVS rename?]
Date Mon, 14 May 2001 14:04:09 GMT
> > It is safe to move a file. That is all we're talking about.
> 
> Safe?  Well certainly inconsiderate.
> 

no, it's not safe to move a file.

what happens if you wish to compile an older version?

try this:

cvs co ... -D '2 days ago'

oh, whoops, why doesn't it compile?  i don't understand, the Makefile
says there's a file there, but where is the file?

_don't_ delete, or move, files, in cvs, if you possibly expect
to maintain the history, consistency of the repository and
the good-will of the people accessing the cvs repository.

_copy_ the file  (the one in cvs) and then cvs delete the old
one.

it's actually better to move directories around than it is to
move individual files, but only if the directory and its
subdirectories are self-contained and not referenced via any
other Makefiles, scripts, includes, libs etc.

and yes, if someone starts moving directories, you're better
off doing a total re-checkout.

... you _can_ do this on an individual basis, as follows:

cvs co samba/source

or, cvs co apache/apr/aprutil - whatever.

[it will create the subdirs for you.]

luke

Mime
View raw message