Mercurial > hg
annotate tests/test-mq-qclone-http.t @ 15974:cd4504d26695 stable
merge with i18n
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Mon, 23 Jan 2012 16:11:37 -0200 |
parents | f94513971767 |
children | 2605fc990725 |
rev | line source |
---|---|
15446
c5c9ca3719f9
tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents:
12643
diff
changeset
|
1 $ "$TESTDIR/hghave" serve || exit 80 |
6205
b193a6e59131
mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
2 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
3 $ echo "[extensions]" >> $HGRCPATH |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
4 $ echo "mq=" >> $HGRCPATH |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
5 $ mkdir webdir |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
6 $ cd webdir |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
7 $ hg init a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
8 $ hg --cwd a qinit -c |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
9 $ echo a > a/a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
10 $ hg --cwd a ci -A -m a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
11 adding a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
12 $ echo b > a/b |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
13 $ hg --cwd a addremove |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
14 adding b |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
15 $ hg --cwd a qnew -f b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
16 $ hg --cwd a qcommit -m b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
17 $ hg --cwd a log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
18 [mq]: b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
19 a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
20 $ hg --cwd a/.hg/patches log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
21 b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
22 $ root=`pwd` |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
23 $ cd .. |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
24 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
25 test with recursive collection |
6205
b193a6e59131
mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
26 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
27 $ cat > collections.conf <<EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
28 > [paths] |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
29 > /=$root/** |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
30 > EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
31 $ hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
32 > -A access-paths.log -E error-paths-1.log |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
33 $ cat hg.pid >> $DAEMON_PIDS |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
34 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/?style=raw' |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
35 200 Script output follows |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
36 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
37 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
38 /a/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
39 /a/.hg/patches/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
40 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
41 $ hg qclone http://localhost:$HGPORT/a b |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
42 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
43 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
44 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
45 adding file changes |
15926
f94513971767
mq: have mq create secret changeset only
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15446
diff
changeset
|
46 added 1 changesets with 1 changes to 1 files |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
47 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
48 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
49 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
50 adding file changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
51 added 1 changesets with 3 changes to 3 files |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
52 updating to branch default |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
53 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
54 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
55 $ hg --cwd b log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
56 a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
57 $ hg --cwd b qpush -a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
58 applying b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
59 now at: b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
60 $ hg --cwd b log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
61 imported patch b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
62 a |
7525
6a49fa7674c1
hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7524
diff
changeset
|
63 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
64 test with normal collection |
6205
b193a6e59131
mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff
changeset
|
65 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
66 $ cat > collections1.conf <<EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
67 > [paths] |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
68 > /=$root/* |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
69 > EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
70 $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf collections1.conf \ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
71 > -A access-paths.log -E error-paths-1.log |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
72 $ cat hg.pid >> $DAEMON_PIDS |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
73 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '/?style=raw' |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
74 200 Script output follows |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
75 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
76 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
77 /a/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
78 /a/.hg/patches/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
79 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
80 $ hg qclone http://localhost:$HGPORT1/a c |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
81 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
82 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
83 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
84 adding file changes |
15926
f94513971767
mq: have mq create secret changeset only
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15446
diff
changeset
|
85 added 1 changesets with 1 changes to 1 files |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
86 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
87 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
88 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
89 adding file changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
90 added 1 changesets with 3 changes to 3 files |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
91 updating to branch default |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
92 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
94 $ hg --cwd c log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
95 a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
96 $ hg --cwd c qpush -a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
97 applying b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
98 now at: b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
99 $ hg --cwd c log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
100 imported patch b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
101 a |
7525
6a49fa7674c1
hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7524
diff
changeset
|
102 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
103 test with old-style collection |
7524
7fc19b12cb6b
tests: fix test-mq-qclone-http (broken by e60aaae83323)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
6205
diff
changeset
|
104 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
105 $ cat > collections2.conf <<EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
106 > [collections] |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
107 > $root=$root |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
108 > EOF |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
109 $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --webdir-conf collections2.conf \ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
110 > -A access-paths.log -E error-paths-1.log |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
111 $ cat hg.pid >> $DAEMON_PIDS |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
112 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/?style=raw' |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
113 200 Script output follows |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
114 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
115 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
116 /a/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
117 /a/.hg/patches/ |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
118 |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
119 $ hg qclone http://localhost:$HGPORT2/a d |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
120 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
121 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
122 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
123 adding file changes |
15926
f94513971767
mq: have mq create secret changeset only
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15446
diff
changeset
|
124 added 1 changesets with 1 changes to 1 files |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
125 requesting all changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
126 adding changesets |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
127 adding manifests |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
128 adding file changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
129 added 1 changesets with 3 changes to 3 files |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
130 updating to branch default |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
131 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
132 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
133 $ hg --cwd d log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
134 a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
135 $ hg --cwd d qpush -a |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
136 applying b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
137 now at: b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
138 $ hg --cwd d log --template "{desc}\n" |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
139 imported patch b.patch |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
140 a |
7525
6a49fa7674c1
hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7524
diff
changeset
|
141 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
142 test --mq works and uses correct repository config |
7525
6a49fa7674c1
hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7524
diff
changeset
|
143 |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
144 $ hg --cwd d outgoing --mq |
12643
d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents:
12463
diff
changeset
|
145 comparing with http://localhost:$HGPORT2/a/.hg/patches |
12463
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
146 searching for changes |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
147 no changes found |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
148 [1] |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
149 $ hg --cwd d log --mq --template '{rev} {desc|firstline}\n' |
9f551ca3bb44
tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents:
10442
diff
changeset
|
150 0 b.patch |