Shelving a Microsoft Word file that is open throws an error
Created originally on Bitbucket by jugglingnutcase (James Sconfitto)
{{{ #!python ** Mercurial version (1.9.2). TortoiseHg version (2.1.3) ** Command: ** CWD: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\TortoiseHg ** Encoding: cp1252 ** Extensions loaded: convert, churn, graphlog ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] ** Windows version: (6, 1, 7601, 2, 'Service Pack 1') ** Processor architecture: x64 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "tortoisehg\hgqt\shelve.pyo", line 225, in moveFilesRight File "tortoisehg\hgqt\chunks.pyo", line 388, in removeFile File "mercurial\commands.pyo", line 4366, in revert File "mercurial\commands.pyo", line 4342, in checkout File "mercurial\localrepo.pyo", line 661, in wwrite File "mercurial\scmutil.pyo", line 151, in write File "mercurial\scmutil.pyo", line 211, in call File "mercurial\win32.pyo", line 423, in unlink WindowsError: [Error 32] The process cannot access the file because it is being used by another process
}}}
i was editing a documentation file in Word and tried to shelve the file. This bug report was the result.