summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-09-02 12:36:30 -0700
committerDan Willemsen <dwillemsen@google.com>2015-09-02 12:45:19 -0700
commitfee390eea2ed6afdfbc09639f39aeb3ace83efb4 (patch)
tree56bb1d5762c55cee073b2d5cbd4f1c83d0e0a76e
parent9ff2ece6abc5d0d4a69c2f086209f107fd4f04be (diff)
downloadgit-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-xrepo5
1 files changed, 2 insertions, 3 deletions
diff --git a/repo b/repo
index b7d8024f..502bb324 100755
--- a/repo
+++ b/repo
@@ -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
23VERSION = (1, 21) 23VERSION = (1, 22)
24 24
25# increment this if the MAINTAINER_KEYS block is modified 25# increment this if the MAINTAINER_KEYS block is modified
26KEYRING_VERSION = (1, 2) 26KEYRING_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
574def _Verify(cwd, branch, quiet): 573def _Verify(cwd, branch, quiet):