# HG changeset patch # User Benoit Boissinot # Date 1243525497 -7200 # Node ID 2c097e22492c062a1c1cfc1958dc67249ee1a017 # Parent ca443bac7ed414cfe1d713e5c629e8501902a486 clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop 937ee88da3ef was a noop, it was missing the wait keyword diff -r ca443bac7ed4 -r 2c097e22492c 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