[cvsnt] Rename - what am I doing wrong?

Gerhard Fiedler lists at connectionbrazil.com
Tue Jul 24 12:32:59 BST 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Arthur Barrett wrote:

>> <e:\test\1\2\Docs>12>cvs ren Design.doc Simple-Design.doc
>> cvs rename: Warning: rename is still experimental and may not 
>> behave as you
>> would expect
>> 
>> <e:\test\1\2\Docs>13>cd ..
>> 
>> <e:\test\1\2>14>cvs ci -m "rename Design.doc"
>> cvs commit: Examining .
>> cvs commit: Examining Docs
>> 
>> After this, if I do a checkout of 1/2/Docs, I still get the 
>> old name. I
> 
> No idea - I just went through the whole gammut of rename commands last
> week and they all work for me.  Are you using the latest (2382) stable?

No, 2151. Is that relevant?

<P:\1\2\Docs>61>cvs ver
Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
(client/server)
Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151
(client/server)


> What does cvs log say about the file?

<P:\1\2\Docs>62>cvs log SimpleAlarm-Design.doc

RCS file: /projects/1/2/Docs/SimpleAlarm-Design.doc,v
Working file: SimpleAlarm-Design.doc
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: b
total revisions: 4;     selected revisions: 4
description:
----------------------------
revision 1.4
date: 2007/07/02 01:38:00;  author: gfiedler;  state: Exp;  lines: +75 -55;
kopt: b;  commitid: 404468856f56885;  filename: Design.doc;
...
----------------------------
revision 1.3
date: 2007/05/20 17:09:34;  author: gfiedler;  state: Exp;  lines: +132
-124;  kopt: b;  commitid: 1b8465080cd11d2;  filename: Design.doc;
...
----------------------------
revision 1.2
date: 2007/05/15 15:42:31;  author: gfiedler;  state: Exp;  lines: +148
-417;  kopt: b;  commitid: 2f04649d4e64888;  filename: Design.doc;
...
----------------------------
revision 1.1
date: 2007/05/08 00:48:41;  author: gfiedler;  state: Exp;  kopt: b;
commitid: 94c463fc8d87948;  filename: Design.doc;
...
=============================================================================

This is from within the sandbox where I first tried the rename command and
it didn't work. The commands I copied into my message (cited above) I ran
in another sandbox. This original sandbox still contains a file
Docs\CVS\Rename with the content 

---------------------
MMG/SimpleAlarm/Docs/SimpleAlarm-Design.doc

MMG/SimpleAlarm/Docs/Design.doc
MMG/SimpleAlarm/Docs/SimpleAlarm-Design.doc
---------------------

Thanks,
Gerhard


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook