Skip to content

git p4 error handling

Pete Wyckoff git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6git p4: catch p4 describe errorsgit-p4.py+26 -90 replies
2/6git p4: handle servers without move supportgit-p4.py t/t9814-git-p4-rename.sh+55 -10 replies
3/6git p4: catch p4 errors when streaming file contentsgit-p4.py t/t9800-git-p4-basic.sh+43 -80 replies
4/6git p4 test: display unresolvable host errort/t9800-git-p4-basic.sh+12 -00 replies
5/6git p4: fix labelDetails typo in exceptiongit-p4.py+1 -10 replies
6/6git p4: remove unneeded cmd initializationgit-p4.py+0 -10 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchMatt Arsenault
1/6Based-on-patch-by
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] git p4 error handling

These are assorted minor fixes. They should be safe for 1.8.1, and are not urgent enough for maint.

Four of them deal with handling errors from p4d better. The first two of these have been seen on the list already. The third showed up in my own testing. The fourth adds a test to make sure that existing error handling continues to work.

git p4: catch p4 describe errors
git p4: handle servers without move support git p4: catch p4 errors when streaming file contents git p4 test: display unresolvable host error

These two are small cleanups found by pylint, one of which is an obvious (but rare) bug.

git p4: fix labelDetails typo in exception
git p4: remove unneeded cmd initialization

 git-p4.py                | 97 ++++++++++++++++++++++++++++++++++++++----------
 t/t9800-git-p4-basic.sh  | 25 ++++++++++++-
 t/t9814-git-p4-rename.sh | 35 +++++++++++++++++
 3 files changed, 137 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.0.276.gd9397fc