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

[git-p4] Can't submit: Something I do in a wrong way.

From
EIEvgeniy Ivanov <lolkaantimat@gmail.com>
Date
Nov 19, 2008, 21:00 UTC
Message-ID
<49247E5D.7070601@gmail.com>

Hi list, I need a help with git-p4.

There are //1, //2, //3 in perforce's depot, and /dir1 is a client's root.
So:
Root:   /dir1/
//1/... //client/1... etc
I've checkouted //1, //2 and //3.

In /git I did "git clone //1; git clone //2", So I have /git/1, /git/2. Now I run in /git/1 "git-p4 submit commitBr" and choose 'y' to sync, where comitBr has one more commit than master. I get "Path /git/1/... is not under client's root /dir1/". Without syncing it says I have opened files, but when I do in /dir1/1 "p4 -a revert" I get: "file(s) not opened on this client". Looks like "git-p4 rebase" works fine.

Also I tried to keep git in the same dir as perforce workspace: I did 1 commit and then failed to do anything, because got strange conflicts.

P.S. Please don't forget to keep me in CC :)
-- 
Cheers, Evgeniy.
Key fingerprint: F316 B5A1 F6D2 054F CD18 B74A 9540 0ABB 1FE5 67A3
Next: Evgeniy Ivanov
Message 1 of 2 in “[git-p4] Can't submit: Something I do in a wrong way.”
  1. Evgeniy IvanovNov 19, 2008
  2. Evgeniy IvanovNov 19, 2008

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.