Show More
@@ -1,28 +1,30 | |||||
1 | mimetype = 'text/plain; charset={encoding}' |
|
1 | mimetype = 'text/plain; charset={encoding}' | |
2 | header = '' |
|
2 | header = '' | |
3 | footer = '' |
|
3 | footer = '' | |
4 | changeset = changeset.tmpl |
|
4 | changeset = changeset.tmpl | |
5 | difflineplus = '{line}' |
|
5 | difflineplus = '{line}' | |
6 | difflineminus = '{line}' |
|
6 | difflineminus = '{line}' | |
7 | difflineat = '{line}' |
|
7 | difflineat = '{line}' | |
8 | diffline = '{line}' |
|
8 | diffline = '{line}' | |
9 | changesetparent = '# Parent {node}' |
|
9 | changesetparent = '# Parent {node}' | |
10 | changesetchild = '# Child {node}' |
|
10 | changesetchild = '# Child {node}' | |
11 | filenodelink = '' |
|
11 | filenodelink = '' | |
12 | filenolink = '' |
|
12 | filenolink = '' | |
13 | fileline = '{line}' |
|
13 | fileline = '{line}' | |
14 | diffblock = '{lines}' |
|
14 | diffblock = '{lines}' | |
15 | filediff = filediff.tmpl |
|
15 | filediff = filediff.tmpl | |
16 | fileannotate = fileannotate.tmpl |
|
16 | fileannotate = fileannotate.tmpl | |
17 | annotateline = '{author|user}@{rev}: {line}' |
|
17 | annotateline = '{author|user}@{rev}: {line}' | |
18 | manifest = manifest.tmpl |
|
18 | manifest = manifest.tmpl | |
19 | direntry = 'drwxr-xr-x {basename}\n' |
|
19 | direntry = 'drwxr-xr-x {basename}\n' | |
20 | fileentry = '{permissions|permissions} {size} {basename}\n' |
|
20 | fileentry = '{permissions|permissions} {size} {basename}\n' | |
21 | index = index.tmpl |
|
21 | index = index.tmpl | |
22 | notfound = notfound.tmpl |
|
22 | notfound = notfound.tmpl | |
23 | error = error.tmpl |
|
23 | error = error.tmpl | |
24 | indexentry = '{url}\n' |
|
24 | indexentry = '{url}\n' | |
25 | tags = '{entries%tagentry}' |
|
25 | tags = '{entries%tagentry}' | |
26 | tagentry = '{tag} {node}\n' |
|
26 | tagentry = '{tag} {node}\n' | |
|
27 | bookmarks = '{entries%bookmarkentry}' | |||
|
28 | bookmarkentry = '{bookmark} {node}\n' | |||
27 | branches = '{entries%branchentry}' |
|
29 | branches = '{entries%branchentry}' | |
28 | branchentry = '{branch} {node} {status}\n' |
|
30 | branchentry = '{branch} {node} {status}\n' |
@@ -1,1089 +1,1093 | |||||
1 | An attempt at more fully testing the hgweb web interface. |
|
1 | An attempt at more fully testing the hgweb web interface. | |
2 | The following things are tested elsewhere and are therefore omitted: |
|
2 | The following things are tested elsewhere and are therefore omitted: | |
3 | - archive, tested in test-archive |
|
3 | - archive, tested in test-archive | |
4 | - unbundle, tested in test-push-http |
|
4 | - unbundle, tested in test-push-http | |
5 | - changegroupsubset, tested in test-pull |
|
5 | - changegroupsubset, tested in test-pull | |
6 |
|
6 | |||
7 | Set up the repo |
|
7 | Set up the repo | |
8 |
|
8 | |||
9 | $ hg init test |
|
9 | $ hg init test | |
10 | $ cd test |
|
10 | $ cd test | |
11 | $ mkdir da |
|
11 | $ mkdir da | |
12 | $ echo foo > da/foo |
|
12 | $ echo foo > da/foo | |
13 | $ echo foo > foo |
|
13 | $ echo foo > foo | |
14 | $ hg ci -Ambase |
|
14 | $ hg ci -Ambase | |
15 | adding da/foo |
|
15 | adding da/foo | |
16 | adding foo |
|
16 | adding foo | |
17 | $ hg tag 1.0 |
|
17 | $ hg tag 1.0 | |
18 | $ hg bookmark something |
|
18 | $ hg bookmark something | |
19 | $ echo another > foo |
|
19 | $ echo another > foo | |
20 | $ hg branch stable |
|
20 | $ hg branch stable | |
21 | marked working directory as branch stable |
|
21 | marked working directory as branch stable | |
22 | $ hg ci -Ambranch |
|
22 | $ hg ci -Ambranch | |
23 | $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
23 | $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log | |
24 | $ cat hg.pid >> $DAEMON_PIDS |
|
24 | $ cat hg.pid >> $DAEMON_PIDS | |
25 |
|
25 | |||
26 | Logs and changes |
|
26 | Logs and changes | |
27 |
|
27 | |||
28 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/?style=atom' |
|
28 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/?style=atom' | |
29 | 200 Script output follows |
|
29 | 200 Script output follows | |
30 |
|
30 | |||
31 | <?xml version="1.0" encoding="ascii"?> |
|
31 | <?xml version="1.0" encoding="ascii"?> | |
32 | <feed xmlns="http://www.w3.org/2005/Atom"> |
|
32 | <feed xmlns="http://www.w3.org/2005/Atom"> | |
33 | <!-- Changelog --> |
|
33 | <!-- Changelog --> | |
34 | <id>http://*:$HGPORT/</id> (glob) |
|
34 | <id>http://*:$HGPORT/</id> (glob) | |
35 | <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) |
|
35 | <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) | |
36 | <link rel="alternate" href="http://*:$HGPORT/"/> (glob) |
|
36 | <link rel="alternate" href="http://*:$HGPORT/"/> (glob) | |
37 | <title>test Changelog</title> |
|
37 | <title>test Changelog</title> | |
38 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
38 | <updated>1970-01-01T00:00:00+00:00</updated> | |
39 |
|
39 | |||
40 | <entry> |
|
40 | <entry> | |
41 | <title>branch</title> |
|
41 | <title>branch</title> | |
42 | <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
|
42 | <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) | |
43 | <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
|
43 | <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) | |
44 | <author> |
|
44 | <author> | |
45 | <name>test</name> |
|
45 | <name>test</name> | |
46 | <email>test</email> |
|
46 | <email>test</email> | |
47 | </author> |
|
47 | </author> | |
48 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
48 | <updated>1970-01-01T00:00:00+00:00</updated> | |
49 | <published>1970-01-01T00:00:00+00:00</published> |
|
49 | <published>1970-01-01T00:00:00+00:00</published> | |
50 | <content type="xhtml"> |
|
50 | <content type="xhtml"> | |
51 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
51 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
52 | <pre xml:space="preserve">branch</pre> |
|
52 | <pre xml:space="preserve">branch</pre> | |
53 | </div> |
|
53 | </div> | |
54 | </content> |
|
54 | </content> | |
55 | </entry> |
|
55 | </entry> | |
56 | <entry> |
|
56 | <entry> | |
57 | <title>Added tag 1.0 for changeset 2ef0ac749a14</title> |
|
57 | <title>Added tag 1.0 for changeset 2ef0ac749a14</title> | |
58 | <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) |
|
58 | <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) | |
59 | <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) |
|
59 | <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) | |
60 | <author> |
|
60 | <author> | |
61 | <name>test</name> |
|
61 | <name>test</name> | |
62 | <email>test</email> |
|
62 | <email>test</email> | |
63 | </author> |
|
63 | </author> | |
64 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
64 | <updated>1970-01-01T00:00:00+00:00</updated> | |
65 | <published>1970-01-01T00:00:00+00:00</published> |
|
65 | <published>1970-01-01T00:00:00+00:00</published> | |
66 | <content type="xhtml"> |
|
66 | <content type="xhtml"> | |
67 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
67 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
68 | <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> |
|
68 | <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> | |
69 | </div> |
|
69 | </div> | |
70 | </content> |
|
70 | </content> | |
71 | </entry> |
|
71 | </entry> | |
72 | <entry> |
|
72 | <entry> | |
73 | <title>base</title> |
|
73 | <title>base</title> | |
74 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
|
74 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) | |
75 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
|
75 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) | |
76 | <author> |
|
76 | <author> | |
77 | <name>test</name> |
|
77 | <name>test</name> | |
78 | <email>test</email> |
|
78 | <email>test</email> | |
79 | </author> |
|
79 | </author> | |
80 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
80 | <updated>1970-01-01T00:00:00+00:00</updated> | |
81 | <published>1970-01-01T00:00:00+00:00</published> |
|
81 | <published>1970-01-01T00:00:00+00:00</published> | |
82 | <content type="xhtml"> |
|
82 | <content type="xhtml"> | |
83 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
83 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
84 | <pre xml:space="preserve">base</pre> |
|
84 | <pre xml:space="preserve">base</pre> | |
85 | </div> |
|
85 | </div> | |
86 | </content> |
|
86 | </content> | |
87 | </entry> |
|
87 | </entry> | |
88 |
|
88 | |||
89 | </feed> |
|
89 | </feed> | |
90 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/?style=atom' |
|
90 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/?style=atom' | |
91 | 200 Script output follows |
|
91 | 200 Script output follows | |
92 |
|
92 | |||
93 | <?xml version="1.0" encoding="ascii"?> |
|
93 | <?xml version="1.0" encoding="ascii"?> | |
94 | <feed xmlns="http://www.w3.org/2005/Atom"> |
|
94 | <feed xmlns="http://www.w3.org/2005/Atom"> | |
95 | <!-- Changelog --> |
|
95 | <!-- Changelog --> | |
96 | <id>http://*:$HGPORT/</id> (glob) |
|
96 | <id>http://*:$HGPORT/</id> (glob) | |
97 | <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) |
|
97 | <link rel="self" href="http://*:$HGPORT/atom-log"/> (glob) | |
98 | <link rel="alternate" href="http://*:$HGPORT/"/> (glob) |
|
98 | <link rel="alternate" href="http://*:$HGPORT/"/> (glob) | |
99 | <title>test Changelog</title> |
|
99 | <title>test Changelog</title> | |
100 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
100 | <updated>1970-01-01T00:00:00+00:00</updated> | |
101 |
|
101 | |||
102 | <entry> |
|
102 | <entry> | |
103 | <title>branch</title> |
|
103 | <title>branch</title> | |
104 | <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) |
|
104 | <id>http://*:$HGPORT/#changeset-1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe</id> (glob) | |
105 | <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) |
|
105 | <link href="http://*:$HGPORT/rev/1d22e65f027e"/> (glob) | |
106 | <author> |
|
106 | <author> | |
107 | <name>test</name> |
|
107 | <name>test</name> | |
108 | <email>test</email> |
|
108 | <email>test</email> | |
109 | </author> |
|
109 | </author> | |
110 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
110 | <updated>1970-01-01T00:00:00+00:00</updated> | |
111 | <published>1970-01-01T00:00:00+00:00</published> |
|
111 | <published>1970-01-01T00:00:00+00:00</published> | |
112 | <content type="xhtml"> |
|
112 | <content type="xhtml"> | |
113 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
113 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
114 | <pre xml:space="preserve">branch</pre> |
|
114 | <pre xml:space="preserve">branch</pre> | |
115 | </div> |
|
115 | </div> | |
116 | </content> |
|
116 | </content> | |
117 | </entry> |
|
117 | </entry> | |
118 | <entry> |
|
118 | <entry> | |
119 | <title>Added tag 1.0 for changeset 2ef0ac749a14</title> |
|
119 | <title>Added tag 1.0 for changeset 2ef0ac749a14</title> | |
120 | <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) |
|
120 | <id>http://*:$HGPORT/#changeset-a4f92ed23982be056b9852de5dfe873eaac7f0de</id> (glob) | |
121 | <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) |
|
121 | <link href="http://*:$HGPORT/rev/a4f92ed23982"/> (glob) | |
122 | <author> |
|
122 | <author> | |
123 | <name>test</name> |
|
123 | <name>test</name> | |
124 | <email>test</email> |
|
124 | <email>test</email> | |
125 | </author> |
|
125 | </author> | |
126 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
126 | <updated>1970-01-01T00:00:00+00:00</updated> | |
127 | <published>1970-01-01T00:00:00+00:00</published> |
|
127 | <published>1970-01-01T00:00:00+00:00</published> | |
128 | <content type="xhtml"> |
|
128 | <content type="xhtml"> | |
129 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
129 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
130 | <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> |
|
130 | <pre xml:space="preserve">Added tag 1.0 for changeset 2ef0ac749a14</pre> | |
131 | </div> |
|
131 | </div> | |
132 | </content> |
|
132 | </content> | |
133 | </entry> |
|
133 | </entry> | |
134 | <entry> |
|
134 | <entry> | |
135 | <title>base</title> |
|
135 | <title>base</title> | |
136 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
|
136 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) | |
137 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
|
137 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) | |
138 | <author> |
|
138 | <author> | |
139 | <name>test</name> |
|
139 | <name>test</name> | |
140 | <email>test</email> |
|
140 | <email>test</email> | |
141 | </author> |
|
141 | </author> | |
142 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
142 | <updated>1970-01-01T00:00:00+00:00</updated> | |
143 | <published>1970-01-01T00:00:00+00:00</published> |
|
143 | <published>1970-01-01T00:00:00+00:00</published> | |
144 | <content type="xhtml"> |
|
144 | <content type="xhtml"> | |
145 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
145 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
146 | <pre xml:space="preserve">base</pre> |
|
146 | <pre xml:space="preserve">base</pre> | |
147 | </div> |
|
147 | </div> | |
148 | </content> |
|
148 | </content> | |
149 | </entry> |
|
149 | </entry> | |
150 |
|
150 | |||
151 | </feed> |
|
151 | </feed> | |
152 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/foo/?style=atom' |
|
152 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log/1/foo/?style=atom' | |
153 | 200 Script output follows |
|
153 | 200 Script output follows | |
154 |
|
154 | |||
155 | <?xml version="1.0" encoding="ascii"?> |
|
155 | <?xml version="1.0" encoding="ascii"?> | |
156 | <feed xmlns="http://www.w3.org/2005/Atom"> |
|
156 | <feed xmlns="http://www.w3.org/2005/Atom"> | |
157 | <id>http://*:$HGPORT/atom-log/tip/foo</id> (glob) |
|
157 | <id>http://*:$HGPORT/atom-log/tip/foo</id> (glob) | |
158 | <link rel="self" href="http://*:$HGPORT/atom-log/tip/foo"/> (glob) |
|
158 | <link rel="self" href="http://*:$HGPORT/atom-log/tip/foo"/> (glob) | |
159 | <title>test: foo history</title> |
|
159 | <title>test: foo history</title> | |
160 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
160 | <updated>1970-01-01T00:00:00+00:00</updated> | |
161 |
|
161 | |||
162 | <entry> |
|
162 | <entry> | |
163 | <title>base</title> |
|
163 | <title>base</title> | |
164 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) |
|
164 | <id>http://*:$HGPORT/#changeset-2ef0ac749a14e4f57a5a822464a0902c6f7f448f</id> (glob) | |
165 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) |
|
165 | <link href="http://*:$HGPORT/rev/2ef0ac749a14"/> (glob) | |
166 | <author> |
|
166 | <author> | |
167 | <name>test</name> |
|
167 | <name>test</name> | |
168 | <email>test</email> |
|
168 | <email>test</email> | |
169 | </author> |
|
169 | </author> | |
170 | <updated>1970-01-01T00:00:00+00:00</updated> |
|
170 | <updated>1970-01-01T00:00:00+00:00</updated> | |
171 | <published>1970-01-01T00:00:00+00:00</published> |
|
171 | <published>1970-01-01T00:00:00+00:00</published> | |
172 | <content type="xhtml"> |
|
172 | <content type="xhtml"> | |
173 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
173 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
174 | <pre xml:space="preserve">base</pre> |
|
174 | <pre xml:space="preserve">base</pre> | |
175 | </div> |
|
175 | </div> | |
176 | </content> |
|
176 | </content> | |
177 | </entry> |
|
177 | </entry> | |
178 |
|
178 | |||
179 | </feed> |
|
179 | </feed> | |
180 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/shortlog/' |
|
180 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/shortlog/' | |
181 | 200 Script output follows |
|
181 | 200 Script output follows | |
182 |
|
182 | |||
183 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
183 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
184 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
184 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
185 | <head> |
|
185 | <head> | |
186 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
186 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
187 | <meta name="robots" content="index, nofollow" /> |
|
187 | <meta name="robots" content="index, nofollow" /> | |
188 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
188 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
189 |
|
189 | |||
190 | <title>test: log</title> |
|
190 | <title>test: log</title> | |
191 | <link rel="alternate" type="application/atom+xml" |
|
191 | <link rel="alternate" type="application/atom+xml" | |
192 | href="/atom-log" title="Atom feed for test" /> |
|
192 | href="/atom-log" title="Atom feed for test" /> | |
193 | <link rel="alternate" type="application/rss+xml" |
|
193 | <link rel="alternate" type="application/rss+xml" | |
194 | href="/rss-log" title="RSS feed for test" /> |
|
194 | href="/rss-log" title="RSS feed for test" /> | |
195 | </head> |
|
195 | </head> | |
196 | <body> |
|
196 | <body> | |
197 |
|
197 | |||
198 | <div class="container"> |
|
198 | <div class="container"> | |
199 | <div class="menu"> |
|
199 | <div class="menu"> | |
200 | <div class="logo"> |
|
200 | <div class="logo"> | |
201 | <a href="http://mercurial.selenic.com/"> |
|
201 | <a href="http://mercurial.selenic.com/"> | |
202 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
202 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
203 | </div> |
|
203 | </div> | |
204 | <ul> |
|
204 | <ul> | |
205 | <li class="active">log</li> |
|
205 | <li class="active">log</li> | |
206 | <li><a href="/graph/1d22e65f027e">graph</a></li> |
|
206 | <li><a href="/graph/1d22e65f027e">graph</a></li> | |
207 | <li><a href="/tags">tags</a></li> |
|
207 | <li><a href="/tags">tags</a></li> | |
208 | <li><a href="/bookmarks">bookmarks</a></li> |
|
208 | <li><a href="/bookmarks">bookmarks</a></li> | |
209 | <li><a href="/branches">branches</a></li> |
|
209 | <li><a href="/branches">branches</a></li> | |
210 | </ul> |
|
210 | </ul> | |
211 | <ul> |
|
211 | <ul> | |
212 | <li><a href="/rev/1d22e65f027e">changeset</a></li> |
|
212 | <li><a href="/rev/1d22e65f027e">changeset</a></li> | |
213 | <li><a href="/file/1d22e65f027e">browse</a></li> |
|
213 | <li><a href="/file/1d22e65f027e">browse</a></li> | |
214 | </ul> |
|
214 | </ul> | |
215 | <ul> |
|
215 | <ul> | |
216 |
|
216 | |||
217 | </ul> |
|
217 | </ul> | |
218 | <ul> |
|
218 | <ul> | |
219 | <li><a href="/help">help</a></li> |
|
219 | <li><a href="/help">help</a></li> | |
220 | </ul> |
|
220 | </ul> | |
221 | </div> |
|
221 | </div> | |
222 |
|
222 | |||
223 | <div class="main"> |
|
223 | <div class="main"> | |
224 | <h2><a href="/">test</a></h2> |
|
224 | <h2><a href="/">test</a></h2> | |
225 | <h3>log</h3> |
|
225 | <h3>log</h3> | |
226 |
|
226 | |||
227 | <form class="search" action="/log"> |
|
227 | <form class="search" action="/log"> | |
228 |
|
228 | |||
229 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
229 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
230 | <div id="hint">find changesets by author, revision, |
|
230 | <div id="hint">find changesets by author, revision, | |
231 | files, or words in the commit message</div> |
|
231 | files, or words in the commit message</div> | |
232 | </form> |
|
232 | </form> | |
233 |
|
233 | |||
234 | <div class="navigate"> |
|
234 | <div class="navigate"> | |
235 | <a href="/shortlog/2?revcount=30">less</a> |
|
235 | <a href="/shortlog/2?revcount=30">less</a> | |
236 | <a href="/shortlog/2?revcount=120">more</a> |
|
236 | <a href="/shortlog/2?revcount=120">more</a> | |
237 | | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
|
237 | | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> | |
238 | </div> |
|
238 | </div> | |
239 |
|
239 | |||
240 | <table class="bigtable"> |
|
240 | <table class="bigtable"> | |
241 | <tr> |
|
241 | <tr> | |
242 | <th class="age">age</th> |
|
242 | <th class="age">age</th> | |
243 | <th class="author">author</th> |
|
243 | <th class="author">author</th> | |
244 | <th class="description">description</th> |
|
244 | <th class="description">description</th> | |
245 | </tr> |
|
245 | </tr> | |
246 | <tr class="parity0"> |
|
246 | <tr class="parity0"> | |
247 | <td class="age">1970-01-01</td> |
|
247 | <td class="age">1970-01-01</td> | |
248 | <td class="author">test</td> |
|
248 | <td class="author">test</td> | |
249 | <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> <span class="tag">something</span> </td> |
|
249 | <td class="description"><a href="/rev/1d22e65f027e">branch</a><span class="branchhead">stable</span> <span class="tag">tip</span> <span class="tag">something</span> </td> | |
250 | </tr> |
|
250 | </tr> | |
251 | <tr class="parity1"> |
|
251 | <tr class="parity1"> | |
252 | <td class="age">1970-01-01</td> |
|
252 | <td class="age">1970-01-01</td> | |
253 | <td class="author">test</td> |
|
253 | <td class="author">test</td> | |
254 | <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td> |
|
254 | <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td> | |
255 | </tr> |
|
255 | </tr> | |
256 | <tr class="parity0"> |
|
256 | <tr class="parity0"> | |
257 | <td class="age">1970-01-01</td> |
|
257 | <td class="age">1970-01-01</td> | |
258 | <td class="author">test</td> |
|
258 | <td class="author">test</td> | |
259 | <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> |
|
259 | <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> | |
260 | </tr> |
|
260 | </tr> | |
261 |
|
261 | |||
262 | </table> |
|
262 | </table> | |
263 |
|
263 | |||
264 | <div class="navigate"> |
|
264 | <div class="navigate"> | |
265 | <a href="/shortlog/2?revcount=30">less</a> |
|
265 | <a href="/shortlog/2?revcount=30">less</a> | |
266 | <a href="/shortlog/2?revcount=120">more</a> |
|
266 | <a href="/shortlog/2?revcount=120">more</a> | |
267 | | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> |
|
267 | | rev 2: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> | |
268 | </div> |
|
268 | </div> | |
269 |
|
269 | |||
270 | </div> |
|
270 | </div> | |
271 | </div> |
|
271 | </div> | |
272 |
|
272 | |||
273 |
|
273 | |||
274 |
|
274 | |||
275 | </body> |
|
275 | </body> | |
276 | </html> |
|
276 | </html> | |
277 |
|
277 | |||
278 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/0/' |
|
278 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/0/' | |
279 | 200 Script output follows |
|
279 | 200 Script output follows | |
280 |
|
280 | |||
281 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
281 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
282 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
282 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
283 | <head> |
|
283 | <head> | |
284 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
284 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
285 | <meta name="robots" content="index, nofollow" /> |
|
285 | <meta name="robots" content="index, nofollow" /> | |
286 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
286 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
287 |
|
287 | |||
288 | <title>test: 2ef0ac749a14</title> |
|
288 | <title>test: 2ef0ac749a14</title> | |
289 | </head> |
|
289 | </head> | |
290 | <body> |
|
290 | <body> | |
291 | <div class="container"> |
|
291 | <div class="container"> | |
292 | <div class="menu"> |
|
292 | <div class="menu"> | |
293 | <div class="logo"> |
|
293 | <div class="logo"> | |
294 | <a href="http://mercurial.selenic.com/"> |
|
294 | <a href="http://mercurial.selenic.com/"> | |
295 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
295 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
296 | </div> |
|
296 | </div> | |
297 | <ul> |
|
297 | <ul> | |
298 | <li><a href="/shortlog/2ef0ac749a14">log</a></li> |
|
298 | <li><a href="/shortlog/2ef0ac749a14">log</a></li> | |
299 | <li><a href="/graph/2ef0ac749a14">graph</a></li> |
|
299 | <li><a href="/graph/2ef0ac749a14">graph</a></li> | |
300 | <li><a href="/tags">tags</a></li> |
|
300 | <li><a href="/tags">tags</a></li> | |
301 | <li><a href="/bookmarks">bookmarks</a></li> |
|
301 | <li><a href="/bookmarks">bookmarks</a></li> | |
302 | <li><a href="/branches">branches</a></li> |
|
302 | <li><a href="/branches">branches</a></li> | |
303 | </ul> |
|
303 | </ul> | |
304 | <ul> |
|
304 | <ul> | |
305 | <li class="active">changeset</li> |
|
305 | <li class="active">changeset</li> | |
306 | <li><a href="/raw-rev/2ef0ac749a14">raw</a></li> |
|
306 | <li><a href="/raw-rev/2ef0ac749a14">raw</a></li> | |
307 | <li><a href="/file/2ef0ac749a14">browse</a></li> |
|
307 | <li><a href="/file/2ef0ac749a14">browse</a></li> | |
308 | </ul> |
|
308 | </ul> | |
309 | <ul> |
|
309 | <ul> | |
310 |
|
310 | |||
311 | </ul> |
|
311 | </ul> | |
312 | <ul> |
|
312 | <ul> | |
313 | <li><a href="/help">help</a></li> |
|
313 | <li><a href="/help">help</a></li> | |
314 | </ul> |
|
314 | </ul> | |
315 | </div> |
|
315 | </div> | |
316 |
|
316 | |||
317 | <div class="main"> |
|
317 | <div class="main"> | |
318 |
|
318 | |||
319 | <h2><a href="/">test</a></h2> |
|
319 | <h2><a href="/">test</a></h2> | |
320 | <h3>changeset 0:2ef0ac749a14 <span class="tag">1.0</span> </h3> |
|
320 | <h3>changeset 0:2ef0ac749a14 <span class="tag">1.0</span> </h3> | |
321 |
|
321 | |||
322 | <form class="search" action="/log"> |
|
322 | <form class="search" action="/log"> | |
323 |
|
323 | |||
324 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
324 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
325 | <div id="hint">find changesets by author, revision, |
|
325 | <div id="hint">find changesets by author, revision, | |
326 | files, or words in the commit message</div> |
|
326 | files, or words in the commit message</div> | |
327 | </form> |
|
327 | </form> | |
328 |
|
328 | |||
329 | <div class="description">base</div> |
|
329 | <div class="description">base</div> | |
330 |
|
330 | |||
331 | <table id="changesetEntry"> |
|
331 | <table id="changesetEntry"> | |
332 | <tr> |
|
332 | <tr> | |
333 | <th class="author">author</th> |
|
333 | <th class="author">author</th> | |
334 | <td class="author">test</td> |
|
334 | <td class="author">test</td> | |
335 | </tr> |
|
335 | </tr> | |
336 | <tr> |
|
336 | <tr> | |
337 | <th class="date">date</th> |
|
337 | <th class="date">date</th> | |
338 | <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr> |
|
338 | <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr> | |
339 | <tr> |
|
339 | <tr> | |
340 | <th class="author">parents</th> |
|
340 | <th class="author">parents</th> | |
341 | <td class="author"></td> |
|
341 | <td class="author"></td> | |
342 | </tr> |
|
342 | </tr> | |
343 | <tr> |
|
343 | <tr> | |
344 | <th class="author">children</th> |
|
344 | <th class="author">children</th> | |
345 | <td class="author"> <a href="/rev/a4f92ed23982">a4f92ed23982</a></td> |
|
345 | <td class="author"> <a href="/rev/a4f92ed23982">a4f92ed23982</a></td> | |
346 | </tr> |
|
346 | </tr> | |
347 | <tr> |
|
347 | <tr> | |
348 | <th class="files">files</th> |
|
348 | <th class="files">files</th> | |
349 | <td class="files"><a href="/file/2ef0ac749a14/da/foo">da/foo</a> <a href="/file/2ef0ac749a14/foo">foo</a> </td> |
|
349 | <td class="files"><a href="/file/2ef0ac749a14/da/foo">da/foo</a> <a href="/file/2ef0ac749a14/foo">foo</a> </td> | |
350 | </tr> |
|
350 | </tr> | |
351 | </table> |
|
351 | </table> | |
352 |
|
352 | |||
353 | <div class="overflow"> |
|
353 | <div class="overflow"> | |
354 | <div class="sourcefirst"> line diff</div> |
|
354 | <div class="sourcefirst"> line diff</div> | |
355 |
|
355 | |||
356 | <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
356 | <div class="source bottomline parity0"><pre><a href="#l1.1" id="l1.1"> 1.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
357 | </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/da/foo Thu Jan 01 00:00:00 1970 +0000 |
|
357 | </span><a href="#l1.2" id="l1.2"> 1.2</a> <span class="plusline">+++ b/da/foo Thu Jan 01 00:00:00 1970 +0000 | |
358 | </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@ |
|
358 | </span><a href="#l1.3" id="l1.3"> 1.3</a> <span class="atline">@@ -0,0 +1,1 @@ | |
359 | </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+foo |
|
359 | </span><a href="#l1.4" id="l1.4"> 1.4</a> <span class="plusline">+foo | |
360 | </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
360 | </span></pre></div><div class="source bottomline parity1"><pre><a href="#l2.1" id="l2.1"> 2.1</a> <span class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
361 | </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
361 | </span><a href="#l2.2" id="l2.2"> 2.2</a> <span class="plusline">+++ b/foo Thu Jan 01 00:00:00 1970 +0000 | |
362 | </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@ |
|
362 | </span><a href="#l2.3" id="l2.3"> 2.3</a> <span class="atline">@@ -0,0 +1,1 @@ | |
363 | </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+foo |
|
363 | </span><a href="#l2.4" id="l2.4"> 2.4</a> <span class="plusline">+foo | |
364 | </span></pre></div> |
|
364 | </span></pre></div> | |
365 | </div> |
|
365 | </div> | |
366 |
|
366 | |||
367 | </div> |
|
367 | </div> | |
368 | </div> |
|
368 | </div> | |
369 |
|
369 | |||
370 |
|
370 | |||
371 | </body> |
|
371 | </body> | |
372 | </html> |
|
372 | </html> | |
373 |
|
373 | |||
374 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/1/?style=raw' |
|
374 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/rev/1/?style=raw' | |
375 | 200 Script output follows |
|
375 | 200 Script output follows | |
376 |
|
376 | |||
377 |
|
377 | |||
378 | # HG changeset patch |
|
378 | # HG changeset patch | |
379 | # User test |
|
379 | # User test | |
380 | # Date 0 0 |
|
380 | # Date 0 0 | |
381 | # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de |
|
381 | # Node ID a4f92ed23982be056b9852de5dfe873eaac7f0de | |
382 | # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
|
382 | # Parent 2ef0ac749a14e4f57a5a822464a0902c6f7f448f | |
383 | Added tag 1.0 for changeset 2ef0ac749a14 |
|
383 | Added tag 1.0 for changeset 2ef0ac749a14 | |
384 |
|
384 | |||
385 | diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags |
|
385 | diff -r 2ef0ac749a14 -r a4f92ed23982 .hgtags | |
386 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
386 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
387 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 |
|
387 | +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000 | |
388 | @@ -0,0 +1,1 @@ |
|
388 | @@ -0,0 +1,1 @@ | |
389 | +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0 |
|
389 | +2ef0ac749a14e4f57a5a822464a0902c6f7f448f 1.0 | |
390 |
|
390 | |||
391 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log?rev=base' |
|
391 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/log?rev=base' | |
392 | 200 Script output follows |
|
392 | 200 Script output follows | |
393 |
|
393 | |||
394 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
394 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
395 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
395 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
396 | <head> |
|
396 | <head> | |
397 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
397 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
398 | <meta name="robots" content="index, nofollow" /> |
|
398 | <meta name="robots" content="index, nofollow" /> | |
399 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
399 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
400 |
|
400 | |||
401 | <title>test: searching for base</title> |
|
401 | <title>test: searching for base</title> | |
402 | </head> |
|
402 | </head> | |
403 | <body> |
|
403 | <body> | |
404 |
|
404 | |||
405 | <div class="container"> |
|
405 | <div class="container"> | |
406 | <div class="menu"> |
|
406 | <div class="menu"> | |
407 | <div class="logo"> |
|
407 | <div class="logo"> | |
408 | <a href="http://mercurial.selenic.com/"> |
|
408 | <a href="http://mercurial.selenic.com/"> | |
409 | <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> |
|
409 | <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> | |
410 | </div> |
|
410 | </div> | |
411 | <ul> |
|
411 | <ul> | |
412 | <li><a href="/shortlog">log</a></li> |
|
412 | <li><a href="/shortlog">log</a></li> | |
413 | <li><a href="/graph">graph</a></li> |
|
413 | <li><a href="/graph">graph</a></li> | |
414 | <li><a href="/tags">tags</a></li> |
|
414 | <li><a href="/tags">tags</a></li> | |
415 | <li><a href="/bookmarks">bookmarks</a></li> |
|
415 | <li><a href="/bookmarks">bookmarks</a></li> | |
416 | <li><a href="/branches">branches</a></li> |
|
416 | <li><a href="/branches">branches</a></li> | |
417 | <li><a href="/help">help</a></li> |
|
417 | <li><a href="/help">help</a></li> | |
418 | </ul> |
|
418 | </ul> | |
419 | </div> |
|
419 | </div> | |
420 |
|
420 | |||
421 | <div class="main"> |
|
421 | <div class="main"> | |
422 | <h2><a href="/">test</a></h2> |
|
422 | <h2><a href="/">test</a></h2> | |
423 | <h3>searching for 'base'</h3> |
|
423 | <h3>searching for 'base'</h3> | |
424 |
|
424 | |||
425 | <form class="search" action="/log"> |
|
425 | <form class="search" action="/log"> | |
426 |
|
426 | |||
427 | <p><input name="rev" id="search1" type="text" size="30"></p> |
|
427 | <p><input name="rev" id="search1" type="text" size="30"></p> | |
428 | <div id="hint">find changesets by author, revision, |
|
428 | <div id="hint">find changesets by author, revision, | |
429 | files, or words in the commit message</div> |
|
429 | files, or words in the commit message</div> | |
430 | </form> |
|
430 | </form> | |
431 |
|
431 | |||
432 | <div class="navigate"> |
|
432 | <div class="navigate"> | |
433 | <a href="/search/?rev=base&revcount=5">less</a> |
|
433 | <a href="/search/?rev=base&revcount=5">less</a> | |
434 | <a href="/search/?rev=base&revcount=20">more</a> |
|
434 | <a href="/search/?rev=base&revcount=20">more</a> | |
435 | </div> |
|
435 | </div> | |
436 |
|
436 | |||
437 | <table class="bigtable"> |
|
437 | <table class="bigtable"> | |
438 | <tr> |
|
438 | <tr> | |
439 | <th class="age">age</th> |
|
439 | <th class="age">age</th> | |
440 | <th class="author">author</th> |
|
440 | <th class="author">author</th> | |
441 | <th class="description">description</th> |
|
441 | <th class="description">description</th> | |
442 | </tr> |
|
442 | </tr> | |
443 | <tr class="parity0"> |
|
443 | <tr class="parity0"> | |
444 | <td class="age">1970-01-01</td> |
|
444 | <td class="age">1970-01-01</td> | |
445 | <td class="author">test</td> |
|
445 | <td class="author">test</td> | |
446 | <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> |
|
446 | <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> </td> | |
447 | </tr> |
|
447 | </tr> | |
448 |
|
448 | |||
449 | </table> |
|
449 | </table> | |
450 |
|
450 | |||
451 | <div class="navigate"> |
|
451 | <div class="navigate"> | |
452 | <a href="/search/?rev=base&revcount=5">less</a> |
|
452 | <a href="/search/?rev=base&revcount=5">less</a> | |
453 | <a href="/search/?rev=base&revcount=20">more</a> |
|
453 | <a href="/search/?rev=base&revcount=20">more</a> | |
454 | </div> |
|
454 | </div> | |
455 |
|
455 | |||
456 | </div> |
|
456 | </div> | |
457 | </div> |
|
457 | </div> | |
458 |
|
458 | |||
459 |
|
459 | |||
460 |
|
460 | |||
461 | </body> |
|
461 | </body> | |
462 | </html> |
|
462 | </html> | |
463 |
|
463 | |||
464 |
|
464 | |||
465 | File-related |
|
465 | File-related | |
466 |
|
466 | |||
467 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo/?style=raw' |
|
467 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo/?style=raw' | |
468 | 200 Script output follows |
|
468 | 200 Script output follows | |
469 |
|
469 | |||
470 | foo |
|
470 | foo | |
471 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/annotate/1/foo/?style=raw' |
|
471 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/annotate/1/foo/?style=raw' | |
472 | 200 Script output follows |
|
472 | 200 Script output follows | |
473 |
|
473 | |||
474 |
|
474 | |||
475 | test@0: foo |
|
475 | test@0: foo | |
476 |
|
476 | |||
477 |
|
477 | |||
478 |
|
478 | |||
479 |
|
479 | |||
480 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/?style=raw' |
|
480 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/?style=raw' | |
481 | 200 Script output follows |
|
481 | 200 Script output follows | |
482 |
|
482 | |||
483 |
|
483 | |||
484 | drwxr-xr-x da |
|
484 | drwxr-xr-x da | |
485 | -rw-r--r-- 45 .hgtags |
|
485 | -rw-r--r-- 45 .hgtags | |
486 | -rw-r--r-- 4 foo |
|
486 | -rw-r--r-- 4 foo | |
487 |
|
487 | |||
488 |
|
488 | |||
489 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo' |
|
489 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file/1/foo' | |
490 | 200 Script output follows |
|
490 | 200 Script output follows | |
491 |
|
491 | |||
492 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
492 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
493 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
493 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
494 | <head> |
|
494 | <head> | |
495 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
495 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
496 | <meta name="robots" content="index, nofollow" /> |
|
496 | <meta name="robots" content="index, nofollow" /> | |
497 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
497 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
498 |
|
498 | |||
499 | <title>test: a4f92ed23982 foo</title> |
|
499 | <title>test: a4f92ed23982 foo</title> | |
500 | </head> |
|
500 | </head> | |
501 | <body> |
|
501 | <body> | |
502 |
|
502 | |||
503 | <div class="container"> |
|
503 | <div class="container"> | |
504 | <div class="menu"> |
|
504 | <div class="menu"> | |
505 | <div class="logo"> |
|
505 | <div class="logo"> | |
506 | <a href="http://mercurial.selenic.com/"> |
|
506 | <a href="http://mercurial.selenic.com/"> | |
507 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
507 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
508 | </div> |
|
508 | </div> | |
509 | <ul> |
|
509 | <ul> | |
510 | <li><a href="/shortlog/a4f92ed23982">log</a></li> |
|
510 | <li><a href="/shortlog/a4f92ed23982">log</a></li> | |
511 | <li><a href="/graph/a4f92ed23982">graph</a></li> |
|
511 | <li><a href="/graph/a4f92ed23982">graph</a></li> | |
512 | <li><a href="/tags">tags</a></li> |
|
512 | <li><a href="/tags">tags</a></li> | |
513 | <li><a href="/branches">branches</a></li> |
|
513 | <li><a href="/branches">branches</a></li> | |
514 | </ul> |
|
514 | </ul> | |
515 | <ul> |
|
515 | <ul> | |
516 | <li><a href="/rev/a4f92ed23982">changeset</a></li> |
|
516 | <li><a href="/rev/a4f92ed23982">changeset</a></li> | |
517 | <li><a href="/file/a4f92ed23982/">browse</a></li> |
|
517 | <li><a href="/file/a4f92ed23982/">browse</a></li> | |
518 | </ul> |
|
518 | </ul> | |
519 | <ul> |
|
519 | <ul> | |
520 | <li class="active">file</li> |
|
520 | <li class="active">file</li> | |
521 | <li><a href="/file/tip/foo">latest</a></li> |
|
521 | <li><a href="/file/tip/foo">latest</a></li> | |
522 | <li><a href="/diff/a4f92ed23982/foo">diff</a></li> |
|
522 | <li><a href="/diff/a4f92ed23982/foo">diff</a></li> | |
523 | <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li> |
|
523 | <li><a href="/annotate/a4f92ed23982/foo">annotate</a></li> | |
524 | <li><a href="/log/a4f92ed23982/foo">file log</a></li> |
|
524 | <li><a href="/log/a4f92ed23982/foo">file log</a></li> | |
525 | <li><a href="/raw-file/a4f92ed23982/foo">raw</a></li> |
|
525 | <li><a href="/raw-file/a4f92ed23982/foo">raw</a></li> | |
526 | </ul> |
|
526 | </ul> | |
527 | <ul> |
|
527 | <ul> | |
528 | <li><a href="/help">help</a></li> |
|
528 | <li><a href="/help">help</a></li> | |
529 | </ul> |
|
529 | </ul> | |
530 | </div> |
|
530 | </div> | |
531 |
|
531 | |||
532 | <div class="main"> |
|
532 | <div class="main"> | |
533 | <h2><a href="/">test</a></h2> |
|
533 | <h2><a href="/">test</a></h2> | |
534 | <h3>view foo @ 1:a4f92ed23982</h3> |
|
534 | <h3>view foo @ 1:a4f92ed23982</h3> | |
535 |
|
535 | |||
536 | <form class="search" action="/log"> |
|
536 | <form class="search" action="/log"> | |
537 |
|
537 | |||
538 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
538 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
539 | <div id="hint">find changesets by author, revision, |
|
539 | <div id="hint">find changesets by author, revision, | |
540 | files, or words in the commit message</div> |
|
540 | files, or words in the commit message</div> | |
541 | </form> |
|
541 | </form> | |
542 |
|
542 | |||
543 | <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div> |
|
543 | <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div> | |
544 |
|
544 | |||
545 | <table id="changesetEntry"> |
|
545 | <table id="changesetEntry"> | |
546 | <tr> |
|
546 | <tr> | |
547 | <th class="author">author</th> |
|
547 | <th class="author">author</th> | |
548 | <td class="author">test</td> |
|
548 | <td class="author">test</td> | |
549 | </tr> |
|
549 | </tr> | |
550 | <tr> |
|
550 | <tr> | |
551 | <th class="date">date</th> |
|
551 | <th class="date">date</th> | |
552 | <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td> |
|
552 | <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td> | |
553 | </tr> |
|
553 | </tr> | |
554 | <tr> |
|
554 | <tr> | |
555 | <th class="author">parents</th> |
|
555 | <th class="author">parents</th> | |
556 | <td class="author"></td> |
|
556 | <td class="author"></td> | |
557 | </tr> |
|
557 | </tr> | |
558 | <tr> |
|
558 | <tr> | |
559 | <th class="author">children</th> |
|
559 | <th class="author">children</th> | |
560 | <td class="author"><a href="/file/1d22e65f027e/foo">1d22e65f027e</a> </td> |
|
560 | <td class="author"><a href="/file/1d22e65f027e/foo">1d22e65f027e</a> </td> | |
561 | </tr> |
|
561 | </tr> | |
562 |
|
562 | |||
563 | </table> |
|
563 | </table> | |
564 |
|
564 | |||
565 | <div class="overflow"> |
|
565 | <div class="overflow"> | |
566 | <div class="sourcefirst"> line source</div> |
|
566 | <div class="sourcefirst"> line source</div> | |
567 |
|
567 | |||
568 | <div class="parity0 source"><a href="#l1" id="l1"> 1</a> foo |
|
568 | <div class="parity0 source"><a href="#l1" id="l1"> 1</a> foo | |
569 | </div> |
|
569 | </div> | |
570 | <div class="sourcelast"></div> |
|
570 | <div class="sourcelast"></div> | |
571 | </div> |
|
571 | </div> | |
572 | </div> |
|
572 | </div> | |
573 | </div> |
|
573 | </div> | |
574 |
|
574 | |||
575 |
|
575 | |||
576 |
|
576 | |||
577 | </body> |
|
577 | </body> | |
578 | </html> |
|
578 | </html> | |
579 |
|
579 | |||
580 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/filediff/1/foo/?style=raw' |
|
580 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/filediff/1/foo/?style=raw' | |
581 | 200 Script output follows |
|
581 | 200 Script output follows | |
582 |
|
582 | |||
583 |
|
583 | |||
584 | diff -r 000000000000 -r a4f92ed23982 foo |
|
584 | diff -r 000000000000 -r a4f92ed23982 foo | |
585 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
585 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
586 | +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
|
586 | +++ b/foo Thu Jan 01 00:00:00 1970 +0000 | |
587 | @@ -0,0 +1,1 @@ |
|
587 | @@ -0,0 +1,1 @@ | |
588 | +foo |
|
588 | +foo | |
589 |
|
589 | |||
590 |
|
590 | |||
591 |
|
591 | |||
592 |
|
592 | |||
593 |
|
593 | |||
594 | Overviews |
|
594 | Overviews | |
595 |
|
595 | |||
596 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags' |
|
596 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-tags' | |
597 | 200 Script output follows |
|
597 | 200 Script output follows | |
598 |
|
598 | |||
599 | tip 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe |
|
599 | tip 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | |
600 | 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f |
|
600 | 1.0 2ef0ac749a14e4f57a5a822464a0902c6f7f448f | |
601 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches' |
|
601 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-branches' | |
602 | 200 Script output follows |
|
602 | 200 Script output follows | |
603 |
|
603 | |||
604 | stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe open |
|
604 | stable 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe open | |
605 | default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive |
|
605 | default a4f92ed23982be056b9852de5dfe873eaac7f0de inactive | |
|
606 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/raw-bookmarks' | |||
|
607 | 200 Script output follows | |||
|
608 | ||||
|
609 | something 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | |||
606 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' |
|
610 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/summary/?style=gitweb' | |
607 | 200 Script output follows |
|
611 | 200 Script output follows | |
608 |
|
612 | |||
609 | <?xml version="1.0" encoding="ascii"?> |
|
613 | <?xml version="1.0" encoding="ascii"?> | |
610 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
614 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
611 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> |
|
615 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> | |
612 | <head> |
|
616 | <head> | |
613 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
617 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
614 | <meta name="robots" content="index, nofollow"/> |
|
618 | <meta name="robots" content="index, nofollow"/> | |
615 | <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> |
|
619 | <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> | |
616 |
|
620 | |||
617 |
|
621 | |||
618 | <title>test: Summary</title> |
|
622 | <title>test: Summary</title> | |
619 | <link rel="alternate" type="application/atom+xml" |
|
623 | <link rel="alternate" type="application/atom+xml" | |
620 | href="/atom-log" title="Atom feed for test"/> |
|
624 | href="/atom-log" title="Atom feed for test"/> | |
621 | <link rel="alternate" type="application/rss+xml" |
|
625 | <link rel="alternate" type="application/rss+xml" | |
622 | href="/rss-log" title="RSS feed for test"/> |
|
626 | href="/rss-log" title="RSS feed for test"/> | |
623 | </head> |
|
627 | </head> | |
624 | <body> |
|
628 | <body> | |
625 |
|
629 | |||
626 | <div class="page_header"> |
|
630 | <div class="page_header"> | |
627 | <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / summary |
|
631 | <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / summary | |
628 |
|
632 | |||
629 | <form action="/log"> |
|
633 | <form action="/log"> | |
630 | <input type="hidden" name="style" value="gitweb" /> |
|
634 | <input type="hidden" name="style" value="gitweb" /> | |
631 | <div class="search"> |
|
635 | <div class="search"> | |
632 | <input type="text" name="rev" /> |
|
636 | <input type="text" name="rev" /> | |
633 | </div> |
|
637 | </div> | |
634 | </form> |
|
638 | </form> | |
635 | </div> |
|
639 | </div> | |
636 |
|
640 | |||
637 | <div class="page_nav"> |
|
641 | <div class="page_nav"> | |
638 | summary | |
|
642 | summary | | |
639 | <a href="/shortlog?style=gitweb">shortlog</a> | |
|
643 | <a href="/shortlog?style=gitweb">shortlog</a> | | |
640 | <a href="/log?style=gitweb">changelog</a> | |
|
644 | <a href="/log?style=gitweb">changelog</a> | | |
641 | <a href="/graph?style=gitweb">graph</a> | |
|
645 | <a href="/graph?style=gitweb">graph</a> | | |
642 | <a href="/tags?style=gitweb">tags</a> | |
|
646 | <a href="/tags?style=gitweb">tags</a> | | |
643 | <a href="/bookmarks?style=gitweb">bookmarks</a> | |
|
647 | <a href="/bookmarks?style=gitweb">bookmarks</a> | | |
644 | <a href="/branches?style=gitweb">branches</a> | |
|
648 | <a href="/branches?style=gitweb">branches</a> | | |
645 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
|
649 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | | |
646 | <a href="/help?style=gitweb">help</a> |
|
650 | <a href="/help?style=gitweb">help</a> | |
647 | <br/> |
|
651 | <br/> | |
648 | </div> |
|
652 | </div> | |
649 |
|
653 | |||
650 | <div class="title"> </div> |
|
654 | <div class="title"> </div> | |
651 | <table cellspacing="0"> |
|
655 | <table cellspacing="0"> | |
652 | <tr><td>description</td><td>unknown</td></tr> |
|
656 | <tr><td>description</td><td>unknown</td></tr> | |
653 | <tr><td>owner</td><td>Foo Bar <foo.bar@example.com></td></tr> |
|
657 | <tr><td>owner</td><td>Foo Bar <foo.bar@example.com></td></tr> | |
654 | <tr><td>last change</td><td>Thu, 01 Jan 1970 00:00:00 +0000</td></tr> |
|
658 | <tr><td>last change</td><td>Thu, 01 Jan 1970 00:00:00 +0000</td></tr> | |
655 | </table> |
|
659 | </table> | |
656 |
|
660 | |||
657 | <div><a class="title" href="/shortlog?style=gitweb">changes</a></div> |
|
661 | <div><a class="title" href="/shortlog?style=gitweb">changes</a></div> | |
658 | <table cellspacing="0"> |
|
662 | <table cellspacing="0"> | |
659 |
|
663 | |||
660 | <tr class="parity0"> |
|
664 | <tr class="parity0"> | |
661 | <td class="age"><i>1970-01-01</i></td> |
|
665 | <td class="age"><i>1970-01-01</i></td> | |
662 | <td><i>test</i></td> |
|
666 | <td><i>test</i></td> | |
663 | <td> |
|
667 | <td> | |
664 | <a class="list" href="/rev/1d22e65f027e?style=gitweb"> |
|
668 | <a class="list" href="/rev/1d22e65f027e?style=gitweb"> | |
665 | <b>branch</b> |
|
669 | <b>branch</b> | |
666 | <span class="logtags"><span class="branchtag" title="stable">stable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span> |
|
670 | <span class="logtags"><span class="branchtag" title="stable">stable</span> <span class="tagtag" title="tip">tip</span> <span class="bookmarktag" title="something">something</span> </span> | |
667 | </a> |
|
671 | </a> | |
668 | </td> |
|
672 | </td> | |
669 | <td class="link" nowrap> |
|
673 | <td class="link" nowrap> | |
670 | <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | |
|
674 | <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> | | |
671 | <a href="/file/1d22e65f027e?style=gitweb">files</a> |
|
675 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
672 | </td> |
|
676 | </td> | |
673 | </tr> |
|
677 | </tr> | |
674 | <tr class="parity1"> |
|
678 | <tr class="parity1"> | |
675 | <td class="age"><i>1970-01-01</i></td> |
|
679 | <td class="age"><i>1970-01-01</i></td> | |
676 | <td><i>test</i></td> |
|
680 | <td><i>test</i></td> | |
677 | <td> |
|
681 | <td> | |
678 | <a class="list" href="/rev/a4f92ed23982?style=gitweb"> |
|
682 | <a class="list" href="/rev/a4f92ed23982?style=gitweb"> | |
679 | <b>Added tag 1.0 for changeset 2ef0ac749a14</b> |
|
683 | <b>Added tag 1.0 for changeset 2ef0ac749a14</b> | |
680 | <span class="logtags"><span class="branchtag" title="default">default</span> </span> |
|
684 | <span class="logtags"><span class="branchtag" title="default">default</span> </span> | |
681 | </a> |
|
685 | </a> | |
682 | </td> |
|
686 | </td> | |
683 | <td class="link" nowrap> |
|
687 | <td class="link" nowrap> | |
684 | <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | |
|
688 | <a href="/rev/a4f92ed23982?style=gitweb">changeset</a> | | |
685 | <a href="/file/a4f92ed23982?style=gitweb">files</a> |
|
689 | <a href="/file/a4f92ed23982?style=gitweb">files</a> | |
686 | </td> |
|
690 | </td> | |
687 | </tr> |
|
691 | </tr> | |
688 | <tr class="parity0"> |
|
692 | <tr class="parity0"> | |
689 | <td class="age"><i>1970-01-01</i></td> |
|
693 | <td class="age"><i>1970-01-01</i></td> | |
690 | <td><i>test</i></td> |
|
694 | <td><i>test</i></td> | |
691 | <td> |
|
695 | <td> | |
692 | <a class="list" href="/rev/2ef0ac749a14?style=gitweb"> |
|
696 | <a class="list" href="/rev/2ef0ac749a14?style=gitweb"> | |
693 | <b>base</b> |
|
697 | <b>base</b> | |
694 | <span class="logtags"><span class="tagtag" title="1.0">1.0</span> </span> |
|
698 | <span class="logtags"><span class="tagtag" title="1.0">1.0</span> </span> | |
695 | </a> |
|
699 | </a> | |
696 | </td> |
|
700 | </td> | |
697 | <td class="link" nowrap> |
|
701 | <td class="link" nowrap> | |
698 | <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | |
|
702 | <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | | |
699 | <a href="/file/2ef0ac749a14?style=gitweb">files</a> |
|
703 | <a href="/file/2ef0ac749a14?style=gitweb">files</a> | |
700 | </td> |
|
704 | </td> | |
701 | </tr> |
|
705 | </tr> | |
702 | <tr class="light"><td colspan="4"><a class="list" href="/shortlog?style=gitweb">...</a></td></tr> |
|
706 | <tr class="light"><td colspan="4"><a class="list" href="/shortlog?style=gitweb">...</a></td></tr> | |
703 | </table> |
|
707 | </table> | |
704 |
|
708 | |||
705 | <div><a class="title" href="/tags?style=gitweb">tags</a></div> |
|
709 | <div><a class="title" href="/tags?style=gitweb">tags</a></div> | |
706 | <table cellspacing="0"> |
|
710 | <table cellspacing="0"> | |
707 |
|
711 | |||
708 | <tr class="parity0"> |
|
712 | <tr class="parity0"> | |
709 | <td class="age"><i>1970-01-01</i></td> |
|
713 | <td class="age"><i>1970-01-01</i></td> | |
710 | <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td> |
|
714 | <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td> | |
711 | <td class="link"> |
|
715 | <td class="link"> | |
712 | <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | |
|
716 | <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> | | |
713 | <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> | |
|
717 | <a href="/log/2ef0ac749a14?style=gitweb">changelog</a> | | |
714 | <a href="/file/2ef0ac749a14?style=gitweb">files</a> |
|
718 | <a href="/file/2ef0ac749a14?style=gitweb">files</a> | |
715 | </td> |
|
719 | </td> | |
716 | </tr> |
|
720 | </tr> | |
717 | <tr class="light"><td colspan="3"><a class="list" href="/tags?style=gitweb">...</a></td></tr> |
|
721 | <tr class="light"><td colspan="3"><a class="list" href="/tags?style=gitweb">...</a></td></tr> | |
718 | </table> |
|
722 | </table> | |
719 |
|
723 | |||
720 | <div><a class="title" href="#">branches</a></div> |
|
724 | <div><a class="title" href="#">branches</a></div> | |
721 | <table cellspacing="0"> |
|
725 | <table cellspacing="0"> | |
722 |
|
726 | |||
723 | <tr class="parity0"> |
|
727 | <tr class="parity0"> | |
724 | <td class="age"><i>1970-01-01</i></td> |
|
728 | <td class="age"><i>1970-01-01</i></td> | |
725 | <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td> |
|
729 | <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td> | |
726 | <td class="">stable</td> |
|
730 | <td class="">stable</td> | |
727 | <td class="link"> |
|
731 | <td class="link"> | |
728 | <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> | |
|
732 | <a href="/changeset/1d22e65f027e?style=gitweb">changeset</a> | | |
729 | <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | |
|
733 | <a href="/log/1d22e65f027e?style=gitweb">changelog</a> | | |
730 | <a href="/file/1d22e65f027e?style=gitweb">files</a> |
|
734 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
731 | </td> |
|
735 | </td> | |
732 | </tr> |
|
736 | </tr> | |
733 | <tr class="parity1"> |
|
737 | <tr class="parity1"> | |
734 | <td class="age"><i>1970-01-01</i></td> |
|
738 | <td class="age"><i>1970-01-01</i></td> | |
735 | <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td> |
|
739 | <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td> | |
736 | <td class="">default</td> |
|
740 | <td class="">default</td> | |
737 | <td class="link"> |
|
741 | <td class="link"> | |
738 | <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> | |
|
742 | <a href="/changeset/a4f92ed23982?style=gitweb">changeset</a> | | |
739 | <a href="/log/a4f92ed23982?style=gitweb">changelog</a> | |
|
743 | <a href="/log/a4f92ed23982?style=gitweb">changelog</a> | | |
740 | <a href="/file/a4f92ed23982?style=gitweb">files</a> |
|
744 | <a href="/file/a4f92ed23982?style=gitweb">files</a> | |
741 | </td> |
|
745 | </td> | |
742 | </tr> |
|
746 | </tr> | |
743 | <tr class="light"> |
|
747 | <tr class="light"> | |
744 | <td colspan="4"><a class="list" href="#">...</a></td> |
|
748 | <td colspan="4"><a class="list" href="#">...</a></td> | |
745 | </tr> |
|
749 | </tr> | |
746 | </table> |
|
750 | </table> | |
747 | <div class="page_footer"> |
|
751 | <div class="page_footer"> | |
748 | <div class="page_footer_text">test</div> |
|
752 | <div class="page_footer_text">test</div> | |
749 | <div class="rss_logo"> |
|
753 | <div class="rss_logo"> | |
750 | <a href="/rss-log">RSS</a> |
|
754 | <a href="/rss-log">RSS</a> | |
751 | <a href="/atom-log">Atom</a> |
|
755 | <a href="/atom-log">Atom</a> | |
752 | </div> |
|
756 | </div> | |
753 | <br /> |
|
757 | <br /> | |
754 |
|
758 | |||
755 | </div> |
|
759 | </div> | |
756 | </body> |
|
760 | </body> | |
757 | </html> |
|
761 | </html> | |
758 |
|
762 | |||
759 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb' |
|
763 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/?style=gitweb' | |
760 | 200 Script output follows |
|
764 | 200 Script output follows | |
761 |
|
765 | |||
762 | <?xml version="1.0" encoding="ascii"?> |
|
766 | <?xml version="1.0" encoding="ascii"?> | |
763 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
767 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
764 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> |
|
768 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> | |
765 | <head> |
|
769 | <head> | |
766 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
770 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
767 | <meta name="robots" content="index, nofollow"/> |
|
771 | <meta name="robots" content="index, nofollow"/> | |
768 | <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> |
|
772 | <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" /> | |
769 |
|
773 | |||
770 |
|
774 | |||
771 | <title>test: Graph</title> |
|
775 | <title>test: Graph</title> | |
772 | <link rel="alternate" type="application/atom+xml" |
|
776 | <link rel="alternate" type="application/atom+xml" | |
773 | href="/atom-log" title="Atom feed for test"/> |
|
777 | href="/atom-log" title="Atom feed for test"/> | |
774 | <link rel="alternate" type="application/rss+xml" |
|
778 | <link rel="alternate" type="application/rss+xml" | |
775 | href="/rss-log" title="RSS feed for test"/> |
|
779 | href="/rss-log" title="RSS feed for test"/> | |
776 | <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]--> |
|
780 | <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]--> | |
777 | </head> |
|
781 | </head> | |
778 | <body> |
|
782 | <body> | |
779 |
|
783 | |||
780 | <div class="page_header"> |
|
784 | <div class="page_header"> | |
781 | <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / graph |
|
785 | <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="/summary?style=gitweb">test</a> / graph | |
782 | </div> |
|
786 | </div> | |
783 |
|
787 | |||
784 | <form action="/log"> |
|
788 | <form action="/log"> | |
785 | <input type="hidden" name="style" value="gitweb" /> |
|
789 | <input type="hidden" name="style" value="gitweb" /> | |
786 | <div class="search"> |
|
790 | <div class="search"> | |
787 | <input type="text" name="rev" /> |
|
791 | <input type="text" name="rev" /> | |
788 | </div> |
|
792 | </div> | |
789 | </form> |
|
793 | </form> | |
790 | <div class="page_nav"> |
|
794 | <div class="page_nav"> | |
791 | <a href="/summary?style=gitweb">summary</a> | |
|
795 | <a href="/summary?style=gitweb">summary</a> | | |
792 | <a href="/shortlog?style=gitweb">shortlog</a> | |
|
796 | <a href="/shortlog?style=gitweb">shortlog</a> | | |
793 | <a href="/log/2?style=gitweb">changelog</a> | |
|
797 | <a href="/log/2?style=gitweb">changelog</a> | | |
794 | graph | |
|
798 | graph | | |
795 | <a href="/tags?style=gitweb">tags</a> | |
|
799 | <a href="/tags?style=gitweb">tags</a> | | |
796 | <a href="/bookmarks?style=gitweb">bookmarks</a> | |
|
800 | <a href="/bookmarks?style=gitweb">bookmarks</a> | | |
797 | <a href="/branches?style=gitweb">branches</a> | |
|
801 | <a href="/branches?style=gitweb">branches</a> | | |
798 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | |
|
802 | <a href="/file/1d22e65f027e?style=gitweb">files</a> | | |
799 | <a href="/help?style=gitweb">help</a> |
|
803 | <a href="/help?style=gitweb">help</a> | |
800 | <br/> |
|
804 | <br/> | |
801 | <a href="/graph/2?style=gitweb&revcount=30">less</a> |
|
805 | <a href="/graph/2?style=gitweb&revcount=30">less</a> | |
802 | <a href="/graph/2?style=gitweb&revcount=120">more</a> |
|
806 | <a href="/graph/2?style=gitweb&revcount=120">more</a> | |
803 | | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> |
|
807 | | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> | |
804 | </div> |
|
808 | </div> | |
805 |
|
809 | |||
806 | <div class="title"> </div> |
|
810 | <div class="title"> </div> | |
807 |
|
811 | |||
808 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
|
812 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> | |
809 |
|
813 | |||
810 | <div id="wrapper"> |
|
814 | <div id="wrapper"> | |
811 | <ul id="nodebgs"></ul> |
|
815 | <ul id="nodebgs"></ul> | |
812 | <canvas id="graph" width="480" height="129"></canvas> |
|
816 | <canvas id="graph" width="480" height="129"></canvas> | |
813 | <ul id="graphnodes"></ul> |
|
817 | <ul id="graphnodes"></ul> | |
814 | </div> |
|
818 | </div> | |
815 |
|
819 | |||
816 | <script type="text/javascript" src="/static/graph.js"></script> |
|
820 | <script type="text/javascript" src="/static/graph.js"></script> | |
817 | <script> |
|
821 | <script> | |
818 | <!-- hide script content |
|
822 | <!-- hide script content | |
819 |
|
823 | |||
820 | var data = [["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], []]]; |
|
824 | var data = [["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], []]]; | |
821 | var graph = new Graph(); |
|
825 | var graph = new Graph(); | |
822 | graph.scale(39); |
|
826 | graph.scale(39); | |
823 |
|
827 | |||
824 | graph.edge = function(x0, y0, x1, y1, color) { |
|
828 | graph.edge = function(x0, y0, x1, y1, color) { | |
825 |
|
829 | |||
826 | this.setColor(color, 0.0, 0.65); |
|
830 | this.setColor(color, 0.0, 0.65); | |
827 | this.ctx.beginPath(); |
|
831 | this.ctx.beginPath(); | |
828 | this.ctx.moveTo(x0, y0); |
|
832 | this.ctx.moveTo(x0, y0); | |
829 | this.ctx.lineTo(x1, y1); |
|
833 | this.ctx.lineTo(x1, y1); | |
830 | this.ctx.stroke(); |
|
834 | this.ctx.stroke(); | |
831 |
|
835 | |||
832 | } |
|
836 | } | |
833 |
|
837 | |||
834 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
838 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
835 | revlink += '<a class="list" href="/rev/_NODEID?style=gitweb" title="_NODEID"><b>_DESC</b></a>'; |
|
839 | revlink += '<a class="list" href="/rev/_NODEID?style=gitweb" title="_NODEID"><b>_DESC</b></a>'; | |
836 | revlink += '</span> _TAGS'; |
|
840 | revlink += '</span> _TAGS'; | |
837 | revlink += '<span class="info">_DATE, by _USER</span></li>'; |
|
841 | revlink += '<span class="info">_DATE, by _USER</span></li>'; | |
838 |
|
842 | |||
839 | graph.vertex = function(x, y, color, parity, cur) { |
|
843 | graph.vertex = function(x, y, color, parity, cur) { | |
840 |
|
844 | |||
841 | this.ctx.beginPath(); |
|
845 | this.ctx.beginPath(); | |
842 | color = this.setColor(color, 0.25, 0.75); |
|
846 | color = this.setColor(color, 0.25, 0.75); | |
843 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
847 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
844 | this.ctx.fill(); |
|
848 | this.ctx.fill(); | |
845 |
|
849 | |||
846 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
850 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
847 | var left = (this.columns + 1) * this.bg_height; |
|
851 | var left = (this.columns + 1) * this.bg_height; | |
848 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
852 | var nstyle = 'padding-left: ' + left + 'px;'; | |
849 | var item = revlink.replace(/_STYLE/, nstyle); |
|
853 | var item = revlink.replace(/_STYLE/, nstyle); | |
850 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
854 | item = item.replace(/_PARITY/, 'parity' + parity); | |
851 | item = item.replace(/_NODEID/, cur[0]); |
|
855 | item = item.replace(/_NODEID/, cur[0]); | |
852 | item = item.replace(/_NODEID/, cur[0]); |
|
856 | item = item.replace(/_NODEID/, cur[0]); | |
853 | item = item.replace(/_DESC/, cur[3]); |
|
857 | item = item.replace(/_DESC/, cur[3]); | |
854 | item = item.replace(/_USER/, cur[4]); |
|
858 | item = item.replace(/_USER/, cur[4]); | |
855 | item = item.replace(/_DATE/, cur[5]); |
|
859 | item = item.replace(/_DATE/, cur[5]); | |
856 |
|
860 | |||
857 | var tagspan = ''; |
|
861 | var tagspan = ''; | |
858 | if (cur[7].length || cur[8].length || (cur[6][0] != 'default' || cur[6][1])) { |
|
862 | if (cur[7].length || cur[8].length || (cur[6][0] != 'default' || cur[6][1])) { | |
859 | tagspan = '<span class="logtags">'; |
|
863 | tagspan = '<span class="logtags">'; | |
860 | if (cur[6][1]) { |
|
864 | if (cur[6][1]) { | |
861 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; |
|
865 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; | |
862 | tagspan += cur[6][0] + '</span> '; |
|
866 | tagspan += cur[6][0] + '</span> '; | |
863 | } else if (!cur[6][1] && cur[6][0] != 'default') { |
|
867 | } else if (!cur[6][1] && cur[6][0] != 'default') { | |
864 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; |
|
868 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; | |
865 | tagspan += cur[6][0] + '</span> '; |
|
869 | tagspan += cur[6][0] + '</span> '; | |
866 | } |
|
870 | } | |
867 | if (cur[7].length) { |
|
871 | if (cur[7].length) { | |
868 | for (var t in cur[7]) { |
|
872 | for (var t in cur[7]) { | |
869 | var tag = cur[7][t]; |
|
873 | var tag = cur[7][t]; | |
870 | tagspan += '<span class="tagtag">' + tag + '</span> '; |
|
874 | tagspan += '<span class="tagtag">' + tag + '</span> '; | |
871 | } |
|
875 | } | |
872 | } |
|
876 | } | |
873 | if (cur[8].length) { |
|
877 | if (cur[8].length) { | |
874 | for (var t in cur[8]) { |
|
878 | for (var t in cur[8]) { | |
875 | var bookmark = cur[8][t]; |
|
879 | var bookmark = cur[8][t]; | |
876 | tagspan += '<span class="bookmarktag">' + bookmark + '</span> '; |
|
880 | tagspan += '<span class="bookmarktag">' + bookmark + '</span> '; | |
877 | } |
|
881 | } | |
878 | } |
|
882 | } | |
879 | tagspan += '</span>'; |
|
883 | tagspan += '</span>'; | |
880 | } |
|
884 | } | |
881 |
|
885 | |||
882 | item = item.replace(/_TAGS/, tagspan); |
|
886 | item = item.replace(/_TAGS/, tagspan); | |
883 | return [bg, item]; |
|
887 | return [bg, item]; | |
884 |
|
888 | |||
885 | } |
|
889 | } | |
886 |
|
890 | |||
887 | graph.render(data); |
|
891 | graph.render(data); | |
888 |
|
892 | |||
889 | // stop hiding script --> |
|
893 | // stop hiding script --> | |
890 | </script> |
|
894 | </script> | |
891 |
|
895 | |||
892 | <div class="page_nav"> |
|
896 | <div class="page_nav"> | |
893 | <a href="/graph/2?style=gitweb&revcount=30">less</a> |
|
897 | <a href="/graph/2?style=gitweb&revcount=30">less</a> | |
894 | <a href="/graph/2?style=gitweb&revcount=120">more</a> |
|
898 | <a href="/graph/2?style=gitweb&revcount=120">more</a> | |
895 | | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> |
|
899 | | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a> | |
896 | </div> |
|
900 | </div> | |
897 |
|
901 | |||
898 | <div class="page_footer"> |
|
902 | <div class="page_footer"> | |
899 | <div class="page_footer_text">test</div> |
|
903 | <div class="page_footer_text">test</div> | |
900 | <div class="rss_logo"> |
|
904 | <div class="rss_logo"> | |
901 | <a href="/rss-log">RSS</a> |
|
905 | <a href="/rss-log">RSS</a> | |
902 | <a href="/atom-log">Atom</a> |
|
906 | <a href="/atom-log">Atom</a> | |
903 | </div> |
|
907 | </div> | |
904 | <br /> |
|
908 | <br /> | |
905 |
|
909 | |||
906 | </div> |
|
910 | </div> | |
907 | </body> |
|
911 | </body> | |
908 | </html> |
|
912 | </html> | |
909 |
|
913 | |||
910 |
|
914 | |||
911 | capabilities |
|
915 | capabilities | |
912 |
|
916 | |||
913 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo |
|
917 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo | |
914 | 200 Script output follows |
|
918 | 200 Script output follows | |
915 |
|
919 | |||
916 | lookup changegroupsubset branchmap pushkey known getbundle unbundle=HG10GZ,HG10BZ,HG10UN |
|
920 | lookup changegroupsubset branchmap pushkey known getbundle unbundle=HG10GZ,HG10BZ,HG10UN | |
917 |
|
921 | |||
918 | heads |
|
922 | heads | |
919 |
|
923 | |||
920 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' |
|
924 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' | |
921 | 200 Script output follows |
|
925 | 200 Script output follows | |
922 |
|
926 | |||
923 | 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe |
|
927 | 1d22e65f027e5a0609357e7d8e7508cd2ba5d2fe | |
924 |
|
928 | |||
925 | branches |
|
929 | branches | |
926 |
|
930 | |||
927 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000' |
|
931 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=branches&nodes=0000000000000000000000000000000000000000' | |
928 | 200 Script output follows |
|
932 | 200 Script output follows | |
929 |
|
933 | |||
930 | 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
|
934 | 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 | |
931 |
|
935 | |||
932 | changegroup |
|
936 | changegroup | |
933 |
|
937 | |||
934 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000' |
|
938 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=changegroup&roots=0000000000000000000000000000000000000000' | |
935 | 200 Script output follows |
|
939 | 200 Script output follows | |
936 |
|
940 | |||
937 | x\x9c\xbdTMHUA\x14\xbe\xa8\xf9\xec\xda&\x10\x11*\xb8\x88\x81\x99\xbef\xe6\xce\xbdw\xc6\xf2a\x16E\x1b\x11[%\x98\xcc\xaf\x8f\x8c\xf7\xc0\xf7\x82 (esc) |
|
941 | x\x9c\xbdTMHUA\x14\xbe\xa8\xf9\xec\xda&\x10\x11*\xb8\x88\x81\x99\xbef\xe6\xce\xbdw\xc6\xf2a\x16E\x1b\x11[%\x98\xcc\xaf\x8f\x8c\xf7\xc0\xf7\x82 (esc) | |
938 | 4\x11KP2m\x95\xad*\xabE\x05AP\xd0\xc22Z\x14\xf9\x03\xb9j\xa3\x9b$\xa4MJ\xb4\x90\xc0\x9a\x9bO0\x10\xdf\x13\xa2\x81\x0f\x869g\xe6|\xe7\x9c\xef\x8ceY\xf7\xa2KO\xd2\xb7K\x16~\\n\xe9\xad\x90w\x86\xab\x93W\x8e\xdf\xb0r\\Y\xee6(\xa2)\xf6\x95\xc6\x01\xe4\x1az\x80R\xe8kN\x98\xe7R\xa4\xa9K@\xe0!A\xb4k\xa7U*m\x03\x07\xd8\x92\x1d\xd2\xc9\xa4\x1d\xc2\xe6,\xa5\xcc+\x1f\xef\xafDgi\xef\xab\x1d\x1d\xb7\x9a\xe7[W\xfbc\x8f\xde-\xcd\xe7\xcaz\xb3\xbb\x19\xd3\x81\x10>c>\x08\x00"X\x11\xc2\x84@\xd2\xe7B*L\x00\x01P\x04R\xc3@\xbaB0\xdb8#\x83:\x83\xa2h\xbc=\xcd\xdaS\xe1Y,L\xd3\xa0\xf2\xa8\x94J:\xe6\xd8\x81Q\xe0\xe8d\xa7#\xe2,\xd1\xaeR*\xed \xa5\x01\x13\x01\xa6\x0cb\xe3;\xbe\xaf\xfcK[^wK\xe1N\xaf\xbbk\xe8B\xd1\xf4\xc1\x07\xb3\xab[\x10\xfdkmvwcB\xa6\xa4\xd4G\xc4D\xc2\x141\xad\x91\x10\x00\x08J\x81\xcb}\xee \xee+W\xba\x8a\x80\x90|\xd4\xa0\xd6\xa0\xd4T\xde\xe1\x9d,!\xe2\xb5\xa94\xe3\xe7\xd5\x9f\x06\x18\xcba\x03aP\xb8f\xcd\x04\x1a_\\9\xf1\xed\xe4\x9e\xe5\xa6\xd1\xd2\x9f\x03\xa7o\xae\x90H\xf3\xfb\xef\xffH3\xadk (esc) |
|
942 | 4\x11KP2m\x95\xad*\xabE\x05AP\xd0\xc22Z\x14\xf9\x03\xb9j\xa3\x9b$\xa4MJ\xb4\x90\xc0\x9a\x9bO0\x10\xdf\x13\xa2\x81\x0f\x869g\xe6|\xe7\x9c\xef\x8ceY\xf7\xa2KO\xd2\xb7K\x16~\\n\xe9\xad\x90w\x86\xab\x93W\x8e\xdf\xb0r\\Y\xee6(\xa2)\xf6\x95\xc6\x01\xe4\x1az\x80R\xe8kN\x98\xe7R\xa4\xa9K@\xe0!A\xb4k\xa7U*m\x03\x07\xd8\x92\x1d\xd2\xc9\xa4\x1d\xc2\xe6,\xa5\xcc+\x1f\xef\xafDgi\xef\xab\x1d\x1d\xb7\x9a\xe7[W\xfbc\x8f\xde-\xcd\xe7\xcaz\xb3\xbb\x19\xd3\x81\x10>c>\x08\x00"X\x11\xc2\x84@\xd2\xe7B*L\x00\x01P\x04R\xc3@\xbaB0\xdb8#\x83:\x83\xa2h\xbc=\xcd\xdaS\xe1Y,L\xd3\xa0\xf2\xa8\x94J:\xe6\xd8\x81Q\xe0\xe8d\xa7#\xe2,\xd1\xaeR*\xed \xa5\x01\x13\x01\xa6\x0cb\xe3;\xbe\xaf\xfcK[^wK\xe1N\xaf\xbbk\xe8B\xd1\xf4\xc1\x07\xb3\xab[\x10\xfdkmvwcB\xa6\xa4\xd4G\xc4D\xc2\x141\xad\x91\x10\x00\x08J\x81\xcb}\xee \xee+W\xba\x8a\x80\x90|\xd4\xa0\xd6\xa0\xd4T\xde\xe1\x9d,!\xe2\xb5\xa94\xe3\xe7\xd5\x9f\x06\x18\xcba\x03aP\xb8f\xcd\x04\x1a_\\9\xf1\xed\xe4\x9e\xe5\xa6\xd1\xd2\x9f\x03\xa7o\xae\x90H\xf3\xfb\xef\xffH3\xadk (esc) | |
939 | \xb0\x90\x92\x88\xb9\x14"\x068\xc2\x1e@\x00\xbb\x8a)\xd3'\x859 (esc) |
|
943 | \xb0\x90\x92\x88\xb9\x14"\x068\xc2\x1e@\x00\xbb\x8a)\xd3'\x859 (esc) | |
940 | \xa8\x80\x84S \xa5\xbd-g\x13`\xe4\xdc\xc3H^\xdf\xe2\xc0TM\xc7\xf4BO\xcf\xde\xae\xe5\xae#\x1frM(K\x97`F\x19\x16s\x05GD\xb9\x01\xc1\x00+\x8c|\x9fp\xc11\xf0\x14\x00\x9cJ\x82<\xe0\x12\x9f\xc1\x90\xd0\xf5\xc8\x19>Pr\xaa\xeaW\xf5\xc4\xae\xd1\xfc\x17\xcf'\x13u\xb1\x9e\xcdHnC\x0e\xcc`\xc8\xa0&\xac\x0e\xf1|\x8c\x10$\xc4\x8c\xa2p\x05`\xdc\x08 \x80\xc4\xd7Rr-\x94\x10\x102\xedi;\xf3f\xf1z\x16\x86\xdb\xd8d\xe5\xe7\x8b\xf5\x8d\rzp\xb2\xfe\xac\xf5\xf2\xd3\xfe\xfckws\xedt\x96b\xd5l\x1c\x0b\x85\xb5\x170\x8f\x11\x84\xb0\x8f\x19\xa0\x00 _\x07\x1ac\xa2\xc3\x89Z\xe7\x96\xf9 \xccNFg\xc7F\xaa\x8a+\x9a\x9cc_\x17\x1b\x17\x9e]z38<\x97+\xb5,",\xc8\xc8?\\\x91\xff\x17.~U\x96\x97\xf5%\xdeN<\x8e\xf5\x97%\xe7^\xcfL\xed~\xda\x96k\xdc->\x86\x02\x83"\x96H\xa6\xe3\xaas=-\xeb7\xe5\xda\x8f\xbc (no-eol) (esc) |
|
944 | \xa8\x80\x84S \xa5\xbd-g\x13`\xe4\xdc\xc3H^\xdf\xe2\xc0TM\xc7\xf4BO\xcf\xde\xae\xe5\xae#\x1frM(K\x97`F\x19\x16s\x05GD\xb9\x01\xc1\x00+\x8c|\x9fp\xc11\xf0\x14\x00\x9cJ\x82<\xe0\x12\x9f\xc1\x90\xd0\xf5\xc8\x19>Pr\xaa\xeaW\xf5\xc4\xae\xd1\xfc\x17\xcf'\x13u\xb1\x9e\xcdHnC\x0e\xcc`\xc8\xa0&\xac\x0e\xf1|\x8c\x10$\xc4\x8c\xa2p\x05`\xdc\x08 \x80\xc4\xd7Rr-\x94\x10\x102\xedi;\xf3f\xf1z\x16\x86\xdb\xd8d\xe5\xe7\x8b\xf5\x8d\rzp\xb2\xfe\xac\xf5\xf2\xd3\xfe\xfckws\xedt\x96b\xd5l\x1c\x0b\x85\xb5\x170\x8f\x11\x84\xb0\x8f\x19\xa0\x00 _\x07\x1ac\xa2\xc3\x89Z\xe7\x96\xf9 \xccNFg\xc7F\xaa\x8a+\x9a\x9cc_\x17\x1b\x17\x9e]z38<\x97+\xb5,",\xc8\xc8?\\\x91\xff\x17.~U\x96\x97\xf5%\xdeN<\x8e\xf5\x97%\xe7^\xcfL\xed~\xda\x96k\xdc->\x86\x02\x83"\x96H\xa6\xe3\xaas=-\xeb7\xe5\xda\x8f\xbc (no-eol) (esc) | |
941 |
|
945 | |||
942 | stream_out |
|
946 | stream_out | |
943 |
|
947 | |||
944 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' |
|
948 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=stream_out' | |
945 | 200 Script output follows |
|
949 | 200 Script output follows | |
946 |
|
950 | |||
947 | 1 |
|
951 | 1 | |
948 |
|
952 | |||
949 | failing unbundle, requires POST request |
|
953 | failing unbundle, requires POST request | |
950 |
|
954 | |||
951 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=unbundle' |
|
955 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=unbundle' | |
952 | 405 push requires POST request |
|
956 | 405 push requires POST request | |
953 |
|
957 | |||
954 | 0 |
|
958 | 0 | |
955 | push requires POST request |
|
959 | push requires POST request | |
956 | [1] |
|
960 | [1] | |
957 |
|
961 | |||
958 | Static files |
|
962 | Static files | |
959 |
|
963 | |||
960 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' |
|
964 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/static/style.css' | |
961 | 200 Script output follows |
|
965 | 200 Script output follows | |
962 |
|
966 | |||
963 | a { text-decoration:none; } |
|
967 | a { text-decoration:none; } | |
964 | .age { white-space:nowrap; } |
|
968 | .age { white-space:nowrap; } | |
965 | .date { white-space:nowrap; } |
|
969 | .date { white-space:nowrap; } | |
966 | .indexlinks { white-space:nowrap; } |
|
970 | .indexlinks { white-space:nowrap; } | |
967 | .parity0 { background-color: #ddd; } |
|
971 | .parity0 { background-color: #ddd; } | |
968 | .parity1 { background-color: #eee; } |
|
972 | .parity1 { background-color: #eee; } | |
969 | .lineno { width: 60px; color: #aaa; font-size: smaller; |
|
973 | .lineno { width: 60px; color: #aaa; font-size: smaller; | |
970 | text-align: right; } |
|
974 | text-align: right; } | |
971 | .plusline { color: green; } |
|
975 | .plusline { color: green; } | |
972 | .minusline { color: red; } |
|
976 | .minusline { color: red; } | |
973 | .atline { color: purple; } |
|
977 | .atline { color: purple; } | |
974 | .annotate { font-size: smaller; text-align: right; padding-right: 1em; } |
|
978 | .annotate { font-size: smaller; text-align: right; padding-right: 1em; } | |
975 | .buttons a { |
|
979 | .buttons a { | |
976 | background-color: #666; |
|
980 | background-color: #666; | |
977 | padding: 2pt; |
|
981 | padding: 2pt; | |
978 | color: white; |
|
982 | color: white; | |
979 | font-family: sans; |
|
983 | font-family: sans; | |
980 | font-weight: bold; |
|
984 | font-weight: bold; | |
981 | } |
|
985 | } | |
982 | .navigate a { |
|
986 | .navigate a { | |
983 | background-color: #ccc; |
|
987 | background-color: #ccc; | |
984 | padding: 2pt; |
|
988 | padding: 2pt; | |
985 | font-family: sans; |
|
989 | font-family: sans; | |
986 | color: black; |
|
990 | color: black; | |
987 | } |
|
991 | } | |
988 |
|
992 | |||
989 | .metatag { |
|
993 | .metatag { | |
990 | background-color: #888; |
|
994 | background-color: #888; | |
991 | color: white; |
|
995 | color: white; | |
992 | text-align: right; |
|
996 | text-align: right; | |
993 | } |
|
997 | } | |
994 |
|
998 | |||
995 | /* Common */ |
|
999 | /* Common */ | |
996 | pre { margin: 0; } |
|
1000 | pre { margin: 0; } | |
997 |
|
1001 | |||
998 | .logo { |
|
1002 | .logo { | |
999 | float: right; |
|
1003 | float: right; | |
1000 | clear: right; |
|
1004 | clear: right; | |
1001 | } |
|
1005 | } | |
1002 |
|
1006 | |||
1003 | /* Changelog/Filelog entries */ |
|
1007 | /* Changelog/Filelog entries */ | |
1004 | .logEntry { width: 100%; } |
|
1008 | .logEntry { width: 100%; } | |
1005 | .logEntry .age { width: 15%; } |
|
1009 | .logEntry .age { width: 15%; } | |
1006 | .logEntry th { font-weight: normal; text-align: right; vertical-align: top; } |
|
1010 | .logEntry th { font-weight: normal; text-align: right; vertical-align: top; } | |
1007 | .logEntry th.age, .logEntry th.firstline { font-weight: bold; } |
|
1011 | .logEntry th.age, .logEntry th.firstline { font-weight: bold; } | |
1008 | .logEntry th.firstline { text-align: left; width: inherit; } |
|
1012 | .logEntry th.firstline { text-align: left; width: inherit; } | |
1009 |
|
1013 | |||
1010 | /* Shortlog entries */ |
|
1014 | /* Shortlog entries */ | |
1011 | .slogEntry { width: 100%; } |
|
1015 | .slogEntry { width: 100%; } | |
1012 | .slogEntry .age { width: 8em; } |
|
1016 | .slogEntry .age { width: 8em; } | |
1013 | .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; } |
|
1017 | .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; } | |
1014 | .slogEntry td.author { width: 15em; } |
|
1018 | .slogEntry td.author { width: 15em; } | |
1015 |
|
1019 | |||
1016 | /* Tag entries */ |
|
1020 | /* Tag entries */ | |
1017 | #tagEntries { list-style: none; margin: 0; padding: 0; } |
|
1021 | #tagEntries { list-style: none; margin: 0; padding: 0; } | |
1018 | #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } |
|
1022 | #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } | |
1019 |
|
1023 | |||
1020 | /* Changeset entry */ |
|
1024 | /* Changeset entry */ | |
1021 | #changesetEntry { } |
|
1025 | #changesetEntry { } | |
1022 | #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } |
|
1026 | #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } | |
1023 | #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; } |
|
1027 | #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; } | |
1024 |
|
1028 | |||
1025 | /* File diff view */ |
|
1029 | /* File diff view */ | |
1026 | #filediffEntry { } |
|
1030 | #filediffEntry { } | |
1027 | #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } |
|
1031 | #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } | |
1028 |
|
1032 | |||
1029 | /* Graph */ |
|
1033 | /* Graph */ | |
1030 | div#wrapper { |
|
1034 | div#wrapper { | |
1031 | position: relative; |
|
1035 | position: relative; | |
1032 | margin: 0; |
|
1036 | margin: 0; | |
1033 | padding: 0; |
|
1037 | padding: 0; | |
1034 | } |
|
1038 | } | |
1035 |
|
1039 | |||
1036 | canvas { |
|
1040 | canvas { | |
1037 | position: absolute; |
|
1041 | position: absolute; | |
1038 | z-index: 5; |
|
1042 | z-index: 5; | |
1039 | top: -0.6em; |
|
1043 | top: -0.6em; | |
1040 | margin: 0; |
|
1044 | margin: 0; | |
1041 | } |
|
1045 | } | |
1042 |
|
1046 | |||
1043 | ul#nodebgs { |
|
1047 | ul#nodebgs { | |
1044 | list-style: none inside none; |
|
1048 | list-style: none inside none; | |
1045 | padding: 0; |
|
1049 | padding: 0; | |
1046 | margin: 0; |
|
1050 | margin: 0; | |
1047 | top: -0.7em; |
|
1051 | top: -0.7em; | |
1048 | } |
|
1052 | } | |
1049 |
|
1053 | |||
1050 | ul#graphnodes li, ul#nodebgs li { |
|
1054 | ul#graphnodes li, ul#nodebgs li { | |
1051 | height: 39px; |
|
1055 | height: 39px; | |
1052 | } |
|
1056 | } | |
1053 |
|
1057 | |||
1054 | ul#graphnodes { |
|
1058 | ul#graphnodes { | |
1055 | position: absolute; |
|
1059 | position: absolute; | |
1056 | z-index: 10; |
|
1060 | z-index: 10; | |
1057 | top: -0.85em; |
|
1061 | top: -0.85em; | |
1058 | list-style: none inside none; |
|
1062 | list-style: none inside none; | |
1059 | padding: 0; |
|
1063 | padding: 0; | |
1060 | } |
|
1064 | } | |
1061 |
|
1065 | |||
1062 | ul#graphnodes li .info { |
|
1066 | ul#graphnodes li .info { | |
1063 | display: block; |
|
1067 | display: block; | |
1064 | font-size: 70%; |
|
1068 | font-size: 70%; | |
1065 | position: relative; |
|
1069 | position: relative; | |
1066 | top: -1px; |
|
1070 | top: -1px; | |
1067 | } |
|
1071 | } | |
1068 |
|
1072 | |||
1069 | Stop and restart with HGENCODING=cp932 |
|
1073 | Stop and restart with HGENCODING=cp932 | |
1070 |
|
1074 | |||
1071 | $ "$TESTDIR/killdaemons.py" |
|
1075 | $ "$TESTDIR/killdaemons.py" | |
1072 | $ HGENCODING=cp932 hg serve --config server.uncompressed=False -n test \ |
|
1076 | $ HGENCODING=cp932 hg serve --config server.uncompressed=False -n test \ | |
1073 | > -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
1077 | > -p $HGPORT -d --pid-file=hg.pid -E errors.log | |
1074 | $ cat hg.pid >> $DAEMON_PIDS |
|
1078 | $ cat hg.pid >> $DAEMON_PIDS | |
1075 |
|
1079 | |||
1076 | commit message with Japanese Kanji 'Noh', which ends with '\x5c' |
|
1080 | commit message with Japanese Kanji 'Noh', which ends with '\x5c' | |
1077 |
|
1081 | |||
1078 | $ echo foo >> foo |
|
1082 | $ echo foo >> foo | |
1079 | $ HGENCODING=cp932 hg ci -m `python -c 'print("\x94\x5c")'` |
|
1083 | $ HGENCODING=cp932 hg ci -m `python -c 'print("\x94\x5c")'` | |
1080 |
|
1084 | |||
1081 | Graph json escape of multibyte character |
|
1085 | Graph json escape of multibyte character | |
1082 |
|
1086 | |||
1083 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \ |
|
1087 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/graph/' \ | |
1084 | > | grep '^var data =' |
|
1088 | > | grep '^var data =' | |
1085 | var data = [["40b4d6888e92", [0, 1], [[0, 0, 1]], "\u80fd", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", false], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], []]]; |
|
1089 | var data = [["40b4d6888e92", [0, 1], [[0, 0, 1]], "\u80fd", "test", "1970-01-01", ["stable", true], ["tip"], ["something"]], ["1d22e65f027e", [0, 1], [[0, 0, 1]], "branch", "test", "1970-01-01", ["stable", false], [], []], ["a4f92ed23982", [0, 1], [[0, 0, 1]], "Added tag 1.0 for changeset 2ef0ac749a14", "test", "1970-01-01", ["default", true], [], []], ["2ef0ac749a14", [0, 1], [], "base", "test", "1970-01-01", ["default", false], ["1.0"], []]]; | |
1086 |
|
1090 | |||
1087 | ERRORS ENCOUNTERED |
|
1091 | ERRORS ENCOUNTERED | |
1088 |
|
1092 | |||
1089 | $ cat errors.log |
|
1093 | $ cat errors.log |
General Comments 0
You need to be logged in to leave comments.
Login now