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

[PATCH v1 0/2] git-p4: handle "Translation of file content failed"

From
larsxschneider@gmail.com <larsxschneider@gmail.com>
Date
Sep 7, 2015, 12:42 UTC
Message-ID
<1441629723-90604-1-git-send-email-larsxschneider@gmail.com>
From: Lars Schneider <larsxschneider@gmail.com>
Hi,

this patch fixes the P4 "Translation of file content failed" error. Unfortuantly I was not able to generate a P4 test repository to reproduce the error with a test case.

An Internet search shows that this error happens in the wild: https://stackoverflow.com/questions/5156909/translation-of-file-content-failed-error-in-perforce https://stackoverflow.com/questions/887006/perforce-translation-of-file-content-failed-error

Thanks, Lars

Lars Schneider (2):
  git-p4: print stderr if P4 read_pipe operation fails
  git-p4: handle "Translation of file content failed"
 git-p4.py | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

-- 2.5.1

Next: larsxschneider@gmail.com
Message 1 of 5 in “git-p4: handle "Translation of file content failed"”
  1. 0/2 git-p4: handle "Translation of file content failed"larsxschneider@gmail.com, Sep 7, 2015
  2. 1/2 git-p4: print stderr if P4 read_pipe operation failslarsxschneider@gmail.com, Sep 7, 2015
  3. Junio C HamanoSep 9, 2015
  4. Lars SchneiderSep 9, 2015
  5. 2/2 git-p4: handle "Translation of file content failed"larsxschneider@gmail.com, Sep 7, 2015

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.