author | Benjamin Sergeant <bsergean@gmail.com> | |
Fri, 8 Jun 2007 18:13:55 +0000 (11:13 -0700) | ||
committer | Simon Hausmann <shausman@trolltech.com> | |
Sat, 16 Jun 2007 20:06:06 +0000 (22:06 +0200) | ||
commit | da4a660161cfe9d04c0849d77fa460c6ffc6503c | |
tree | 304d8c69bac57ef51451c8f49ab03dd8d937f89d | tree | snapshot |
parent | 3c699645f589612065b048ecde45a4ea293dc75f | commit | diff |
git-p4 fails when cloning a p4 depo.
A perforce command with all the files in the repo is generated to get
all the file content.
Here is a patch to break it into multiple successive perforce command
who uses 4K of parameter max, and collect the output for later.
It works, but not for big depos, because the whole perforce depo
content is stored in memory in P4Sync.run(), and it looks like mine is
bigger than 2 Gigs, so I had to kill the process.
[Simon: I added the bit about using SC_ARG_MAX, as suggested by Han-Wen]
Signed-off-by: Benjamin Sergeant <bsergean@gmail.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
A perforce command with all the files in the repo is generated to get
all the file content.
Here is a patch to break it into multiple successive perforce command
who uses 4K of parameter max, and collect the output for later.
It works, but not for big depos, because the whole perforce depo
content is stored in memory in P4Sync.run(), and it looks like mine is
bigger than 2 Gigs, so I had to kill the process.
[Simon: I added the bit about using SC_ARG_MAX, as suggested by Han-Wen]
Signed-off-by: Benjamin Sergeant <bsergean@gmail.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4 | diff | blob | history |