quickop: Error on "Add File" (lack of exception handling)

Issue #1828 resolved
Anonymous created an issue

I had Visual 2008 SP1 opened, with a solution & project loaded. The project referenced the RWLock.h file I was working on.

I could not add the file to Mercurial via Toirtoise HG > Add File while Visual Studio was opened. A panel opened, and the following error message appeared (asking me to post the bug here).

NB : Closing Visual Studio solved the "issue", but still ...

** Mercurial version (2.0).  TortoiseHg version (2.2)
** Command: --nofork add --listfile C:\Users\ishraam\AppData\Local\Temp\THGC388.tmp
** CWD: D:\dev\workspace\Mercurial
** Encoding: cp1252
** Extensions loaded: 
** 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\quickop.pyo", line 163, in accept
  File "mercurial\localrepo.pyo", line 1303, in status
  File "mercurial\context.pyo", line 373, in cmp
  File "mercurial\context.pyo", line 947, in data
  File "mercurial\localrepo.pyo", line 688, in wread
  File "mercurial\scmutil.pyo", line 144, in read
  File "mercurial\scmutil.pyo", line 232, in __call__
  File "mercurial\windows.pyo", line 36, in posixfile
IOError: [Errno 13] D:\dev\workspace\Mercurial\GEN/SourceCode/ParallelComputing/ParallelComputing.ncb: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus

Comments (8)

  1. Log in to comment