-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hg: Add a cache for mercurial repositories.
The idea is to save the whole untouched clone (with no checkout) in the cache. If already present, the pull is done directly in the cache, and is faster (except on very small repos) because only new changeset are transfered. If the ref is a changeset id (not a tag, branch, topic or bookmark), and the changeset is already known in the cached clone, no pull is done which avoid any network exchange. Then we copy the cached entry and do the checkout. Signed-off-by: Christophe de Vienne <[email protected]>
- Loading branch information
Showing
3 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters