"Access is denied" error during unshelving
Created originally on Bitbucket by datallah (Daniel Atallah)
I've had this happen to me a number of times when attempting to unshelve a large shelf:
{{{ #!python ** Mercurial version (1.9.3). TortoiseHg version (2.1.4) ** Command: ** CWD: C:\Windows\system32 ** Encoding: cp1252 ** Extensions loaded: mercurial_keyring, transplant, rebase, fetch, mq, eol, convert ** 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 380, in refreshCombos File "tortoisehg\hgqt\thgrepo.pyo", line 477, in thgshelves File "tortoisehg\hgqt\thgrepo.pyo", line 475, in getModificationTime File "genericpath.pyo", line 54, in getmtime WindowsError: [Error 5] Access is denied: 'C:\export\spare\Devl-JBoss\development\dev69\src\.hg\shelves\Eclipsery-0a1454ea'
}}}
It appears that it's trying to look a the wrong file - the actual shelf file is {{{'C:\export\spare\Devl-JBoss\development\dev69\src\.hg\shelves\Eclipsery'}}} (without the "-0a1454ea" suffix).