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
..
2023-09-14 17:13:37 +00:00
2024-10-30 16:11:04 +00:00
2023-11-20 19:22:53 +00:00
2024-09-26 00:52:28 +00:00
2023-10-13 19:34:26 +00:00
2023-09-14 17:13:37 +00:00
2023-09-14 17:13:37 +00:00