exception ignored, leads to bug

Matt Mackall mpm at selenic.com
Wed Mar 4 10:34:23 CST 2009


On Wed, 2009-03-04 at 11:42 +0100, Jens.Wulf at sew-eurodrive.de wrote:

> #########################################################################
> 
> Every instance of these processes clones a repo, commits to the clone, pushes back and verifies both the clone and the original repo, so there are several processes pushing to the central repo. 
> 
> Sometimes an error happens to the clone (which is never accessed by several processes at once):
> 
> Exception exceptions.WindowsError: (32, 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird', 'O:\\GRUPPEN\\GTI\\Austausch\\jww\\stresstest\\C\\.hg\\tmp5pndai') in <bound method lock.__del__ of <mercurial.lock.lock object at 0x00B4A490>> ignored
> 
> The result is that commit history in the clone is not linear but has a single-commit-branch caused by the above error.

Hmm, that appears to be something along the lines of:

The process can not access the file because another process is used

And that looks like the highly annoying Windows "file can't be created
because it was recently deleted" behavior.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list