[PATCHv1 0/1] git-p4: better error reporting
- Date: Tue, 5 Jun 2018 09:55:23 +0100
- From: Luke Diamand <luke@xxxxxxxxxxx>
- Subject: [PATCHv1 0/1] git-p4: better error reporting
If git-p4 cannot talk to the Perforce server, it will either give a
confusing error message, or just crash. Even I get tripped up by this.
This change just checks that the client can talk to the server, and in
particular that the user is logged in (the default login timeout is 12
It would be nice to also check for ticket expiration during long
Perforce operations, but this change does not attempt to do that.
Luke Diamand (1):
git-p4: better error reporting when p4 fails
git-p4.py | 55 +++++++++++++++++++++++++++++++++
t/t9833-errors.sh | 78 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 133 insertions(+)
create mode 100755 t/t9833-errors.sh