git-repo/subcmds
Josip Sokcevic 1feecbd91e branches: Escape percent signs in branch names
If a branch name contains a percent sign, it will be interpreted as a placeholder and color.py will fail to format it.

To avoid this, escape the percent signs prior to calling Coloring
method.

Bug: b/379090488
Change-Id: Id019c776bbf8cbed5c101f2773606f1d32c9e057
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/443801
Reviewed-by: Scott Lee <ddoman@google.com>
Tested-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
2024-12-03 19:02:20 +00:00
..
__init__.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
abandon.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
branches.py branches: Escape percent signs in branch names 2024-12-03 19:02:20 +00:00
checkout.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
cherry_pick.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
diff.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
diffmanifests.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
download.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
forall.py forall: Fix returning results early 2024-10-30 16:11:04 +00:00
grep.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
help.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
info.py info: Handle undefined mergeBranch 2023-11-20 19:22:53 +00:00
init.py init: add --manifest-upstream-branch 2024-09-26 00:52:28 +00:00
list.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
manifest.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
overview.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
prune.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
rebase.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
selfupdate.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
smartsync.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
stage.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
start.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
status.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
sync.py sync: Do not fail to sync a manifest with no projects 2024-11-26 10:16:03 +00:00
upload.py upload: Return correct tuple values in _ProcessResults 2024-10-31 21:18:53 +00:00
version.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00