##// END OF EJS Templates
tests: test branch/tag/bookmark display in test-hgweb-filelog.t...
Anton Shestakov -
r25109:f3e0a578 default
parent child Browse files
Show More
@@ -1,873 +1,895 b''
1 #require serve
1 #require serve
2
2
3 $ hg init test
3 $ hg init test
4 $ cd test
4 $ cd test
5 $ echo b > b
5 $ echo b > b
6 $ hg ci -Am "b"
6 $ hg ci -Am "b"
7 adding b
7 adding b
8 $ echo a > a
8 $ echo a > a
9 $ hg ci -Am "first a"
9 $ hg ci -Am "first a"
10 adding a
10 adding a
11 $ hg tag -r 1 a-tag
12 $ hg bookmark -r 1 a-bookmark
11 $ hg rm a
13 $ hg rm a
12 $ hg ci -m "del a"
14 $ hg ci -m "del a"
15 $ hg branch a-branch
16 marked working directory as branch a-branch
17 (branches are permanent and global, did you want a bookmark?)
13 $ echo b > a
18 $ echo b > a
14 $ hg ci -Am "second a"
19 $ hg ci -Am "second a"
15 adding a
20 adding a
16 $ hg rm a
21 $ hg rm a
17 $ hg ci -m "del2 a"
22 $ hg ci -m "del2 a"
18 $ hg mv b c
23 $ hg mv b c
19 $ hg ci -m "mv b"
24 $ hg ci -m "mv b"
20 $ echo c >> c
25 $ echo c >> c
21 $ hg ci -m "change c"
26 $ hg ci -m "change c"
22 $ hg log -p
27 $ hg log -p
23 changeset: 6:b7682196df1c
28 changeset: 7:46c1a66bd8fc
29 branch: a-branch
24 tag: tip
30 tag: tip
25 user: test
31 user: test
26 date: Thu Jan 01 00:00:00 1970 +0000
32 date: Thu Jan 01 00:00:00 1970 +0000
27 summary: change c
33 summary: change c
28
34
29 diff -r 1a6696706df2 -r b7682196df1c c
35 diff -r c9637d3cc8ef -r 46c1a66bd8fc c
30 --- a/c Thu Jan 01 00:00:00 1970 +0000
36 --- a/c Thu Jan 01 00:00:00 1970 +0000
31 +++ b/c Thu Jan 01 00:00:00 1970 +0000
37 +++ b/c Thu Jan 01 00:00:00 1970 +0000
32 @@ -1,1 +1,2 @@
38 @@ -1,1 +1,2 @@
33 b
39 b
34 +c
40 +c
35
41
36 changeset: 5:1a6696706df2
42 changeset: 6:c9637d3cc8ef
43 branch: a-branch
37 user: test
44 user: test
38 date: Thu Jan 01 00:00:00 1970 +0000
45 date: Thu Jan 01 00:00:00 1970 +0000
39 summary: mv b
46 summary: mv b
40
47
41 diff -r 52e848cdcd88 -r 1a6696706df2 b
48 diff -r 958bd88be4eb -r c9637d3cc8ef b
42 --- a/b Thu Jan 01 00:00:00 1970 +0000
49 --- a/b Thu Jan 01 00:00:00 1970 +0000
43 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
50 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
44 @@ -1,1 +0,0 @@
51 @@ -1,1 +0,0 @@
45 -b
52 -b
46 diff -r 52e848cdcd88 -r 1a6696706df2 c
53 diff -r 958bd88be4eb -r c9637d3cc8ef c
47 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
54 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
48 +++ b/c Thu Jan 01 00:00:00 1970 +0000
55 +++ b/c Thu Jan 01 00:00:00 1970 +0000
49 @@ -0,0 +1,1 @@
56 @@ -0,0 +1,1 @@
50 +b
57 +b
51
58
52 changeset: 4:52e848cdcd88
59 changeset: 5:958bd88be4eb
60 branch: a-branch
53 user: test
61 user: test
54 date: Thu Jan 01 00:00:00 1970 +0000
62 date: Thu Jan 01 00:00:00 1970 +0000
55 summary: del2 a
63 summary: del2 a
56
64
57 diff -r 01de2d66a28d -r 52e848cdcd88 a
65 diff -r 3f41bc784e7e -r 958bd88be4eb a
58 --- a/a Thu Jan 01 00:00:00 1970 +0000
66 --- a/a Thu Jan 01 00:00:00 1970 +0000
59 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
67 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
60 @@ -1,1 +0,0 @@
68 @@ -1,1 +0,0 @@
61 -b
69 -b
62
70
63 changeset: 3:01de2d66a28d
71 changeset: 4:3f41bc784e7e
72 branch: a-branch
64 user: test
73 user: test
65 date: Thu Jan 01 00:00:00 1970 +0000
74 date: Thu Jan 01 00:00:00 1970 +0000
66 summary: second a
75 summary: second a
67
76
68 diff -r be3ebcc91739 -r 01de2d66a28d a
77 diff -r 292258f86fdf -r 3f41bc784e7e a
69 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
78 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
70 +++ b/a Thu Jan 01 00:00:00 1970 +0000
79 +++ b/a Thu Jan 01 00:00:00 1970 +0000
71 @@ -0,0 +1,1 @@
80 @@ -0,0 +1,1 @@
72 +b
81 +b
73
82
74 changeset: 2:be3ebcc91739
83 changeset: 3:292258f86fdf
75 user: test
84 user: test
76 date: Thu Jan 01 00:00:00 1970 +0000
85 date: Thu Jan 01 00:00:00 1970 +0000
77 summary: del a
86 summary: del a
78
87
79 diff -r 5ed941583260 -r be3ebcc91739 a
88 diff -r 94c9dd5ca9b4 -r 292258f86fdf a
80 --- a/a Thu Jan 01 00:00:00 1970 +0000
89 --- a/a Thu Jan 01 00:00:00 1970 +0000
81 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
90 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
82 @@ -1,1 +0,0 @@
91 @@ -1,1 +0,0 @@
83 -a
92 -a
84
93
94 changeset: 2:94c9dd5ca9b4
95 user: test
96 date: Thu Jan 01 00:00:00 1970 +0000
97 summary: Added tag a-tag for changeset 5ed941583260
98
99 diff -r 5ed941583260 -r 94c9dd5ca9b4 .hgtags
100 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
101 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
102 @@ -0,0 +1,1 @@
103 +5ed941583260248620985524192fdc382ef57c36 a-tag
104
85 changeset: 1:5ed941583260
105 changeset: 1:5ed941583260
106 bookmark: a-bookmark
107 tag: a-tag
86 user: test
108 user: test
87 date: Thu Jan 01 00:00:00 1970 +0000
109 date: Thu Jan 01 00:00:00 1970 +0000
88 summary: first a
110 summary: first a
89
111
90 diff -r 6563da9dcf87 -r 5ed941583260 a
112 diff -r 6563da9dcf87 -r 5ed941583260 a
91 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
113 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
92 +++ b/a Thu Jan 01 00:00:00 1970 +0000
114 +++ b/a Thu Jan 01 00:00:00 1970 +0000
93 @@ -0,0 +1,1 @@
115 @@ -0,0 +1,1 @@
94 +a
116 +a
95
117
96 changeset: 0:6563da9dcf87
118 changeset: 0:6563da9dcf87
97 user: test
119 user: test
98 date: Thu Jan 01 00:00:00 1970 +0000
120 date: Thu Jan 01 00:00:00 1970 +0000
99 summary: b
121 summary: b
100
122
101 diff -r 000000000000 -r 6563da9dcf87 b
123 diff -r 000000000000 -r 6563da9dcf87 b
102 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
124 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
103 +++ b/b Thu Jan 01 00:00:00 1970 +0000
125 +++ b/b Thu Jan 01 00:00:00 1970 +0000
104 @@ -0,0 +1,1 @@
126 @@ -0,0 +1,1 @@
105 +b
127 +b
106
128
107 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
129 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
108 $ cat hg.pid >> $DAEMON_PIDS
130 $ cat hg.pid >> $DAEMON_PIDS
109
131
110 tip - two revisions
132 tip - two revisions
111
133
112 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/tip/a')
134 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/tip/a')
113 200 Script output follows
135 200 Script output follows
114
136
115 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
137 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
116 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
138 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
117 <head>
139 <head>
118 <link rel="icon" href="/static/hgicon.png" type="image/png" />
140 <link rel="icon" href="/static/hgicon.png" type="image/png" />
119 <meta name="robots" content="index, nofollow" />
141 <meta name="robots" content="index, nofollow" />
120 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
142 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
121 <script type="text/javascript" src="/static/mercurial.js"></script>
143 <script type="text/javascript" src="/static/mercurial.js"></script>
122
144
123 <title>test: a history</title>
145 <title>test: a history</title>
124 <link rel="alternate" type="application/atom+xml"
146 <link rel="alternate" type="application/atom+xml"
125 href="/atom-log/tip/a" title="Atom feed for test:a" />
147 href="/atom-log/tip/a" title="Atom feed for test:a" />
126 <link rel="alternate" type="application/rss+xml"
148 <link rel="alternate" type="application/rss+xml"
127 href="/rss-log/tip/a" title="RSS feed for test:a" />
149 href="/rss-log/tip/a" title="RSS feed for test:a" />
128 </head>
150 </head>
129 <body>
151 <body>
130
152
131 <div class="container">
153 <div class="container">
132 <div class="menu">
154 <div class="menu">
133 <div class="logo">
155 <div class="logo">
134 <a href="http://mercurial.selenic.com/">
156 <a href="http://mercurial.selenic.com/">
135 <img src="/static/hglogo.png" alt="mercurial" /></a>
157 <img src="/static/hglogo.png" alt="mercurial" /></a>
136 </div>
158 </div>
137 <ul>
159 <ul>
138 <li><a href="/shortlog/01de2d66a28d">log</a></li>
160 <li><a href="/shortlog/3f41bc784e7e">log</a></li>
139 <li><a href="/graph/01de2d66a28d">graph</a></li>
161 <li><a href="/graph/3f41bc784e7e">graph</a></li>
140 <li><a href="/tags">tags</a></li>
162 <li><a href="/tags">tags</a></li>
141 <li><a href="/bookmarks">bookmarks</a></li>
163 <li><a href="/bookmarks">bookmarks</a></li>
142 <li><a href="/branches">branches</a></li>
164 <li><a href="/branches">branches</a></li>
143 </ul>
165 </ul>
144 <ul>
166 <ul>
145 <li><a href="/rev/01de2d66a28d">changeset</a></li>
167 <li><a href="/rev/3f41bc784e7e">changeset</a></li>
146 <li><a href="/file/01de2d66a28d">browse</a></li>
168 <li><a href="/file/3f41bc784e7e">browse</a></li>
147 </ul>
169 </ul>
148 <ul>
170 <ul>
149 <li><a href="/file/01de2d66a28d/a">file</a></li>
171 <li><a href="/file/3f41bc784e7e/a">file</a></li>
150 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
172 <li><a href="/diff/3f41bc784e7e/a">diff</a></li>
151 <li><a href="/comparison/01de2d66a28d/a">comparison</a></li>
173 <li><a href="/comparison/3f41bc784e7e/a">comparison</a></li>
152 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
174 <li><a href="/annotate/3f41bc784e7e/a">annotate</a></li>
153 <li class="active">file log</li>
175 <li class="active">file log</li>
154 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
176 <li><a href="/raw-file/3f41bc784e7e/a">raw</a></li>
155 </ul>
177 </ul>
156 <ul>
178 <ul>
157 <li><a href="/help">help</a></li>
179 <li><a href="/help">help</a></li>
158 </ul>
180 </ul>
159 <div class="atom-logo">
181 <div class="atom-logo">
160 <a href="/atom-log/01de2d66a28d/a" title="subscribe to atom feed">
182 <a href="/atom-log/3f41bc784e7e/a" title="subscribe to atom feed">
161 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
183 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
162 </a>
184 </a>
163 </div>
185 </div>
164 </div>
186 </div>
165
187
166 <div class="main">
188 <div class="main">
167 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
189 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
168 <h3>log a</h3>
190 <h3>log a</h3>
169
191
170 <form class="search" action="/log">
192 <form class="search" action="/log">
171
193
172 <p><input name="rev" id="search1" type="text" size="30" /></p>
194 <p><input name="rev" id="search1" type="text" size="30" /></p>
173 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
195 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
174 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
196 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
175 </form>
197 </form>
176
198
177 <div class="navigate">
199 <div class="navigate">
178 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
200 <a href="/log/3f41bc784e7e/a?revcount=30">less</a>
179 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
201 <a href="/log/3f41bc784e7e/a?revcount=120">more</a>
180 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
202 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
181
203
182 <table class="bigtable">
204 <table class="bigtable">
183 <thead>
205 <thead>
184 <tr>
206 <tr>
185 <th class="age">age</th>
207 <th class="age">age</th>
186 <th class="author">author</th>
208 <th class="author">author</th>
187 <th class="description">description</th>
209 <th class="description">description</th>
188 </tr>
210 </tr>
189 </thead>
211 </thead>
190 <tbody class="stripes2">
212 <tbody class="stripes2">
191 <tr>
213 <tr>
192 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
214 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
193 <td class="author">test</td>
215 <td class="author">test</td>
194 <td class="description">
216 <td class="description">
195 <a href="/rev/01de2d66a28d">second a</a>
217 <a href="/rev/3f41bc784e7e">second a</a>
196
218 <span class="branchname">a-branch</span>
197 </td>
219 </td>
198 </tr>
220 </tr>
199 <tr>
221 <tr>
200 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
222 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
201 <td class="author">test</td>
223 <td class="author">test</td>
202 <td class="description">
224 <td class="description">
203 <a href="/rev/5ed941583260">first a</a>
225 <a href="/rev/5ed941583260">first a</a>
204
226 <span class="tag">a-tag</span>
205 </td>
227 </td>
206 </tr>
228 </tr>
207
229
208 </tbody>
230 </tbody>
209 </table>
231 </table>
210
232
211 <div class="navigate">
233 <div class="navigate">
212 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
234 <a href="/log/3f41bc784e7e/a?revcount=30">less</a>
213 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
235 <a href="/log/3f41bc784e7e/a?revcount=120">more</a>
214 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
236 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
215 </div>
237 </div>
216
238
217 </div>
239 </div>
218 </div>
240 </div>
219
241
220 <script type="text/javascript">process_dates()</script>
242 <script type="text/javascript">process_dates()</script>
221
243
222
244
223 </body>
245 </body>
224 </html>
246 </html>
225
247
226
248
227 second version - two revisions
249 second version - two revisions
228
250
229 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/3/a')
251 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/4/a')
230 200 Script output follows
252 200 Script output follows
231
253
232 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
254 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
233 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
255 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
234 <head>
256 <head>
235 <link rel="icon" href="/static/hgicon.png" type="image/png" />
257 <link rel="icon" href="/static/hgicon.png" type="image/png" />
236 <meta name="robots" content="index, nofollow" />
258 <meta name="robots" content="index, nofollow" />
237 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
259 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
238 <script type="text/javascript" src="/static/mercurial.js"></script>
260 <script type="text/javascript" src="/static/mercurial.js"></script>
239
261
240 <title>test: a history</title>
262 <title>test: a history</title>
241 <link rel="alternate" type="application/atom+xml"
263 <link rel="alternate" type="application/atom+xml"
242 href="/atom-log/tip/a" title="Atom feed for test:a" />
264 href="/atom-log/tip/a" title="Atom feed for test:a" />
243 <link rel="alternate" type="application/rss+xml"
265 <link rel="alternate" type="application/rss+xml"
244 href="/rss-log/tip/a" title="RSS feed for test:a" />
266 href="/rss-log/tip/a" title="RSS feed for test:a" />
245 </head>
267 </head>
246 <body>
268 <body>
247
269
248 <div class="container">
270 <div class="container">
249 <div class="menu">
271 <div class="menu">
250 <div class="logo">
272 <div class="logo">
251 <a href="http://mercurial.selenic.com/">
273 <a href="http://mercurial.selenic.com/">
252 <img src="/static/hglogo.png" alt="mercurial" /></a>
274 <img src="/static/hglogo.png" alt="mercurial" /></a>
253 </div>
275 </div>
254 <ul>
276 <ul>
255 <li><a href="/shortlog/01de2d66a28d">log</a></li>
277 <li><a href="/shortlog/3f41bc784e7e">log</a></li>
256 <li><a href="/graph/01de2d66a28d">graph</a></li>
278 <li><a href="/graph/3f41bc784e7e">graph</a></li>
257 <li><a href="/tags">tags</a></li>
279 <li><a href="/tags">tags</a></li>
258 <li><a href="/bookmarks">bookmarks</a></li>
280 <li><a href="/bookmarks">bookmarks</a></li>
259 <li><a href="/branches">branches</a></li>
281 <li><a href="/branches">branches</a></li>
260 </ul>
282 </ul>
261 <ul>
283 <ul>
262 <li><a href="/rev/01de2d66a28d">changeset</a></li>
284 <li><a href="/rev/3f41bc784e7e">changeset</a></li>
263 <li><a href="/file/01de2d66a28d">browse</a></li>
285 <li><a href="/file/3f41bc784e7e">browse</a></li>
264 </ul>
286 </ul>
265 <ul>
287 <ul>
266 <li><a href="/file/01de2d66a28d/a">file</a></li>
288 <li><a href="/file/3f41bc784e7e/a">file</a></li>
267 <li><a href="/diff/01de2d66a28d/a">diff</a></li>
289 <li><a href="/diff/3f41bc784e7e/a">diff</a></li>
268 <li><a href="/comparison/01de2d66a28d/a">comparison</a></li>
290 <li><a href="/comparison/3f41bc784e7e/a">comparison</a></li>
269 <li><a href="/annotate/01de2d66a28d/a">annotate</a></li>
291 <li><a href="/annotate/3f41bc784e7e/a">annotate</a></li>
270 <li class="active">file log</li>
292 <li class="active">file log</li>
271 <li><a href="/raw-file/01de2d66a28d/a">raw</a></li>
293 <li><a href="/raw-file/3f41bc784e7e/a">raw</a></li>
272 </ul>
294 </ul>
273 <ul>
295 <ul>
274 <li><a href="/help">help</a></li>
296 <li><a href="/help">help</a></li>
275 </ul>
297 </ul>
276 <div class="atom-logo">
298 <div class="atom-logo">
277 <a href="/atom-log/01de2d66a28d/a" title="subscribe to atom feed">
299 <a href="/atom-log/3f41bc784e7e/a" title="subscribe to atom feed">
278 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
300 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
279 </a>
301 </a>
280 </div>
302 </div>
281 </div>
303 </div>
282
304
283 <div class="main">
305 <div class="main">
284 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
306 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
285 <h3>log a</h3>
307 <h3>log a</h3>
286
308
287 <form class="search" action="/log">
309 <form class="search" action="/log">
288
310
289 <p><input name="rev" id="search1" type="text" size="30" /></p>
311 <p><input name="rev" id="search1" type="text" size="30" /></p>
290 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
312 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
291 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
313 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
292 </form>
314 </form>
293
315
294 <div class="navigate">
316 <div class="navigate">
295 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
317 <a href="/log/3f41bc784e7e/a?revcount=30">less</a>
296 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
318 <a href="/log/3f41bc784e7e/a?revcount=120">more</a>
297 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
319 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
298
320
299 <table class="bigtable">
321 <table class="bigtable">
300 <thead>
322 <thead>
301 <tr>
323 <tr>
302 <th class="age">age</th>
324 <th class="age">age</th>
303 <th class="author">author</th>
325 <th class="author">author</th>
304 <th class="description">description</th>
326 <th class="description">description</th>
305 </tr>
327 </tr>
306 </thead>
328 </thead>
307 <tbody class="stripes2">
329 <tbody class="stripes2">
308 <tr>
330 <tr>
309 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
331 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
310 <td class="author">test</td>
332 <td class="author">test</td>
311 <td class="description">
333 <td class="description">
312 <a href="/rev/01de2d66a28d">second a</a>
334 <a href="/rev/3f41bc784e7e">second a</a>
313
335 <span class="branchname">a-branch</span>
314 </td>
336 </td>
315 </tr>
337 </tr>
316 <tr>
338 <tr>
317 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
339 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
318 <td class="author">test</td>
340 <td class="author">test</td>
319 <td class="description">
341 <td class="description">
320 <a href="/rev/5ed941583260">first a</a>
342 <a href="/rev/5ed941583260">first a</a>
321
343 <span class="tag">a-tag</span>
322 </td>
344 </td>
323 </tr>
345 </tr>
324
346
325 </tbody>
347 </tbody>
326 </table>
348 </table>
327
349
328 <div class="navigate">
350 <div class="navigate">
329 <a href="/log/01de2d66a28d/a?revcount=30">less</a>
351 <a href="/log/3f41bc784e7e/a?revcount=30">less</a>
330 <a href="/log/01de2d66a28d/a?revcount=120">more</a>
352 <a href="/log/3f41bc784e7e/a?revcount=120">more</a>
331 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
353 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
332 </div>
354 </div>
333
355
334 </div>
356 </div>
335 </div>
357 </div>
336
358
337 <script type="text/javascript">process_dates()</script>
359 <script type="text/javascript">process_dates()</script>
338
360
339
361
340 </body>
362 </body>
341 </html>
363 </html>
342
364
343
365
344 first deleted - one revision
366 first deleted - one revision
345
367
346 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/2/a')
368 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/3/a')
347 200 Script output follows
369 200 Script output follows
348
370
349 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
371 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
350 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
372 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
351 <head>
373 <head>
352 <link rel="icon" href="/static/hgicon.png" type="image/png" />
374 <link rel="icon" href="/static/hgicon.png" type="image/png" />
353 <meta name="robots" content="index, nofollow" />
375 <meta name="robots" content="index, nofollow" />
354 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
376 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
355 <script type="text/javascript" src="/static/mercurial.js"></script>
377 <script type="text/javascript" src="/static/mercurial.js"></script>
356
378
357 <title>test: a history</title>
379 <title>test: a history</title>
358 <link rel="alternate" type="application/atom+xml"
380 <link rel="alternate" type="application/atom+xml"
359 href="/atom-log/tip/a" title="Atom feed for test:a" />
381 href="/atom-log/tip/a" title="Atom feed for test:a" />
360 <link rel="alternate" type="application/rss+xml"
382 <link rel="alternate" type="application/rss+xml"
361 href="/rss-log/tip/a" title="RSS feed for test:a" />
383 href="/rss-log/tip/a" title="RSS feed for test:a" />
362 </head>
384 </head>
363 <body>
385 <body>
364
386
365 <div class="container">
387 <div class="container">
366 <div class="menu">
388 <div class="menu">
367 <div class="logo">
389 <div class="logo">
368 <a href="http://mercurial.selenic.com/">
390 <a href="http://mercurial.selenic.com/">
369 <img src="/static/hglogo.png" alt="mercurial" /></a>
391 <img src="/static/hglogo.png" alt="mercurial" /></a>
370 </div>
392 </div>
371 <ul>
393 <ul>
372 <li><a href="/shortlog/5ed941583260">log</a></li>
394 <li><a href="/shortlog/5ed941583260">log</a></li>
373 <li><a href="/graph/5ed941583260">graph</a></li>
395 <li><a href="/graph/5ed941583260">graph</a></li>
374 <li><a href="/tags">tags</a></li>
396 <li><a href="/tags">tags</a></li>
375 <li><a href="/bookmarks">bookmarks</a></li>
397 <li><a href="/bookmarks">bookmarks</a></li>
376 <li><a href="/branches">branches</a></li>
398 <li><a href="/branches">branches</a></li>
377 </ul>
399 </ul>
378 <ul>
400 <ul>
379 <li><a href="/rev/5ed941583260">changeset</a></li>
401 <li><a href="/rev/5ed941583260">changeset</a></li>
380 <li><a href="/file/5ed941583260">browse</a></li>
402 <li><a href="/file/5ed941583260">browse</a></li>
381 </ul>
403 </ul>
382 <ul>
404 <ul>
383 <li><a href="/file/5ed941583260/a">file</a></li>
405 <li><a href="/file/5ed941583260/a">file</a></li>
384 <li><a href="/diff/5ed941583260/a">diff</a></li>
406 <li><a href="/diff/5ed941583260/a">diff</a></li>
385 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
407 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
386 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
408 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
387 <li class="active">file log</li>
409 <li class="active">file log</li>
388 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
410 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
389 </ul>
411 </ul>
390 <ul>
412 <ul>
391 <li><a href="/help">help</a></li>
413 <li><a href="/help">help</a></li>
392 </ul>
414 </ul>
393 <div class="atom-logo">
415 <div class="atom-logo">
394 <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
416 <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
395 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
417 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
396 </a>
418 </a>
397 </div>
419 </div>
398 </div>
420 </div>
399
421
400 <div class="main">
422 <div class="main">
401 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
423 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
402 <h3>log a</h3>
424 <h3>log a</h3>
403
425
404 <form class="search" action="/log">
426 <form class="search" action="/log">
405
427
406 <p><input name="rev" id="search1" type="text" size="30" /></p>
428 <p><input name="rev" id="search1" type="text" size="30" /></p>
407 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
429 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
408 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
430 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
409 </form>
431 </form>
410
432
411 <div class="navigate">
433 <div class="navigate">
412 <a href="/log/5ed941583260/a?revcount=30">less</a>
434 <a href="/log/5ed941583260/a?revcount=30">less</a>
413 <a href="/log/5ed941583260/a?revcount=120">more</a>
435 <a href="/log/5ed941583260/a?revcount=120">more</a>
414 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
436 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
415
437
416 <table class="bigtable">
438 <table class="bigtable">
417 <thead>
439 <thead>
418 <tr>
440 <tr>
419 <th class="age">age</th>
441 <th class="age">age</th>
420 <th class="author">author</th>
442 <th class="author">author</th>
421 <th class="description">description</th>
443 <th class="description">description</th>
422 </tr>
444 </tr>
423 </thead>
445 </thead>
424 <tbody class="stripes2">
446 <tbody class="stripes2">
425 <tr>
447 <tr>
426 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
448 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
427 <td class="author">test</td>
449 <td class="author">test</td>
428 <td class="description">
450 <td class="description">
429 <a href="/rev/5ed941583260">first a</a>
451 <a href="/rev/5ed941583260">first a</a>
430
452 <span class="tag">a-tag</span>
431 </td>
453 </td>
432 </tr>
454 </tr>
433
455
434 </tbody>
456 </tbody>
435 </table>
457 </table>
436
458
437 <div class="navigate">
459 <div class="navigate">
438 <a href="/log/5ed941583260/a?revcount=30">less</a>
460 <a href="/log/5ed941583260/a?revcount=30">less</a>
439 <a href="/log/5ed941583260/a?revcount=120">more</a>
461 <a href="/log/5ed941583260/a?revcount=120">more</a>
440 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
462 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
441 </div>
463 </div>
442
464
443 </div>
465 </div>
444 </div>
466 </div>
445
467
446 <script type="text/javascript">process_dates()</script>
468 <script type="text/javascript">process_dates()</script>
447
469
448
470
449 </body>
471 </body>
450 </html>
472 </html>
451
473
452
474
453 first version - one revision
475 first version - one revision
454
476
455 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/1/a')
477 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/1/a')
456 200 Script output follows
478 200 Script output follows
457
479
458 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
480 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
459 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
481 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
460 <head>
482 <head>
461 <link rel="icon" href="/static/hgicon.png" type="image/png" />
483 <link rel="icon" href="/static/hgicon.png" type="image/png" />
462 <meta name="robots" content="index, nofollow" />
484 <meta name="robots" content="index, nofollow" />
463 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
485 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
464 <script type="text/javascript" src="/static/mercurial.js"></script>
486 <script type="text/javascript" src="/static/mercurial.js"></script>
465
487
466 <title>test: a history</title>
488 <title>test: a history</title>
467 <link rel="alternate" type="application/atom+xml"
489 <link rel="alternate" type="application/atom+xml"
468 href="/atom-log/tip/a" title="Atom feed for test:a" />
490 href="/atom-log/tip/a" title="Atom feed for test:a" />
469 <link rel="alternate" type="application/rss+xml"
491 <link rel="alternate" type="application/rss+xml"
470 href="/rss-log/tip/a" title="RSS feed for test:a" />
492 href="/rss-log/tip/a" title="RSS feed for test:a" />
471 </head>
493 </head>
472 <body>
494 <body>
473
495
474 <div class="container">
496 <div class="container">
475 <div class="menu">
497 <div class="menu">
476 <div class="logo">
498 <div class="logo">
477 <a href="http://mercurial.selenic.com/">
499 <a href="http://mercurial.selenic.com/">
478 <img src="/static/hglogo.png" alt="mercurial" /></a>
500 <img src="/static/hglogo.png" alt="mercurial" /></a>
479 </div>
501 </div>
480 <ul>
502 <ul>
481 <li><a href="/shortlog/5ed941583260">log</a></li>
503 <li><a href="/shortlog/5ed941583260">log</a></li>
482 <li><a href="/graph/5ed941583260">graph</a></li>
504 <li><a href="/graph/5ed941583260">graph</a></li>
483 <li><a href="/tags">tags</a></li>
505 <li><a href="/tags">tags</a></li>
484 <li><a href="/bookmarks">bookmarks</a></li>
506 <li><a href="/bookmarks">bookmarks</a></li>
485 <li><a href="/branches">branches</a></li>
507 <li><a href="/branches">branches</a></li>
486 </ul>
508 </ul>
487 <ul>
509 <ul>
488 <li><a href="/rev/5ed941583260">changeset</a></li>
510 <li><a href="/rev/5ed941583260">changeset</a></li>
489 <li><a href="/file/5ed941583260">browse</a></li>
511 <li><a href="/file/5ed941583260">browse</a></li>
490 </ul>
512 </ul>
491 <ul>
513 <ul>
492 <li><a href="/file/5ed941583260/a">file</a></li>
514 <li><a href="/file/5ed941583260/a">file</a></li>
493 <li><a href="/diff/5ed941583260/a">diff</a></li>
515 <li><a href="/diff/5ed941583260/a">diff</a></li>
494 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
516 <li><a href="/comparison/5ed941583260/a">comparison</a></li>
495 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
517 <li><a href="/annotate/5ed941583260/a">annotate</a></li>
496 <li class="active">file log</li>
518 <li class="active">file log</li>
497 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
519 <li><a href="/raw-file/5ed941583260/a">raw</a></li>
498 </ul>
520 </ul>
499 <ul>
521 <ul>
500 <li><a href="/help">help</a></li>
522 <li><a href="/help">help</a></li>
501 </ul>
523 </ul>
502 <div class="atom-logo">
524 <div class="atom-logo">
503 <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
525 <a href="/atom-log/5ed941583260/a" title="subscribe to atom feed">
504 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
526 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
505 </a>
527 </a>
506 </div>
528 </div>
507 </div>
529 </div>
508
530
509 <div class="main">
531 <div class="main">
510 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
532 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
511 <h3>log a</h3>
533 <h3>log a</h3>
512
534
513 <form class="search" action="/log">
535 <form class="search" action="/log">
514
536
515 <p><input name="rev" id="search1" type="text" size="30" /></p>
537 <p><input name="rev" id="search1" type="text" size="30" /></p>
516 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
538 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
517 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
539 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
518 </form>
540 </form>
519
541
520 <div class="navigate">
542 <div class="navigate">
521 <a href="/log/5ed941583260/a?revcount=30">less</a>
543 <a href="/log/5ed941583260/a?revcount=30">less</a>
522 <a href="/log/5ed941583260/a?revcount=120">more</a>
544 <a href="/log/5ed941583260/a?revcount=120">more</a>
523 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
545 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
524
546
525 <table class="bigtable">
547 <table class="bigtable">
526 <thead>
548 <thead>
527 <tr>
549 <tr>
528 <th class="age">age</th>
550 <th class="age">age</th>
529 <th class="author">author</th>
551 <th class="author">author</th>
530 <th class="description">description</th>
552 <th class="description">description</th>
531 </tr>
553 </tr>
532 </thead>
554 </thead>
533 <tbody class="stripes2">
555 <tbody class="stripes2">
534 <tr>
556 <tr>
535 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
557 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
536 <td class="author">test</td>
558 <td class="author">test</td>
537 <td class="description">
559 <td class="description">
538 <a href="/rev/5ed941583260">first a</a>
560 <a href="/rev/5ed941583260">first a</a>
539
561 <span class="tag">a-tag</span>
540 </td>
562 </td>
541 </tr>
563 </tr>
542
564
543 </tbody>
565 </tbody>
544 </table>
566 </table>
545
567
546 <div class="navigate">
568 <div class="navigate">
547 <a href="/log/5ed941583260/a?revcount=30">less</a>
569 <a href="/log/5ed941583260/a?revcount=30">less</a>
548 <a href="/log/5ed941583260/a?revcount=120">more</a>
570 <a href="/log/5ed941583260/a?revcount=120">more</a>
549 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
571 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
550 </div>
572 </div>
551
573
552 </div>
574 </div>
553 </div>
575 </div>
554
576
555 <script type="text/javascript">process_dates()</script>
577 <script type="text/javascript">process_dates()</script>
556
578
557
579
558 </body>
580 </body>
559 </html>
581 </html>
560
582
561
583
562 before addition - error
584 before addition - error
563
585
564 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/0/a')
586 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/0/a')
565 404 Not Found
587 404 Not Found
566
588
567 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
589 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
568 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
590 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
569 <head>
591 <head>
570 <link rel="icon" href="/static/hgicon.png" type="image/png" />
592 <link rel="icon" href="/static/hgicon.png" type="image/png" />
571 <meta name="robots" content="index, nofollow" />
593 <meta name="robots" content="index, nofollow" />
572 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
594 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
573 <script type="text/javascript" src="/static/mercurial.js"></script>
595 <script type="text/javascript" src="/static/mercurial.js"></script>
574
596
575 <title>test: error</title>
597 <title>test: error</title>
576 </head>
598 </head>
577 <body>
599 <body>
578
600
579 <div class="container">
601 <div class="container">
580 <div class="menu">
602 <div class="menu">
581 <div class="logo">
603 <div class="logo">
582 <a href="http://mercurial.selenic.com/">
604 <a href="http://mercurial.selenic.com/">
583 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
605 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
584 </div>
606 </div>
585 <ul>
607 <ul>
586 <li><a href="/shortlog">log</a></li>
608 <li><a href="/shortlog">log</a></li>
587 <li><a href="/graph">graph</a></li>
609 <li><a href="/graph">graph</a></li>
588 <li><a href="/tags">tags</a></li>
610 <li><a href="/tags">tags</a></li>
589 <li><a href="/bookmarks">bookmarks</a></li>
611 <li><a href="/bookmarks">bookmarks</a></li>
590 <li><a href="/branches">branches</a></li>
612 <li><a href="/branches">branches</a></li>
591 </ul>
613 </ul>
592 <ul>
614 <ul>
593 <li><a href="/help">help</a></li>
615 <li><a href="/help">help</a></li>
594 </ul>
616 </ul>
595 </div>
617 </div>
596
618
597 <div class="main">
619 <div class="main">
598
620
599 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
621 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
600 <h3>error</h3>
622 <h3>error</h3>
601
623
602 <form class="search" action="/log">
624 <form class="search" action="/log">
603
625
604 <p><input name="rev" id="search1" type="text" size="30"></p>
626 <p><input name="rev" id="search1" type="text" size="30"></p>
605 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
627 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
606 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
628 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
607 </form>
629 </form>
608
630
609 <div class="description">
631 <div class="description">
610 <p>
632 <p>
611 An error occurred while processing your request:
633 An error occurred while processing your request:
612 </p>
634 </p>
613 <p>
635 <p>
614 a@6563da9dcf87: not found in manifest
636 a@6563da9dcf87: not found in manifest
615 </p>
637 </p>
616 </div>
638 </div>
617 </div>
639 </div>
618 </div>
640 </div>
619
641
620 <script type="text/javascript">process_dates()</script>
642 <script type="text/javascript">process_dates()</script>
621
643
622
644
623 </body>
645 </body>
624 </html>
646 </html>
625
647
626 [1]
648 [1]
627
649
628 should show base link, use spartan because it shows it
650 should show base link, use spartan because it shows it
629
651
630 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/tip/c?style=spartan')
652 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log/tip/c?style=spartan')
631 200 Script output follows
653 200 Script output follows
632
654
633 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
655 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
634 <html>
656 <html>
635 <head>
657 <head>
636 <link rel="icon" href="/static/hgicon.png" type="image/png">
658 <link rel="icon" href="/static/hgicon.png" type="image/png">
637 <meta name="robots" content="index, nofollow" />
659 <meta name="robots" content="index, nofollow" />
638 <link rel="stylesheet" href="/static/style.css" type="text/css" />
660 <link rel="stylesheet" href="/static/style.css" type="text/css" />
639 <script type="text/javascript" src="/static/mercurial.js"></script>
661 <script type="text/javascript" src="/static/mercurial.js"></script>
640
662
641 <title>test: c history</title>
663 <title>test: c history</title>
642 <link rel="alternate" type="application/atom+xml"
664 <link rel="alternate" type="application/atom+xml"
643 href="/atom-log/tip/c" title="Atom feed for test:c">
665 href="/atom-log/tip/c" title="Atom feed for test:c">
644 <link rel="alternate" type="application/rss+xml"
666 <link rel="alternate" type="application/rss+xml"
645 href="/rss-log/tip/c" title="RSS feed for test:c">
667 href="/rss-log/tip/c" title="RSS feed for test:c">
646 </head>
668 </head>
647 <body>
669 <body>
648
670
649 <div class="buttons">
671 <div class="buttons">
650 <a href="/log?style=spartan">changelog</a>
672 <a href="/log?style=spartan">changelog</a>
651 <a href="/shortlog?style=spartan">shortlog</a>
673 <a href="/shortlog?style=spartan">shortlog</a>
652 <a href="/graph?style=spartan">graph</a>
674 <a href="/graph?style=spartan">graph</a>
653 <a href="/tags?style=spartan">tags</a>
675 <a href="/tags?style=spartan">tags</a>
654 <a href="/branches?style=spartan">branches</a>
676 <a href="/branches?style=spartan">branches</a>
655 <a href="/file/b7682196df1c/c?style=spartan">file</a>
677 <a href="/file/46c1a66bd8fc/c?style=spartan">file</a>
656 <a href="/annotate/b7682196df1c/c?style=spartan">annotate</a>
678 <a href="/annotate/46c1a66bd8fc/c?style=spartan">annotate</a>
657 <a href="/help?style=spartan">help</a>
679 <a href="/help?style=spartan">help</a>
658 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
680 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
659 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
681 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
660 </div>
682 </div>
661
683
662 <h2><a href="/">Mercurial</a> / c revision history</h2>
684 <h2><a href="/">Mercurial</a> / c revision history</h2>
663
685
664 <p>navigate: <small class="navigate"><a href="/log/1a6696706df2/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
686 <p>navigate: <small class="navigate"><a href="/log/c9637d3cc8ef/c?style=spartan">(0)</a> <a href="/log/tip/c?style=spartan">tip</a> </small></p>
665
687
666 <table class="logEntry parity0">
688 <table class="logEntry parity0">
667 <tr>
689 <tr>
668 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
690 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
669 <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
691 <th class="firstline"><a href="/rev/46c1a66bd8fc?style=spartan">change c</a></th>
670 </tr>
692 </tr>
671 <tr>
693 <tr>
672 <th class="revision">revision 1:</th>
694 <th class="revision">revision 1:</th>
673 <td class="node">
695 <td class="node">
674 <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
696 <a href="/file/46c1a66bd8fc/c?style=spartan">46c1a66bd8fc</a>
675 <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
697 <a href="/diff/46c1a66bd8fc/c?style=spartan">(diff)</a>
676 <a href="/annotate/b7682196df1c/c?style=spartan">(annotate)</a>
698 <a href="/annotate/46c1a66bd8fc/c?style=spartan">(annotate)</a>
677 </td>
699 </td>
678 </tr>
700 </tr>
679
701
680 <tr>
702 <tr>
681 <th class="author">author:</th>
703 <th class="author">author:</th>
682 <td class="author">&#116;&#101;&#115;&#116;</td>
704 <td class="author">&#116;&#101;&#115;&#116;</td>
683 </tr>
705 </tr>
684 <tr>
706 <tr>
685 <th class="date">date:</th>
707 <th class="date">date:</th>
686 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
708 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
687 </tr>
709 </tr>
688 </table>
710 </table>
689
711
690
712
691 <table class="logEntry parity1">
713 <table class="logEntry parity1">
692 <tr>
714 <tr>
693 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
715 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
694 <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
716 <th class="firstline"><a href="/rev/c9637d3cc8ef?style=spartan">mv b</a></th>
695 </tr>
717 </tr>
696 <tr>
718 <tr>
697 <th class="revision">revision 0:</th>
719 <th class="revision">revision 0:</th>
698 <td class="node">
720 <td class="node">
699 <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
721 <a href="/file/c9637d3cc8ef/c?style=spartan">c9637d3cc8ef</a>
700 <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>
722 <a href="/diff/c9637d3cc8ef/c?style=spartan">(diff)</a>
701 <a href="/annotate/1a6696706df2/c?style=spartan">(annotate)</a>
723 <a href="/annotate/c9637d3cc8ef/c?style=spartan">(annotate)</a>
702 </td>
724 </td>
703 </tr>
725 </tr>
704
726
705 <tr>
727 <tr>
706 <th>base:</th>
728 <th>base:</th>
707 <td>
729 <td>
708 <a href="/file/1e88685f5dde/b?style=spartan">
730 <a href="/file/1e88685f5dde/b?style=spartan">
709 b@1e88685f5dde
731 b@1e88685f5dde
710 </a>
732 </a>
711 </td>
733 </td>
712 </tr>
734 </tr>
713 <tr>
735 <tr>
714 <th class="author">author:</th>
736 <th class="author">author:</th>
715 <td class="author">&#116;&#101;&#115;&#116;</td>
737 <td class="author">&#116;&#101;&#115;&#116;</td>
716 </tr>
738 </tr>
717 <tr>
739 <tr>
718 <th class="date">date:</th>
740 <th class="date">date:</th>
719 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
741 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
720 </tr>
742 </tr>
721 </table>
743 </table>
722
744
723
745
724
746
725
747
726 <script type="text/javascript">process_dates()</script>
748 <script type="text/javascript">process_dates()</script>
727
749
728 <div class="logo">
750 <div class="logo">
729 <a href="http://mercurial.selenic.com/">
751 <a href="http://mercurial.selenic.com/">
730 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
752 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
731 </div>
753 </div>
732
754
733 </body>
755 </body>
734 </html>
756 </html>
735
757
736
758
737 rss log
759 rss log
738
760
739 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'rss-log/tip/a')
761 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'rss-log/tip/a')
740 200 Script output follows
762 200 Script output follows
741
763
742 <?xml version="1.0" encoding="ascii"?>
764 <?xml version="1.0" encoding="ascii"?>
743 <rss version="2.0">
765 <rss version="2.0">
744 <channel>
766 <channel>
745 <link>http://*:$HGPORT/</link> (glob)
767 <link>http://*:$HGPORT/</link> (glob)
746 <language>en-us</language>
768 <language>en-us</language>
747
769
748 <title>test: a history</title>
770 <title>test: a history</title>
749 <description>a revision history</description>
771 <description>a revision history</description>
750 <item>
772 <item>
751 <title>second a</title>
773 <title>second a</title>
752 <link>http://*:$HGPORT/log01de2d66a28d/a</link> (glob)
774 <link>http://*:$HGPORT/log3f41bc784e7e/a</link> (glob)
753 <description><![CDATA[second a]]></description>
775 <description><![CDATA[second a]]></description>
754 <author>&#116;&#101;&#115;&#116;</author>
776 <author>&#116;&#101;&#115;&#116;</author>
755 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
777 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
756 </item>
778 </item>
757 <item>
779 <item>
758 <title>first a</title>
780 <title>first a</title>
759 <link>http://*:$HGPORT/log5ed941583260/a</link> (glob)
781 <link>http://*:$HGPORT/log5ed941583260/a</link> (glob)
760 <description><![CDATA[first a]]></description>
782 <description><![CDATA[first a]]></description>
761 <author>&#116;&#101;&#115;&#116;</author>
783 <author>&#116;&#101;&#115;&#116;</author>
762 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
784 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
763 </item>
785 </item>
764
786
765 </channel>
787 </channel>
766 </rss>
788 </rss>
767
789
768 atom log
790 atom log
769
791
770 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'atom-log/tip/a')
792 $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'atom-log/tip/a')
771 200 Script output follows
793 200 Script output follows
772
794
773 <?xml version="1.0" encoding="ascii"?>
795 <?xml version="1.0" encoding="ascii"?>
774 <feed xmlns="http://www.w3.org/2005/Atom">
796 <feed xmlns="http://www.w3.org/2005/Atom">
775 <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
797 <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
776 <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
798 <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
777 <title>test: a history</title>
799 <title>test: a history</title>
778 <updated>1970-01-01T00:00:00+00:00</updated>
800 <updated>1970-01-01T00:00:00+00:00</updated>
779
801
780 <entry>
802 <entry>
781 <title>second a</title>
803 <title>[a-branch] second a</title>
782 <id>http://*:$HGPORT/#changeset-01de2d66a28df5549090991dccda788726948517</id> (glob)
804 <id>http://*:$HGPORT/#changeset-3f41bc784e7e73035c6d47112c6cc7efb673adf8</id> (glob)
783 <link href="http://*:$HGPORT/rev/01de2d66a28d"/> (glob)
805 <link href="http://*:$HGPORT/rev/3f41bc784e7e"/> (glob)
784 <author>
806 <author>
785 <name>test</name>
807 <name>test</name>
786 <email>&#116;&#101;&#115;&#116;</email>
808 <email>&#116;&#101;&#115;&#116;</email>
787 </author>
809 </author>
788 <updated>1970-01-01T00:00:00+00:00</updated>
810 <updated>1970-01-01T00:00:00+00:00</updated>
789 <published>1970-01-01T00:00:00+00:00</published>
811 <published>1970-01-01T00:00:00+00:00</published>
790 <content type="xhtml">
812 <content type="xhtml">
791 <table xmlns="http://www.w3.org/1999/xhtml">
813 <table xmlns="http://www.w3.org/1999/xhtml">
792 <tr>
814 <tr>
793 <th style="text-align:left;">changeset</th>
815 <th style="text-align:left;">changeset</th>
794 <td>01de2d66a28d</td>
816 <td>3f41bc784e7e</td>
795 </tr>
817 </tr>
796 <tr>
818 <tr>
797 <th style="text-align:left;">branch</th>
819 <th style="text-align:left;">branch</th>
798 <td></td>
820 <td>a-branch</td>
799 </tr>
821 </tr>
800 <tr>
822 <tr>
801 <th style="text-align:left;">bookmark</th>
823 <th style="text-align:left;">bookmark</th>
802 <td></td>
824 <td></td>
803 </tr>
825 </tr>
804 <tr>
826 <tr>
805 <th style="text-align:left;">tag</th>
827 <th style="text-align:left;">tag</th>
806 <td></td>
828 <td></td>
807 </tr>
829 </tr>
808 <tr>
830 <tr>
809 <th style="text-align:left;">user</th>
831 <th style="text-align:left;">user</th>
810 <td>&#116;&#101;&#115;&#116;</td>
832 <td>&#116;&#101;&#115;&#116;</td>
811 </tr>
833 </tr>
812 <tr>
834 <tr>
813 <th style="text-align:left;vertical-align:top;">description</th>
835 <th style="text-align:left;vertical-align:top;">description</th>
814 <td>second a</td>
836 <td>second a</td>
815 </tr>
837 </tr>
816 <tr>
838 <tr>
817 <th style="text-align:left;vertical-align:top;">files</th>
839 <th style="text-align:left;vertical-align:top;">files</th>
818 <td></td>
840 <td></td>
819 </tr>
841 </tr>
820 </table>
842 </table>
821 </content>
843 </content>
822 </entry>
844 </entry>
823 <entry>
845 <entry>
824 <title>first a</title>
846 <title>first a</title>
825 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
847 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
826 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
848 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
827 <author>
849 <author>
828 <name>test</name>
850 <name>test</name>
829 <email>&#116;&#101;&#115;&#116;</email>
851 <email>&#116;&#101;&#115;&#116;</email>
830 </author>
852 </author>
831 <updated>1970-01-01T00:00:00+00:00</updated>
853 <updated>1970-01-01T00:00:00+00:00</updated>
832 <published>1970-01-01T00:00:00+00:00</published>
854 <published>1970-01-01T00:00:00+00:00</published>
833 <content type="xhtml">
855 <content type="xhtml">
834 <table xmlns="http://www.w3.org/1999/xhtml">
856 <table xmlns="http://www.w3.org/1999/xhtml">
835 <tr>
857 <tr>
836 <th style="text-align:left;">changeset</th>
858 <th style="text-align:left;">changeset</th>
837 <td>5ed941583260</td>
859 <td>5ed941583260</td>
838 </tr>
860 </tr>
839 <tr>
861 <tr>
840 <th style="text-align:left;">branch</th>
862 <th style="text-align:left;">branch</th>
841 <td></td>
863 <td></td>
842 </tr>
864 </tr>
843 <tr>
865 <tr>
844 <th style="text-align:left;">bookmark</th>
866 <th style="text-align:left;">bookmark</th>
845 <td></td>
867 <td>a-bookmark</td>
846 </tr>
868 </tr>
847 <tr>
869 <tr>
848 <th style="text-align:left;">tag</th>
870 <th style="text-align:left;">tag</th>
849 <td></td>
871 <td>a-tag</td>
850 </tr>
872 </tr>
851 <tr>
873 <tr>
852 <th style="text-align:left;">user</th>
874 <th style="text-align:left;">user</th>
853 <td>&#116;&#101;&#115;&#116;</td>
875 <td>&#116;&#101;&#115;&#116;</td>
854 </tr>
876 </tr>
855 <tr>
877 <tr>
856 <th style="text-align:left;vertical-align:top;">description</th>
878 <th style="text-align:left;vertical-align:top;">description</th>
857 <td>first a</td>
879 <td>first a</td>
858 </tr>
880 </tr>
859 <tr>
881 <tr>
860 <th style="text-align:left;vertical-align:top;">files</th>
882 <th style="text-align:left;vertical-align:top;">files</th>
861 <td></td>
883 <td></td>
862 </tr>
884 </tr>
863 </table>
885 </table>
864 </content>
886 </content>
865 </entry>
887 </entry>
866
888
867 </feed>
889 </feed>
868
890
869 errors
891 errors
870
892
871 $ cat errors.log
893 $ cat errors.log
872
894
873 $ cd ..
895 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now