[cvsnt] Re: cvs [server aborted]: cannot rename file

Tony Hoyle tmh at nodomain.org
Thu Oct 28 22:30:18 BST 2004


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.


Torsten Martinsen wrote:

> But I got an idea: Since the errors seems to happen only when renaming a 
> file to the same name, and since this is a no-op anyway, could the 
> solution not be a simple "if (strcmp(src, dst))" before the MoveFileEx() 
> call?
> 
There's already such a check (using fncmp instead as you have to take 
into account slashes etc.) so I know it's not renaming to the same 
file... not sure why it says it is - I haven't tracked that down.

Tony



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