CVS – update command problem – move away the file is in the way

Sometimes I am getting this weird error when try to updating the CVS sandbox:

…move away the file mydir/myfile, it is in the way.

The file was checked in fine and the problem goes away if I try to run update in the directory where the file is located.

Usually deleting the whole “mydir” and do a fresh update will fix the problem, but what causes this?

One possible reason is that the directory name was not properly updated in CVS. This can be verified by going to the parent dire of “mydir”, and open the entries file in the CVS folder. It should include this line:

D/mydir////

If it’s not there, adding line to the file can probably fix the issue above.

But what caused the missing directory name then? Beats me. My best guess in my case is that the failed style checking when checking in CVS files has caused some inconsistency in the sandbox, thus the error.

This entry was posted in cvs and subversion. Bookmark the permalink.

One Response to CVS – update command problem – move away the file is in the way

  1. Anonymous says:

    I hade the same problem. I just checked out the same folder twice.

Comments are closed.