changeset 8649:2c097e22492c

clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop 937ee88da3ef was a noop, it was missing the wait keyword
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 28 May 2009 17:44:57 +0200
parents ca443bac7ed4
children ef393d6ec030 27cc4fa6722d
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hg.py	Thu May 28 17:03:35 2009 +0200
+++ b/mercurial/hg.py	Thu May 28 17:44:57 2009 +0200
@@ -165,7 +165,7 @@
                 # can end up with extra data in the cloned revlogs that's
                 # not pointed to by changesets, thus causing verify to
                 # fail
-                src_lock = src_repo.lock()
+                src_lock = src_repo.lock(wait=False)
             except error.LockError:
                 copy = False