commit | 53d6f4d17e0cb4eabcd604d584a1132a51cc8bf3 | [log] [tgz] |
---|---|---|
author | Anatol Pomazau <anatol@google.com> | Thu Aug 25 17:21:47 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Nov 03 13:08:27 2011 -0700 |
tree | c9effdc3a5d890ac55fb8a9f2aa68ac0d500873e | |
parent | 9d8f914fe8ac75e18e0da2b7ce4886a2ba490fc6 [diff] |
Add a sync flag that fetches only current branch There is also shortcuts in case if the "current branch" is a persistent revision such as tag or sha1. We check if the persistent revision is present locally and if it does - do no fetch anything from the server. This greately reduces sync time and size of the on-disk repo Change-Id: I23c6d95185474ed6e1a03c836a47f489953b99be