mercurial/hg.py
branchstable
changeset 47043 8be95673eb8a
parent 47005 27602e030a1f
child 47244 bcafcd779d2e
equal deleted inserted replaced
47042:dff19fe2973c 47043:8be95673eb8a
  1051             # here is a tiny windows were someone could end up writing the
  1051             # here is a tiny windows were someone could end up writing the
  1052             # repository before the cache are sure to be warm. This is "fine"
  1052             # repository before the cache are sure to be warm. This is "fine"
  1053             # as the only "bad" outcome would be some slowness. That potential
  1053             # as the only "bad" outcome would be some slowness. That potential
  1054             # slowness already affect reader.
  1054             # slowness already affect reader.
  1055             with destrepo.lock():
  1055             with destrepo.lock():
  1056                 destrepo.updatecaches(full=True)
  1056                 destrepo.updatecaches(full=b"post-clone")
  1057     finally:
  1057     finally:
  1058         release(srclock, destlock)
  1058         release(srclock, destlock)
  1059         if cleandir is not None:
  1059         if cleandir is not None:
  1060             shutil.rmtree(cleandir, True)
  1060             shutil.rmtree(cleandir, True)
  1061         if srcpeer is not None:
  1061         if srcpeer is not None: