This repository has been archived by the owner on Mar 2, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if revision exists before downloading
The `sync` command is fairly slow even if the cache contains every revision being synced. This is because a download is attempted even if it is unneeded. This change changes the flow of `context.Sync` to attempt to `RevisionSync` with whatever is in the cache, if that fails then it calls `Download` followed by another `RevisionSync`.
- Loading branch information