comparison mercurial/hg.py @ 47244:bcafcd779d2e

branching: merge stable into default
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 17 May 2021 15:05:24 +0200
parents 7431f5ab0d2a 8be95673eb8a
children 7edaf91c7886
comparison
equal deleted inserted replaced
47243:33096e77598c 47244: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: