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

git p4 submit bugs (submit fails due to keyword expansion mismatch and gives bad instructions for how to proceed)

From
Eric Scouten <eric@scouten.com>
Date
Feb 8, 2012, 21:49 UTC
Message-ID
<CAEe=O8o-BG0xNGQEweezPu8cj+Brt1Km_anhEJBg0W7Q=rLbkw@mail.gmail.com>

I've been experimenting with git-p4 as a front-end to Perforce as described in http://www.perforce.com/blog/120113/git-perforce-client, but two bugs are causing me major headaches:

(1) git-p4 doesn't work with P4 keyword expansion. (I gather there's a fork of git-p4 that makes it work, but the current official distro doesn't.) This can lead to some ugly failed submits down the road. Which leads me to ...

(2) When a git p4 submit fails, the error message for how to resolve it is bogus. The instructions say "Please resolve and submit the conflict manually and continue afterwards with git-p4 submit --continue", but when I do that, I get:

$ git p4 submit --continue
Usage: git-p4 submit [options] [name of git branch to submit into
perforce depot]
git-p4: error: no such option: --continue
Ugh.

(P.S. If there's a better place to post bug reports, etc., please inform. Thanks.)

-Eric
Next: Luke Diamand
Message 1 of 2 in “git p4 submit bugs (submit fails due to keyword expansion mismatch and gives bad instructions for how to proceed)”
  1. Eric ScoutenFeb 8, 2012
  2. Luke DiamandFeb 8, 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.