clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 28 May 2009 17:44:57 +0200
changeset 8649 2c097e22492c
parent 8648 ca443bac7ed4
child 8650 ef393d6ec030
child 8651 27cc4fa6722d
clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop 937ee88da3ef was a noop, it was missing the wait keyword
mercurial/hg.py
--- 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