mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 03:39:48 +03:00
e348c3c98c
Summary: Previously hggit used a single transaction for each commit it imported. This added a lot of over head, such as writing the fncache every time and committing to sql every time. Instead, let's use a transaction that lasts a while. We'll tie it to the existing gitmap save logic, so that we commit commits to disk before writing the map file (so the map file never references commits that don't exist). Reviewed By: quark-zju Differential Revision: D9210162 fbshipit-source-id: 9b1302dfc824055742c4194dfaea7e172e5db6b4 |
||
---|---|---|
.. | ||
help | ||
__init__.py | ||
_ssh.py | ||
compat.py | ||
git2hg.py | ||
git_handler.py | ||
gitrepo.py | ||
hg2git.py | ||
hgrepo.py | ||
overlay.py | ||
util.py | ||
verify.py |