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.
Potentially similar posts
- Archived post summaries – June 2011
- My first (useful) Ruby program – June 2011
- Adding your choice of text editor to Flare’s Open With menu – December 2010
- Viewing dynamically generated HTML in the HTML Help viewer – November 2010
- Perl basics for beginners (on Windows) – August 2010