equal
deleted
inserted
replaced
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: |