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