"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mercurial/hg.py" between
mercurial-5.8.tar.gz and mercurial-5.8.1.tar.gz

About: Mercurial is a Source (Version) Control Management system designed for efficient handling of very large distributed projects.

hg.py  (mercurial-5.8):hg.py  (mercurial-5.8.1)
skipping to change at line 1033 skipping to change at line 1033
_update(destrepo, uprev) _update(destrepo, uprev)
if update in destrepo._bookmarks: if update in destrepo._bookmarks:
bookmarks.activate(destrepo, update) bookmarks.activate(destrepo, update)
if destlock is not None: if destlock is not None:
release(destlock) release(destlock)
# here is a tiny windows were someone could end up writing the # here is a tiny windows were someone could end up writing the
# repository before the cache are sure to be warm. This is "fine" # repository before the cache are sure to be warm. This is "fine"
# as the only "bad" outcome would be some slowness. That potential # as the only "bad" outcome would be some slowness. That potential
# slowness already affect reader. # slowness already affect reader.
with destrepo.lock(): with destrepo.lock():
destrepo.updatecaches(full=True) destrepo.updatecaches(full=b"post-clone")
finally: finally:
release(srclock, destlock) release(srclock, destlock)
if cleandir is not None: if cleandir is not None:
shutil.rmtree(cleandir, True) shutil.rmtree(cleandir, True)
if srcpeer is not None: if srcpeer is not None:
srcpeer.close() srcpeer.close()
if destpeer and destpeer.local() is None: if destpeer and destpeer.local() is None:
destpeer.close() destpeer.close()
return srcpeer, destpeer return srcpeer, destpeer
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)