Problem updating using CVS on Windows

May 4th, 2005

If you're using CVS on Windows (e.g. WinCVS or TortoiseCVS) and you get a message like:

cvs [update aborted]: cannot rename file _new_myhelpfile.chm to myhelpfile.chm: Permission denied

in WinCVS, or:

Unable to rename file _new_myhelpfile.chm to myhelpfile.chm for 1 second, still trying...
Unable to rename file _new_myhelpfile.chm to myhelpfile.chm for 2 seconds, still trying...

in TortoiseCVS, it means that some other program on your computer is using the file in question and preventing CVS from overwriting it.

In the example above, myhelpfile.chm is an HTML Help file, so the chances are that the file is currently open in a Help viewer (or perhaps being used by RoboHelp or HTML Help Workshop). Exit whatever program has a lock on the file and you will be able to update it successfully.

Leave a comment