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.  :)

Derek

-- 
                *8^)

Email: [EMAIL PROTECTED]

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.





_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to