mercurial/lock.py
changeset 31354 e6a2b625e0d9
parent 30921 1f151a33af8e
child 31375 d57aa655ce97
--- a/mercurial/lock.py	Sun Mar 12 00:44:59 2017 -0500
+++ b/mercurial/lock.py	Sun Mar 12 03:29:04 2017 -0400
@@ -118,7 +118,7 @@
             return
         if lock._host is None:
             lock._host = _getlockprefix()
-        lockname = '%s:%s' % (lock._host, self.pid)
+        lockname = '%s:%d' % (lock._host, self.pid)
         retry = 5
         while not self.held and retry:
             retry -= 1