comparison tests/test-lfs-serve-access.t @ 37691:d241e6632669

lfs: fix the inferred remote store path when using a --prefix This wasn't appending the '.git/info/lfs' path in this case.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 13 Apr 2018 14:16:30 -0400
parents 726c4102db9e
children 10e5bb9678f4
comparison
equal deleted inserted replaced
37690:726c4102db9e 37691:d241e6632669
71 $ hg --config "lfs.usercache=$TESTTMP/servercache" -R server serve -d \ 71 $ hg --config "lfs.usercache=$TESTTMP/servercache" -R server serve -d \
72 > -p $HGPORT --pid-file=hg.pid --prefix=subdir/mount/point \ 72 > -p $HGPORT --pid-file=hg.pid --prefix=subdir/mount/point \
73 > -A $TESTTMP/access.log -E $TESTTMP/errors.log 73 > -A $TESTTMP/access.log -E $TESTTMP/errors.log
74 $ cat hg.pid >> $DAEMON_PIDS 74 $ cat hg.pid >> $DAEMON_PIDS
75 75
76 $ hg --config lfs.url=http://localhost:$HGPORT/subdir/mount/point/.git/info/lfs \ 76 $ hg clone --debug http://localhost:$HGPORT/subdir/mount/point cloned2
77 > clone --debug http://localhost:$HGPORT/subdir/mount/point cloned2
78 using http://localhost:$HGPORT/subdir/mount/point 77 using http://localhost:$HGPORT/subdir/mount/point
79 sending capabilities command 78 sending capabilities command
80 query 1; heads 79 query 1; heads
81 sending batch command 80 sending batch command
82 requesting all changes 81 requesting all changes
102 new changesets 525251863cad 101 new changesets 525251863cad
103 updating to branch default 102 updating to branch default
104 resolving manifests 103 resolving manifests
105 branchmerge: False, force: False, partial: False 104 branchmerge: False, force: False, partial: False
106 ancestor: 000000000000, local: 000000000000+, remote: 525251863cad 105 ancestor: 000000000000, local: 000000000000+, remote: 525251863cad
106 lfs: assuming remote store: http://localhost:$HGPORT/subdir/mount/point/.git/info/lfs
107 Status: 200 107 Status: 200
108 Content-Length: 371 108 Content-Length: 371
109 Content-Type: application/vnd.git-lfs+json 109 Content-Type: application/vnd.git-lfs+json
110 Date: $HTTP_DATE$ 110 Date: $HTTP_DATE$
111 Server: testing stub value 111 Server: testing stub value