| commit | 62cd0de6cfbe7d2b7e966396d24bc337a962bdd7 | [log] [tgz] |
|---|---|---|
| author | Sam Saccone <samccone@google.com> | Thu Jan 29 13:41:41 2026 -0800 |
| committer | Sam Saccone <samccone@google.com> | Tue Feb 03 11:53:48 2026 -0800 |
| tree | 8326e793118f5478d130d134dc502f9bf99e35be | |
| parent | b60512a75ad878c51cd01093ddfb75252893f3a5 [diff] |
Make git trace2 logging errors conditional on verbose mode. Add a verbose attribute to the EventLog class, defaulting to False. Error messages printed to sys.stderr within the EventLog.Write method are now guarded by this verbose flag. In main.py, set EventLog.verbose to True if the command-line --verbose option is used. This prevents trace2 logging failures from being printed to stderr unless verbose output is explicitly requested. PROMPT=convert all git trace2 logging print messages to verbose only logging BUG: b/479811034 Change-Id: I8757ee52117d766f2f3ec47856db64cc4f51143c Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/547542 Tested-by: Sam Saccone <samccone@google.com> Reviewed-by: Julia Tuttle <juliatuttle@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.
Please use the repo-discuss mailing list or issue tracker for questions.
You can file a new bug report under the “repo” component.
Please do not e-mail individual developers for support. They do not have the bandwidth for it, and often times questions have already been asked on repo-discuss or bugs posted to the issue tracker. So please search those sites first.
Many distros include repo, so you might be able to install from there.
# Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo emerge dev-vcs/repo
You can install it manually as well as it's a single script.
$ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo