Shelving files throws error

Julio Nobrega avatarJulio Nobrega created an issue
** Mercurial version (1.9.2).  TortoiseHg version (2.1.3)
** Command: --nofork workbench
** CWD: D:\userdata\jnetto\Desktop\dev\zina-buildout\zina
** Encoding: cp1252
** Extensions loaded: mq, transplant
** 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

Comments (3)

  1. Julio Nobrega

    BTW, it was a xls file open in Excel while I was trying to shelve. I am mentioning because other programs (like Eclipse) don't mind that I shelve opened files, neither Tortoise complains or throws an error :)

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.