[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cvs commit aborted: cannot rename file

From: Derek Robert Price
Subject: Re: Cvs commit aborted: cannot rename file
Date: Fri, 16 Aug 2002 13:36:44 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

Xu, Jenny wrote:

Using cvs on Solaris as server and cvs.exe in IDEA as client, version cvs 1.11.1p1.

Developers can commit their own files, checkout and update all the files successfully. But if developer A update a file created by developer B, then commit that file, A got this error message:

X:\cvs.exe commit -m "" Test1.java
Checking in Test1.java;
X:/cvsroot/examples/Test1.java,v  <--  Test1.java
new revision: 1.9; previous revision: 1.8
cvs.exe [commit aborted]: cannot rename file X:/cvsroot/examples/,Test1.java, to X:/cvsroot/examples/Test1.java,v: File exists

CVS command finished execution

Shared network drives are not recommended as a way of accessing CVS repositories. There are all sorts of disasterous things that can go wrong, many of them having to do with caching and locking and which can result in severe data loss.

I know NFS has these problems.  SMB might very well have them as well.

That said, the specific problem you are encountering is probably related to permissions on the file. When I have seen that error message previously, the drive was an SMB share exported by a Samba server running on UNIX. Tweaking the Samba server might fix things, but again, I wouldn't recommend it unless you are a developer dead-set on finding and fixing all the problems you'll encounter yourself. If you are, feel free to request more advice. :)



Email: derek@ximbiot.com

Get CVS support at http://ximbiot.com
On every question of construction [of the Constitution], let us carry ourselves
back to the time when the Constitution was adopted, recollect the spirit
manifested in the debates, and instead of trying what meaning may be squeezed
out of the text, or invented against it, conform to the probable one in which
it was passed.
                        - Thomas Jefferson, letter to William Johnson,
                            June 12, 1823, _The Complete Jefferson_, p. 322.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]