From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Storm-Olsen Subject: Re: [GIT-P4] usage under Windows Date: Sat, 01 Mar 2008 16:53:39 +0100 Message-ID: <47C97C03.8040303@trolltech.com> References: <96c268400802212244g7fd2de2bj6c1b7022885c8e89@mail.gmail.com> <47C5E4EC.1060003@trolltech.com> <96c268400802291048u31a2d8b6ub1726ade941afb8c@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB03C8E627C9F548CCD7E7C03" Cc: Maxim Gordienko , git@vger.kernel.org To: Tor Arvid Lund X-From: git-owner@vger.kernel.org Sat Mar 01 16:54:36 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVU2m-0004EQ-1i for gcvg-git-2@gmane.org; Sat, 01 Mar 2008 16:54:36 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756470AbYCAPx7 (ORCPT ); Sat, 1 Mar 2008 10:53:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756415AbYCAPx7 (ORCPT ); Sat, 1 Mar 2008 10:53:59 -0500 Received: from hoat.troll.no ([62.70.27.150]:34794 "EHLO hoat.troll.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755963AbYCAPx6 (ORCPT ); Sat, 1 Mar 2008 10:53:58 -0500 Received: from localhost (localhost [127.0.0.1]) by hoat.troll.no (Postfix) with ESMTP id 0F3D7581B2; Sat, 1 Mar 2008 16:53:11 +0100 (CET) Received: from hoat.troll.no ([127.0.0.1]) by localhost (hoat.troll.no [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 06753-07; Sat, 1 Mar 2008 16:53:10 +0100 (CET) Received: from [172.20.1.78] (unknown [172.20.1.78]) by hoat.troll.no (Postfix) with ESMTP id 7B3FE581AE; Sat, 1 Mar 2008 16:53:10 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=34EB4437 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXU1NTAwMABAQGsrKyE hIQwMDAEBAS8hGUfAAACQUlEQVQ4jV2TS47cMAxEKSDZW1CfwMB4PYLkrKchsveJRR2gEen+R0hR 9vziBmahhyqSRQ4NfF1FmIv3dH4usNAGoFprBVguQJmZ1nX0XiHgEukTCK3TairiZeXcVGzmZIoU 3738pehdVbiU9KFgMQWeZ1fpHZDfRS4rPb3eQVaZChGx4ikt5GDkAZQ2KKohzjklno4+iJpVhxka ZjSpasJ4gdGaEQMWTMjRa5uTqza0XDJjzhIdzGTMrqoopimoIPCKZtVOq265MAXpMLXycmVl2Y8C oE1FkT/faKauOjYoHJyOxHfvixjowvI0xZJsKykubgLYzuJMdBO+L86TjxfQ9hz9jpSudbnXXzRm tor5i3MUONpOfARAhlWbzWF7OhP2eSeEW9HUBNiHOxUM8HLWHhUAj3NZNsdqRZpNA+DJ+XlX+Qc9 Z4ZjHX8LRUzgTBBef84NQoCMOcS0+BMsj3klbTzRri03ugXr9em1GfgzDAyEn4J3fvFI5YwdTrYu 1ntAY1h5ysM2OMGm+cBOocCXHisAHu2PagnLghoG2krz8bzsA4fj7KxCGk+63jt+DDCtYjbFNkHD nRwpRqsQYx5WYzsbm/eBfn0I4TbOGvMWqhQAiEDzNs4apumCI0x2OyHtY7uAlZff/sanbH9+AGT1 KOEmUlJISdYPgEgehw+cTZEf6xeFyoEjCPgv+A62KhW3EOy9PL7WmCBMRWmfYN0OqW9krzl/Ay91 75HMqfDtP8UFckFUX2rwrm/kTVB2gH+hdu4avZVCuAAAAABJRU5ErkJggg== X-Virus-Scanned: Maia Mailguard 1.0.2a Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB03C8E627C9F548CCD7E7C03 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Tor Arvid Lund wrote: > On 29. feb.. 2008, at 19.48, Maxim Gordienko wrote: >> Synchronizing p4 checkout... executing p4 sync ... Path >> 'c:/tmp/p42/main\...' is not under client's root 'c:\p4'. >=20 > I have seen it too. I'm not sure, but it seems to me like even though > the git-p4 script does a chdir() before calling "p4=20 > " the chdir is "not seen by" p4 on windows. >=20 > I have a patch on my machine where i simply change all the p4 calls, > like so: >=20 > system("p4 sync ...") --> system("p4 sync %s..." % self.clientPath) >=20 > This seems to work in all cases, and also in Mac OS X... I can > probably clean the patch up a bit, and submit it later today or > tomorrow if you're interested. It must mean that you initially didn't have the perforce files synced to = disk according to you client spec, so the command to 'cd' into the=20 perforce directory failed? I think this problem is solved by just doing a= p4 sync //depot/... to make sure that all the files exists on disk, before trying the 'git=20 p4 submit' again. git-p4 does not require checked out files to clone from perforce, but=20 requires the files to exist on disk to be able to submit back to the depo= t. -- =2Emarius --------------enigB03C8E627C9F548CCD7E7C03 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iD8DBQFHyXwGKzzXl/njVP8RAnD1AJ9fO0tpbb2+Q7mnhuDV143WmCNWfgCg8GJ/ 4ymLv0plLkkYbRSma6YuGIg= =QgiT -----END PGP SIGNATURE----- --------------enigB03C8E627C9F548CCD7E7C03--