##// END OF EJS Templates
tests: fix test-mq-qclone-http (broken by e60aaae83323)
Dirkjan Ochtman -
r7524:7fc19b12 default
parent child Browse files
Show More
@@ -23,8 +23,8 b' root=`pwd`'
23 cd ..
23 cd ..
24
24
25 cat > collections.conf <<EOF
25 cat > collections.conf <<EOF
26 [collections]
26 [paths]
27 $root=$root
27 /=$root/**
28 EOF
28 EOF
29
29
30 hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \
30 hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \
@@ -37,3 +37,19 b' hg qclone http://localhost:$HGPORT/a b'
37 hg --cwd b log --template "{desc}\n"
37 hg --cwd b log --template "{desc}\n"
38 hg --cwd b qpush -a
38 hg --cwd b qpush -a
39 hg --cwd b log --template "{desc}\n"
39 hg --cwd b log --template "{desc}\n"
40
41 cat > collections1.conf <<EOF
42 [paths]
43 /=$root/*
44 EOF
45
46 hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf collections1.conf \
47 -A access-paths.log -E error-paths-1.log
48 cat hg.pid >> $DAEMON_PIDS
49
50 "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw'
51
52 hg qclone http://localhost:$HGPORT1/a c
53 hg --cwd c log --template "{desc}\n"
54 hg --cwd c qpush -a
55 hg --cwd c log --template "{desc}\n"
@@ -27,3 +27,24 b' applying b.patch'
27 Now at: b.patch
27 Now at: b.patch
28 imported patch b.patch
28 imported patch b.patch
29 a
29 a
30 200 Script output follows
31
32
33 /a/
34
35 requesting all changes
36 adding changesets
37 adding manifests
38 adding file changes
39 added 2 changesets with 2 changes to 2 files
40 requesting all changes
41 adding changesets
42 adding manifests
43 adding file changes
44 added 2 changesets with 2 changes to 2 files
45 updating working directory
46 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
47 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
48 a
49 no patches in series
50 a
General Comments 0
You need to be logged in to leave comments. Login now