Code

Fix git-p4 on Windows to not use the Posix sysconf function.
authorMarius Storm-Olsen <marius@trolltech.com>
Fri, 13 Jul 2007 12:39:05 +0000 (14:39 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 15 Jul 2007 02:47:14 +0000 (22:47 -0400)
commit48b4c3d5ab1610c6dc0198fe94334d78e8a82e16
treede029228b82144bbc8f09d56ab5408b52f990bec
parentc7bd55028ff463fa0162bffb35ac519beb462ca5
Fix git-p4 on Windows to not use the Posix sysconf function.

Add condition for Windows, since it doesn't support the os.sysconf module.
We hardcode the commandline limit to 2K, as that should work on most
Windows platforms.

Signed-off-by: Marius Storm-Olsen <marius@trolltech.com>
Acked-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/fast-import/git-p4