[PATCH] tags: don't allow environment errors to be raised from _writetagscache

Adrian Buehlmann adrian at cadifra.com
Fri Jun 17 03:43:41 CDT 2011


On 2011-06-17 10:20, Sune Foldager wrote:
> On 2011-06-17 08:54, Adrian Buehlmann wrote:
>>
>> Today, there are two camps of virus checkers on Windows
>>
>> (A) opening files with shared delete flag (allows renames and unlinks)
>> (B) opening files without or locking them by mapping into RAM
>>
>> My goal is to make Mercurial work fine in the presence of (A) and I have
>> even installed one of these here myself for that purpose and I've never
>> seen that traceback here.
> 
> This has also been "our" goal since we started using hg on Windows, where
> in the beginning some people had virus scanners which would lead to repo
> corruption when committing etc. :p  Fortunately, that's much better these
> days with several important improvements to the hg code having been made.

..

> As for B, people should use other virus scanners. We can't possibly handle
> all situations associated with that.

Agreed.



More information about the Mercurial-devel mailing list