Mercurial > hg-stable
changeset 3688:d92dad355000
Corrected "waiting for lock on repository FOO held by BAR" message.
BAR was the error number and not the locker name.
Use repr on BAR, so problems can be detected easier.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 20 Nov 2006 19:55:59 +0100 |
parents | d5dd0a2a44bc |
children | 25e549e9b7d0 79151c94c3b4 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Nov 20 19:41:49 2006 +0100 +++ b/mercurial/localrepo.py Mon Nov 20 19:55:59 2006 +0100 @@ -517,8 +517,8 @@ except lock.LockHeld, inst: if not wait: raise - self.ui.warn(_("waiting for lock on %s held by %s\n") % - (desc, inst.args[0])) + self.ui.warn(_("waiting for lock on %s held by %r\n") % + (desc, inst.locker)) # default to 600 seconds timeout l = lock.lock(lockname, int(self.ui.config("ui", "timeout", "600")), releasefn, desc=desc)