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