diff mercurial/scmutil.py @ 26081:3b6e5914edd8

lock: loop a finite number of times in trylock (issue4787) ..before falling back to lock, which will sleep. This only addresses the CPU consumption of the reported issue.
author Matt Mackall <mpm@selenic.com>
date Mon, 24 Aug 2015 13:24:43 -0500
parents cc3a30ff9490
children ce26928cbe41
line wrap: on
line diff