diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2015-09-02 12:36:30 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2015-09-02 12:45:19 -0700 |
| commit | fee390eea2ed6afdfbc09639f39aeb3ace83efb4 (patch) | |
| tree | 56bb1d5762c55cee073b2d5cbd4f1c83d0e0a76e | |
| parent | 9ff2ece6abc5d0d4a69c2f086209f107fd4f04be (diff) | |
| download | git-repo-fee390eea2ed6afdfbc09639f39aeb3ace83efb4.tar.gz | |
launcher: Update repo after applying clone.bundle
If the clone.bundle is out of date, repo may be installed with an old
version. It will upgrade with the next sync a day later, or when "repo
selfupdate" is run.
This behavior was added to normal project downloads, but was never added
to the repo launcher.
Change-Id: Ib04bef3a658c98fe1b6c53b3e8d0067165a5e3f7
| -rwxr-xr-x | repo | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -20,7 +20,7 @@ REPO_REV = 'stable' | |||
| 20 | # limitations under the License. | 20 | # limitations under the License. |
| 21 | 21 | ||
| 22 | # increment this whenever we make important changes to this script | 22 | # increment this whenever we make important changes to this script |
| 23 | VERSION = (1, 21) | 23 | VERSION = (1, 22) |
| 24 | 24 | ||
| 25 | # increment this if the MAINTAINER_KEYS block is modified | 25 | # increment this if the MAINTAINER_KEYS block is modified |
| 26 | KEYRING_VERSION = (1, 2) | 26 | KEYRING_VERSION = (1, 2) |
| @@ -567,8 +567,7 @@ def _Clone(url, local, quiet): | |||
| 567 | '+refs/heads/*:refs/remotes/origin/*') | 567 | '+refs/heads/*:refs/remotes/origin/*') |
| 568 | if _DownloadBundle(url, local, quiet): | 568 | if _DownloadBundle(url, local, quiet): |
| 569 | _ImportBundle(local) | 569 | _ImportBundle(local) |
| 570 | else: | 570 | _Fetch(url, local, 'origin', quiet) |
| 571 | _Fetch(url, local, 'origin', quiet) | ||
| 572 | 571 | ||
| 573 | 572 | ||
| 574 | def _Verify(cwd, branch, quiet): | 573 | def _Verify(cwd, branch, quiet): |
