Daily Usage Issues

Files locked during HG checkout / merge operations.

Started by otac0n on 5,665 views

This happens on a several-times-per-day basis:

C:\Repo [apa-default tip]> hg update default
abort: Access is denied
C:\Repo [apa-default ~148 ?10 !412 tip]> hg update default
abort: Access is denied: 'C:\Repo\PACKAGES/UNITY.EXTENSIONS.LAZY.1.1.1/LIB'
C:\Repo [apa-default ~148 ?11 !412 tip]> hg update
abort: Access is denied: 'C:\Repo\PACKAGES/UNITY.EXTENSIONS.LAZY.1.1.1/LIB'
C:\Repo [apa-default ~148 ?10 !412 tip]> hg update
abort: Access is denied: 'C:\Repo\PROJECTS/WEB/XXXXXXXX/VIEWS/THROTTLED'


After disabling NCrunch and waiting for a few seconds...

C:\Repo [apa-default ~148 ?10 !412 tip]> hg update -C
560 files updated, 0 files merged, 0 files removed, 0 files unresolved
Hi,

There is currently a known issue where the file watcher used by NCrunch is holding directory locks, making it impossible to remove certain directories while it is enabled.

Until a solution can be found, the workaround is as you've described it (disable NCrunch prior to performing a VCS update).

Post a reply

Log in to reply.