# HG changeset patch # User Benoit Boissinot # Date 2009-05-28 15:44:57 # 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 --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -165,7 +165,7 @@ def clone(ui, source, dest=None, pull=Fa # 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