git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/6] git p4 error handling

From
PWPete Wyckoff <pw@padd.com>
Date
Nov 23, 2012, 22:35 UTC
Message-ID
<1353710139-16207-1-git-send-email-pw@padd.com>

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(-)
-- 
1.8.0.276.gd9397fc
Next: Pete Wyckoff
Message 1 of 7 in “git p4 error handling”
  1. 0/6 git p4 error handlingPete Wyckoff, Nov 23, 2012
  2. 1/6 git p4: catch p4 describe errorsPete Wyckoff, Nov 23, 2012
  3. 2/6 git p4: handle servers without move supportPete Wyckoff, Nov 23, 2012
  4. 3/6 git p4: catch p4 errors when streaming file contentsPete Wyckoff, Nov 23, 2012
  5. 4/6 git p4 test: display unresolvable host errorPete Wyckoff, Nov 23, 2012
  6. 5/6 git p4: fix labelDetails typo in exceptionPete Wyckoff, Nov 23, 2012
  7. 6/6 git p4: remove unneeded cmd initializationPete Wyckoff, Nov 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.