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

Re: [GIT-P4] usage under Windows

From
Marius Storm-Olsen <marius@trolltech.com>
Date
Mar 1, 2008, 09:50 UTC
Message-ID
<47C926E8.1000201@trolltech.com>
In-Reply-To
<96c268400802292341y5ac5f287yc5af7afe9aff983a@mail.gmail.com>
Maxim Gordienko wrote:
Show 17 quoted lines
> No, unfortunately lattest git-p4 does not help. p4 still complain
> about location of checkout or unable to apply patch("file(s) not on
> client").
> My client spec is (p4 itselt is 2007.3)
> ---
> Client:	YOUR-6C9B4BEFA3
> Update:	2008/02/22 01:03:06
> Access:	2008/03/01 10:32:50
> Owner:	foo
> Description:
> 	Created by foo.
> Root:	c:\p4
> Options:	noallwrite noclobber nocompress unlocked nomodtime normdir
> SubmitOptions:	submitunchanged
> LineEnd:	local
> View:
> 	//depot/... //YOUR-6C9B4BEFA3/...
Hmm, odd. The only thing I can think of is that maybe you have the 
client spec set up correctly, but you never initially checked out the 
sources into C:\p4 ?
Try to run
     cd /D C:\ && p4 sync -f ...
manually, and then see if you're able to 'git p4 submit'.
Oh, and why is Perforce reporting
     Path 'c:/tmp/p42/main\...' is not under client's root 'c:\p4'.
It seems to me that you're still using the Cygwin version of Perforce, 
is this correct? If so, ensure that you're only using the native 
version. And please try to remove the Cygwin directories from your PATH 
environment variable, so we're sure that Cygwin isn't messing with us 
to. MSys (which the Git Windows port uses) and Cygwin are not that 
compatible.

-- .marius

Previous: Maxim GordienkoNext: Tor Arvid Lund
Message 6 of 9 in “[GIT-P4] usage under Windows”
  1. Maxim GordienkoFeb 22, 2008
  2. Marius Storm-OlsenFeb 27, 2008
  3. Maxim GordienkoFeb 29, 2008
  4. Marius Storm-OlsenFeb 29, 2008
  5. Maxim GordienkoMar 1, 2008
  6. Marius Storm-OlsenMar 1, 2008
  7. Tor Arvid LundMar 1, 2008
  8. Marius Storm-OlsenMar 1, 2008
  9. Maxim GordienkoMar 3, 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.