summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
authorJosip Sokcevic <sokcevic@chromium.org>2024-10-03 20:10:33 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-10-03 20:37:18 +0000
commit70ee4dd313bda9cca7fdd826f1c58de03fad1121 (patch)
tree7817eef04ddb727ae817c95ed995f0d20fcdc136 /git_superproject.py
parentcfe3095e500cef69e312c3b7700d77515070b262 (diff)
downloadgit-repo-70ee4dd313bda9cca7fdd826f1c58de03fad1121.tar.gz
superproject: Remove notice about beta
It's been the default for Android for over a year now, and it's no longer useful notice. Change-Id: I53c6f1e7cee8c1b2f408e67d3a6732db3b272bee Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/438521 Reviewed-by: Gavin Mak <gavinmak@google.com> Tested-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'git_superproject.py')
-rw-r--r--git_superproject.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/git_superproject.py b/git_superproject.py
index fca0e6f7..ce8161fd 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -307,8 +307,6 @@ class Superproject:
307 ) 307 )
308 return SyncResult(False, False) 308 return SyncResult(False, False)
309 309
310 _PrintBetaNotice()
311
312 should_exit = True 310 should_exit = True
313 if not self._remote_url: 311 if not self._remote_url:
314 self._LogWarning( 312 self._LogWarning(
@@ -452,16 +450,6 @@ class Superproject:
452 return UpdateProjectsResult(manifest_path, False) 450 return UpdateProjectsResult(manifest_path, False)
453 451
454 452
455@functools.lru_cache(maxsize=10)
456def _PrintBetaNotice():
457 """Print the notice of beta status."""
458 print(
459 "NOTICE: --use-superproject is in beta; report any issues to the "
460 "address described in `repo version`",
461 file=sys.stderr,
462 )
463
464
465@functools.lru_cache(maxsize=None) 453@functools.lru_cache(maxsize=None)
466def _UseSuperprojectFromConfiguration(): 454def _UseSuperprojectFromConfiguration():
467 """Returns the user choice of whether to use superproject.""" 455 """Returns the user choice of whether to use superproject."""