summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2022-01-25 02:10:28 -0500
committerMike Frysinger <vapier@google.com>2022-01-25 18:54:42 +0000
commit4aa8584ec6a57b24c7e41e6fccd0b554a264423d (patch)
tree815e71af305052e4555d917315e944f41beb79b4 /project.py
parentb550501254a0a10d4ea356331ee054d47c4ddc75 (diff)
downloadgit-repo-4aa8584ec6a57b24c7e41e6fccd0b554a264423d.tar.gz
init: make bad --repo-rev settings more clear
If the user passes a bad --repo-rev setting in a new checkout, add a tip to the error message that their option is probably bad instead of just saying "unable to resolve". If the user has already initialized a checkout, we'd display a raw traceback which would confuse them. Swallow that and also include the --repo-rev tip. Bug: https://crbug.com/gerrit/15610 Change-Id: I5d72513c7b37bf9bb5d19862fcdfaf0d1f44e886 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/328820 Reviewed-by: Jack Neus <jackneus@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions