[Mplayer-cvslog] CVS: main/DOCS/tech cvs-howto.txt,1.1,1.2
Nick Kurshev
nickols_k at mail.ru
Fri Nov 9 08:35:12 CET 2001
On Thu, 8 Nov 2001 01:37:02 +0200 (CEST)
Arpi <arpi at thot.banki.hu> wrote:
> Hi,
>
> hmm. it's bad change. reversed.
>
And without any reasons, because:
If you look at CVS's book then you can find there:
Renaming Files And Directories
Renaming a file is equivalent to creating it under the new name and removing it under the old. In Unix, the commands are:
floss$ cp oldname newname
floss$ rm oldname
Here's the equivalent in CVS:
floss$ mv oldname newname
floss$ cvs remove oldname
(output omitted)
floss$ cvs add newname
(output omitted)
floss$ cvs ci -m "renamed oldname to newname" oldname newname
(output omitted)
floss$
For files, that's all there is to it. Renaming directories is not done very differently:
...
So indeed it is documented way of renaming CVS stuff.
And it's other question that this operation doesn't preserve changelog.
> > Update of /cvsroot/mplayer/main/DOCS/tech
> > In directory mplayer:/var/tmp.root/cvs-serv11769/DOCS/tech
> >
> > Modified Files:
> > cvs-howto.txt
> > Log Message:
> > corrected arpi's fucky tip0
> >
> >
> > Index: cvs-howto.txt
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/DOCS/tech/cvs-howto.txt,v
> > retrieving revision 1.1
> > retrieving revision 1.2
> > diff -u -r1.1 -r1.2
> > --- cvs-howto.txt 14 Oct 2001 19:18:02 -0000 1.1
> > +++ cvs-howto.txt 6 Nov 2001 18:00:32 -0000 1.2
> > @@ -42,7 +42,7 @@
> >
> > 8. Rename/move files:
> >
> > - you can't do that. ask CVS server admin (A'rpi) to do it.
> > + you mustn't do that. ask CVS server admin (A'rpi) to do it.
> > (do not remove & re-add file - it will kill changelog!)
> >
> > If you have any tech problems with cvs server, contact me:
> >
> > _______________________________________________
> > Mplayer-cvslog mailing list
> > Mplayer-cvslog at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> >
> >
>
>
> A'rpi / Astral & ESP-team
>
> --
> mailto:arpi at thot.banki.hu
> http://esp-team.scene.hu
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
>
Best regards! Nick
More information about the MPlayer-cvslog
mailing list