# HG changeset patch # User Pierre-Yves David <pierre-yves.da...@ens-lyon.org> # Date 1476359131 -7200 # Thu Oct 13 13:45:31 2016 +0200 # Node ID 88cc944830d0c1895e527d6ca13687f1d5e1c785 # Parent 747e546c561fbf34d07cd30013eaf42b0190bb3b eol: do not wait on lack when writing cache
The cache writing process is properly catching and handling the case where the lock is unavailable. However, it fails to specify the lock can failed to be acquired when requesting it. This is now fixed. diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -335,7 +335,7 @@ def reposetup(ui, repo): wlock = None try: - wlock = self.wlock() + wlock = self.wlock(wait=False) for f in self.dirstate: if self.dirstate[f] != 'n': continue _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel