Re: CVS should die (was: Possible make_oidjoins_check ...)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Neil Conway <neilc(at)samurai(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS should die (was: Possible make_oidjoins_check ...)
Date: 2004-11-04 19:41:08
Message-ID: 28274.1099597268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> why would we lose CVS history? I can physically move the files in
> /cvsroot to accomplish this ... just tell me what needs to move, and to
> where ...

If you physically move the files, that would retroactively change their
placement in back versions, no? ie, it would appear that all previous
releases had had 'em under src/tools as well.

AFAICS the only nondestructive way to do this is to cvs delete and cvs
add, with a commit comment saying where the files were moved from. Then
when you are looking at them in CVS, you'd have to navigate over to the
previous location (by hand, probably; the commit comment isn't going to
automate this for you) and look in the Attic to read the prior CVS history.
It's not impossible, certainly, but it discourages moving files for less
than the very best of reasons.

(I'm rather interested to know whether any other SCMs have a better
solution to this problem, and if so what it is. It's not obvious how
to do better.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-11-04 20:02:13 Re: CVS should die (was: Possible make_oidjoins_check ...)
Previous Message Marc G. Fournier 2004-11-04 19:32:30 Re: CVS should die (was: Possible make_oidjoins_check ...)

Browse pgsql-patches by date

  From Date Subject
Next Message Marc G. Fournier 2004-11-04 20:02:13 Re: CVS should die (was: Possible make_oidjoins_check ...)
Previous Message Marc G. Fournier 2004-11-04 19:32:30 Re: CVS should die (was: Possible make_oidjoins_check ...)