On 29. feb.. 2008, at 19.48, Maxim Gordienko wrote:
Thank you, Marius for detailed instructions!
Now everything except submitting back to perforce works like a charm.
Perforce complains about git-p4 checkout is not under it's root
Synchronizing p4 checkout...
executing p4 sync ...
Path 'c:/tmp/p42/main\...' is not under client's root 'c:\p4'.
I have seen it too. I'm not sure, but it seems to me like even though
the git-p4 script does a chdir(<perforce_dir>) before calling "p4
<command> <args>" the chdir is "not seen by" p4 on windows.
I have a patch on my machine where i simply change all the p4 calls,
like so:
system("p4 sync ...") --> system("p4 sync %s..." % self.clientPath)
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.
-- Tor Arvid
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html