mercurial/localrepo.py
changeset 20380 c697b70f295f
parent 20364 a6cf48b2880d
child 20392 d4f804caa0ed
--- a/mercurial/localrepo.py	Wed Jan 22 15:43:21 2014 -0600
+++ b/mercurial/localrepo.py	Thu Feb 06 01:55:09 2014 +0100
@@ -1005,6 +1005,7 @@
             l = lockmod.lock(vfs, lockname,
                              int(self.ui.config("ui", "timeout", "600")),
                              releasefn, desc=desc)
+            self.ui.warn(_("got lock after %s seconds\n") % l.delay)
         if acquirefn:
             acquirefn()
         return l