[ On , October 10, 2001 at 17:31:23 (-0400), Sam Steingold wrote: ]
> Subject: Re: [[EMAIL PROTECTED]: Re: rename in cvs]
>
> if you rename FOO to BAR "the right way", i.e.,
>
> $ mv FOO BAR
> $ cvs rm FOO
> $ cvs add BAR
> $ cvs ci BAR
>
> then you lose in many ways:
No, you lose absolutely nothing -- in fact you _gain_ the information
about the rename!
> * 'cvs log BAR' does not list changes in file FOO
Of course not!!!! You do not want it to! That would be illogical.
> * there is no way to compare BAR 1.123 with FOO 1.321
> [yeah, they are separated by over a hundred revisions, so what?
> there are still situations when this makes sense.]
Bull. It's trivial to do.
> --> etc - CVS does not know that FOO is the old name for BAR.
>
> * also, this operation cannot be undone gracefully: when I do the above
> renaming backwards, CVS moves BAR,v into the attic and there is no
> way to get the revisions of BAR into the FOO,v file
> (or is there - how do I concat two *,v files?!)
It's trivial to "undo" too -- the same way you "undo" any commit.
> The problem is that I do not always have shell access - then I am stuck.
You don't need to have shell-level access to the repository.
--
Greg A. Woods
+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs