Re: master: t5800-remote-helpers.sh hangs on test "pulling from remote remote"
On 04/15/2012 01:45 PM, Clemens Buchacher wrote:
Show 26 quoted lines
> Hi Stefano,
>
> Almost there. :-)
>
> On Sun, Apr 15, 2012 at 01:18:20PM +0200, Stefano Lattarini wrote:
>>
>> $ git 'fast-export' '--use-done-feature' \
>> '--export-marks=.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/testgit.marks' \
>> '--import-marks=.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/testgit.marks' \
>> '^refs/testgit/origin/master' 'refs/heads/master' \
>> | git 'fast-import' \
>> '--export-marks=/devel/stefano/src/git/t/trash directory.t5800-remote-helpers/localclone/.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/git.marks' \
>> '--import-marks=/devel/stefano/src/git/t/trash directory.t5800-remote-helpers/localclone/.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/git.marks'
>
> To simulate a git push, you have to run fast-export from localclone and
> fast-import from the server directory. I.e. starting out in
> t/trash directory.t5800-remote-helpers:
>
> $ (cd localclone; git fast-export --use-done-feature \
> --export-marks='.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/testgit.marks' \
> --import-marks='.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/testgit.marks' \
> ^refs/testgit/origin/master refs/heads/master) |
> (cd server; git fast-import \
> --export-marks='/devel/stefano/src/git/t/trash directory.t5800-remote-helpers/localclone/.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/git.marks' \
> --import-marks='/devel/stefano/src/git/t/trash directory.t5800-remote-helpers/localclone/.git/info/fast-import/c6c0871f9a7f12cd3f51aa290fbed7c49f539a8c/git.marks')
>
OK, I cut & pasted your command; it ran successfully, with this output:
git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects: 5000
Total objects: 3 ( 0 duplicates )
blobs : 1 ( 0 duplicates 0 deltas of 1 attempts)
trees : 1 ( 0 duplicates 0 deltas of 1 attempts)
commits: 1 ( 0 duplicates 0 deltas of 0 attempts)
tags : 0 ( 0 duplicates 0 deltas of 0 attempts)
Total branches: 1 ( 1 loads )
marks: 1024 ( 6 unique )
atoms: 1
Memory total: 2294 KiB
pools: 2098 KiB
objects: 195 KiB
---------------------------------------------------------------------
pack_report: getpagesize() = 4096
pack_report: core.packedGitWindowSize = 33554432
pack_report: core.packedGitLimit = 268435456
pack_report: pack_used_ctr = 2
pack_report: pack_mmap_calls = 1
pack_report: pack_open_windows = 1 / 1
pack_report: pack_mapped = 253 / 253
---------------------------------------------------------------------Thanks,
Stefano