diff mercurial/hg.py @ 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 39cf453da958
children 971e38a9344b
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