[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Re: rename in cvs]
From: |
Greg A. Woods |
Subject: |
Re: address@hidden: Re: rename in cvs] |
Date: |
Thu, 11 Oct 2001 01:03:59 -0400 (EDT) |
[ On , October 10, 2001 at 17:31:23 (-0400), Sam Steingold wrote: ]
> Subject: Re: address@hidden: 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 <address@hidden> <address@hidden>
Planix, Inc. <address@hidden>; Secrets of the Weird <address@hidden>
- Re: address@hidden: Re: rename in cvs], (continued)
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/10
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/10
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/10
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/12
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/12
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/12
- Message not available
- Re: address@hidden: Re: rename in cvs], Sam Steingold, 2001/10/10
- Re: address@hidden: Re: rename in cvs],
Greg A. Woods <=
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/11
- Message not available
- Re: address@hidden: Re: rename in cvs], Kaz Kylheku, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/12
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/12
- Re: address@hidden: Re: rename in cvs], Paul Sander, 2001/10/12
- Message not available
- Re: address@hidden: Re: rename in cvs], Kaz Kylheku, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Mark Jackson, 2001/10/11
- Re: address@hidden: Re: rename in cvs], Greg A. Woods, 2001/10/11