[Bioperl-l] A couple of CVS questions.
Ewan Birney
birney@ebi.ac.uk
Wed, 3 Jan 2001 17:57:17 +0000 (GMT)
On Wed, 3 Jan 2001, Hilmar Lapp wrote:
> Ewan Birney wrote:
> >
> > It is, in my book, bad form to move the actual files. If you move files
> > then CVS checkouts on old versions screw up with sometimes disasterous
> > effects.
> >
> > The removal and cvs add is "The Right Way" tm in my book.
> >
>
> Well, I'm certainly not a CVS expert but when I wrote that you can
> move the repository files I only quoted the recommendation given
> in the CVS documentation (the info files that come with it). If
> you think applying this recommendation can have disastrous effects
> you should probably write to the CVS people to take this out of
> their documentation, or better yet, to put in a warning.
>
> I'm still not sure what could cause the disastrous effect, as the
> revision file does not keep any directory information (I may be
> wrong here though, but I haven't seen any dir info in such files
> yet), and there is no 'central database' that keeps track of which
> file is where.
Yeah, but then what happens is that in
OldRelease (real)
StableFile XX::YY says use AA:BB
File AA::BB is there
We now move AA:BB to CC:BB *in the repository*
if we checkout the old release we get
StableFile XX::YY says use AA:BB
File AA::BB ** IS NOT THERE **
File CC::BB is there, but is named wrong!
So it is ok from a cvs perspective, but it sucks from a code management
perspective!
if you cvs remove, cvs add this does not happen. Traditionally you put in
your log on the cvs add that is has just come from XXXX, allowing people
to track the history ...
>
> Hilmar
> --
> -----------------------------------------------------------------
> Hilmar Lapp email: hlapp@gmx.net
> GNF, San Diego, Ca. 92122 phone: +1 858 812 1757
> -----------------------------------------------------------------
>
-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>.
-----------------------------------------------------------------