pull: use a transaction between map saves
By using a transaction, we can avoid unnecessary I/O and let Mercurial do whatever it does to keep things fast. This is a significant optimisation, as cloning Dulwich from Github goes from ~1m40s to ~52s on a Mac, and ~49s to ~32s on Linux.
Loading
Please register or sign in to comment