~ubuntu-branches/ubuntu/lucid/mercurial/lucid

« back to all changes in this revision

Viewing changes to tests/test-hgweb-diffs.out

  • Committer: Bazaar Package Importer
  • Author(s): Vernon Tang
  • Date: 2009-01-18 10:39:58 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090118103958-4ep2fqb5nl2pyc7y
Tags: 1.1.2-2
* debian/mercurial.postinst: symlink /usr/share/doc/mercurial if dpkg didn't
  do it when upgrading (closes: #512155)
* debian/control: mercurial-common replaces all earlier versions of
  mercurial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% setting up repo
 
2
adding a
 
3
adding b
 
4
% change permissions for git diffs
 
5
% set up hgweb
 
6
% revision
 
7
200 Script output follows
 
8
 
 
9
<!-- quirksmode -->
 
10
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
11
<html>
 
12
<head>
 
13
<link rel="icon" href="/static/hgicon.png" type="image/png">
 
14
<meta name="robots" content="index, nofollow" />
 
15
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
 
16
 
 
17
<title>test: 0cd96de13884</title>
 
18
</head>
 
19
<body>
 
20
<div class="container">
 
21
<div class="menu">
 
22
<div class="logo">
 
23
<a href="http://www.selenic.com/mercurial/">
 
24
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 
25
</div>
 
26
<ul>
 
27
 <li><a href="/shortlog/0cd96de13884">log</a></li>
 
28
 <li><a href="/graph/0cd96de13884">graph</a></li>
 
29
 <li><a href="/tags">tags</a></li>
 
30
</ul>
 
31
<ul>
 
32
 <li class="active">changeset</li>
 
33
 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
 
34
 <li><a href="/file/0cd96de13884">browse</a></li>
 
35
</ul>
 
36
<ul>
 
37
 
 
38
</ul>
 
39
</div>
 
40
 
 
41
<div class="main">
 
42
 
 
43
<h2><a href="/">test</a></h2>
 
44
<h3>changeset 0:0cd96de13884  </h3>
 
45
 
 
46
<form class="search" action="/log">
 
47
 
 
48
<p><input name="rev" id="search1" type="text" size="30"></p>
 
49
<span>find changesets by author, revision,
 
50
files, or words in the commit message</span>
 
51
</form>
 
52
 
 
53
<div class="description">a</div>
 
54
 
 
55
<table id="changesetEntry">
 
56
<tr>
 
57
 <th class="author">author</th>
 
58
 <td class="author">&#116;&#101;&#115;&#116;</td>
 
59
</tr>
 
60
<tr>
 
61
 <th class="date">date</th>
 
62
 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
 
63
<tr>
 
64
 <th class="author">parents</th>
 
65
 <td class="author"></td>
 
66
</tr>
 
67
<tr>
 
68
 <th class="author">children</th>
 
69
 <td class="author"><a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
 
70
</tr>
 
71
<tr>
 
72
 <th class="files">files</th>
 
73
 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
 
74
</tr>
 
75
</table>
 
76
 
 
77
<div class="overflow">
 
78
<div class="sourcefirst">   line diff</div>
 
79
 
 
80
<div class="source bottomline parity0"><a href="#l1.1" id="l1.1">     1.1</a> <span class="minusline">--- /dev/null     Thu Jan 01 00:00:00 1970 +0000
 
81
</span><a href="#l1.2" id="l1.2">     1.2</a> <span class="plusline">+++ b/a    Thu Jan 01 00:00:00 1970 +0000
 
82
</span><a href="#l1.3" id="l1.3">     1.3</a> <span class="atline">@@ -0,0 +1,1 @@
 
83
</span><a href="#l1.4" id="l1.4">     1.4</a> <span class="plusline">+a
 
84
</span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1">     2.1</a> <span class="minusline">--- /dev/null        Thu Jan 01 00:00:00 1970 +0000
 
85
</span><a href="#l2.2" id="l2.2">     2.2</a> <span class="plusline">+++ b/b    Thu Jan 01 00:00:00 1970 +0000
 
86
</span><a href="#l2.3" id="l2.3">     2.3</a> <span class="atline">@@ -0,0 +1,1 @@
 
87
</span><a href="#l2.4" id="l2.4">     2.4</a> <span class="plusline">+b
 
88
</span></div>
 
89
</div>
 
90
 
 
91
</div>
 
92
</div>
 
93
 
 
94
 
 
95
</body>
 
96
</html>
 
97
 
 
98
% diff removed file
 
99
200 Script output follows
 
100
 
 
101
<!-- quirksmode -->
 
102
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
103
<html>
 
104
<head>
 
105
<link rel="icon" href="/static/hgicon.png" type="image/png">
 
106
<meta name="robots" content="index, nofollow" />
 
107
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
 
108
 
 
109
<title>test: a diff</title>
 
110
</head>
 
111
<body>
 
112
 
 
113
<div class="container">
 
114
<div class="menu">
 
115
<div class="logo">
 
116
<a href="http://www.selenic.com/mercurial/">
 
117
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 
118
</div>
 
119
<ul>
 
120
<li><a href="/shortlog/78e4ebad7cdf">log</a></li>
 
121
<li><a href="/graph/78e4ebad7cdf">graph</a></li>
 
122
<li><a href="/tags">tags</a></li>
 
123
</ul>
 
124
<ul>
 
125
<li><a href="/rev/78e4ebad7cdf">changeset</a></li>
 
126
<li><a href="/file/78e4ebad7cdf">browse</a></li>
 
127
</ul>
 
128
<ul>
 
129
<li><a href="/file/78e4ebad7cdf/a">file</a></li>
 
130
<li class="active">diff</li>
 
131
<li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
 
132
<li><a href="/log/78e4ebad7cdf/a">file log</a></li>
 
133
<li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
 
134
</ul>
 
135
</div>
 
136
 
 
137
<div class="main">
 
138
<h2><a href="/">test</a></h2>
 
139
<h3>diff a @ 1:78e4ebad7cdf</h3>
 
140
 
 
141
<form class="search" action="/log">
 
142
 
 
143
<p><input name="rev" id="search1" type="text" size="30"></p>
 
144
<span>find changesets by author, revision,
 
145
files, or words in the commit message</span>
 
146
</form>
 
147
 
 
148
<div class="description">b</div>
 
149
 
 
150
<table id="changesetEntry">
 
151
<tr>
 
152
 <th>author</th>
 
153
 <td>&#116;&#101;&#115;&#116;</td>
 
154
</tr>
 
155
<tr>
 
156
 <th>date</th>
 
157
 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
 
158
</tr>
 
159
<tr>
 
160
 <th>parents</th>
 
161
 <td></td>
 
162
</tr>
 
163
<tr>
 
164
 <th>children</th>
 
165
 <td></td>
 
166
</tr>
 
167
 
 
168
</table>
 
169
 
 
170
<div class="overflow">
 
171
<div class="sourcefirst">   line diff</div>
 
172
 
 
173
<div class="source bottomline parity0"><a href="#l1.1" id="l1.1">     1.1</a> <span class="minusline">--- /dev/null     Thu Jan 01 00:00:00 1970 +0000
 
174
</span><a href="#l1.2" id="l1.2">     1.2</a> <span class="plusline">+++ b/a    Thu Jan 01 00:00:00 1970 +0000
 
175
</span><a href="#l1.3" id="l1.3">     1.3</a> <span class="atline">@@ -0,0 +1,1 @@
 
176
</span><a href="#l1.4" id="l1.4">     1.4</a> <span class="plusline">+a
 
177
</span></div>
 
178
</div>
 
179
</div>
 
180
</div>
 
181
 
 
182
 
 
183
 
 
184
</body>
 
185
</html>
 
186
 
 
187
% set up hgweb with git diffs
 
188
% revision
 
189
200 Script output follows
 
190
 
 
191
<!-- quirksmode -->
 
192
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
193
<html>
 
194
<head>
 
195
<link rel="icon" href="/static/hgicon.png" type="image/png">
 
196
<meta name="robots" content="index, nofollow" />
 
197
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
 
198
 
 
199
<title>test: 0cd96de13884</title>
 
200
</head>
 
201
<body>
 
202
<div class="container">
 
203
<div class="menu">
 
204
<div class="logo">
 
205
<a href="http://www.selenic.com/mercurial/">
 
206
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 
207
</div>
 
208
<ul>
 
209
 <li><a href="/shortlog/0cd96de13884">log</a></li>
 
210
 <li><a href="/graph/0cd96de13884">graph</a></li>
 
211
 <li><a href="/tags">tags</a></li>
 
212
</ul>
 
213
<ul>
 
214
 <li class="active">changeset</li>
 
215
 <li><a href="/raw-rev/0cd96de13884">raw</a></li>
 
216
 <li><a href="/file/0cd96de13884">browse</a></li>
 
217
</ul>
 
218
<ul>
 
219
 
 
220
</ul>
 
221
</div>
 
222
 
 
223
<div class="main">
 
224
 
 
225
<h2><a href="/">test</a></h2>
 
226
<h3>changeset 0:0cd96de13884  </h3>
 
227
 
 
228
<form class="search" action="/log">
 
229
 
 
230
<p><input name="rev" id="search1" type="text" size="30"></p>
 
231
<span>find changesets by author, revision,
 
232
files, or words in the commit message</span>
 
233
</form>
 
234
 
 
235
<div class="description">a</div>
 
236
 
 
237
<table id="changesetEntry">
 
238
<tr>
 
239
 <th class="author">author</th>
 
240
 <td class="author">&#116;&#101;&#115;&#116;</td>
 
241
</tr>
 
242
<tr>
 
243
 <th class="date">date</th>
 
244
 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td></tr>
 
245
<tr>
 
246
 <th class="author">parents</th>
 
247
 <td class="author"></td>
 
248
</tr>
 
249
<tr>
 
250
 <th class="author">children</th>
 
251
 <td class="author"><a href="/rev/78e4ebad7cdf">78e4ebad7cdf</a></td>
 
252
</tr>
 
253
<tr>
 
254
 <th class="files">files</th>
 
255
 <td class="files"><a href="/file/0cd96de13884/a">a</a> <a href="/file/0cd96de13884/b">b</a> </td>
 
256
</tr>
 
257
</table>
 
258
 
 
259
<div class="overflow">
 
260
<div class="sourcefirst">   line diff</div>
 
261
 
 
262
<div class="source bottomline parity0"><a href="#l1.1" id="l1.1">     1.1</a> new file mode 100644
 
263
<a href="#l1.2" id="l1.2">     1.2</a> <span class="minusline">--- /dev/null
 
264
</span><a href="#l1.3" id="l1.3">     1.3</a> <span class="plusline">+++ b/a
 
265
</span><a href="#l1.4" id="l1.4">     1.4</a> <span class="atline">@@ -0,0 +1,1 @@
 
266
</span><a href="#l1.5" id="l1.5">     1.5</a> <span class="plusline">+a
 
267
</span></div><div class="source bottomline parity1"><a href="#l2.1" id="l2.1">     2.1</a> new file mode 100644
 
268
<a href="#l2.2" id="l2.2">     2.2</a> <span class="minusline">--- /dev/null
 
269
</span><a href="#l2.3" id="l2.3">     2.3</a> <span class="plusline">+++ b/b
 
270
</span><a href="#l2.4" id="l2.4">     2.4</a> <span class="atline">@@ -0,0 +1,1 @@
 
271
</span><a href="#l2.5" id="l2.5">     2.5</a> <span class="plusline">+b
 
272
</span></div>
 
273
</div>
 
274
 
 
275
</div>
 
276
</div>
 
277
 
 
278
 
 
279
</body>
 
280
</html>
 
281
 
 
282
% diff removed file
 
283
200 Script output follows
 
284
 
 
285
<!-- quirksmode -->
 
286
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
287
<html>
 
288
<head>
 
289
<link rel="icon" href="/static/hgicon.png" type="image/png">
 
290
<meta name="robots" content="index, nofollow" />
 
291
<link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
 
292
 
 
293
<title>test: a diff</title>
 
294
</head>
 
295
<body>
 
296
 
 
297
<div class="container">
 
298
<div class="menu">
 
299
<div class="logo">
 
300
<a href="http://www.selenic.com/mercurial/">
 
301
<img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
 
302
</div>
 
303
<ul>
 
304
<li><a href="/shortlog/78e4ebad7cdf">log</a></li>
 
305
<li><a href="/graph/78e4ebad7cdf">graph</a></li>
 
306
<li><a href="/tags">tags</a></li>
 
307
</ul>
 
308
<ul>
 
309
<li><a href="/rev/78e4ebad7cdf">changeset</a></li>
 
310
<li><a href="/file/78e4ebad7cdf">browse</a></li>
 
311
</ul>
 
312
<ul>
 
313
<li><a href="/file/78e4ebad7cdf/a">file</a></li>
 
314
<li class="active">diff</li>
 
315
<li><a href="/annotate/78e4ebad7cdf/a">annotate</a></li>
 
316
<li><a href="/log/78e4ebad7cdf/a">file log</a></li>
 
317
<li><a href="/raw-file/78e4ebad7cdf/a">raw</a></li>
 
318
</ul>
 
319
</div>
 
320
 
 
321
<div class="main">
 
322
<h2><a href="/">test</a></h2>
 
323
<h3>diff a @ 1:78e4ebad7cdf</h3>
 
324
 
 
325
<form class="search" action="/log">
 
326
 
 
327
<p><input name="rev" id="search1" type="text" size="30"></p>
 
328
<span>find changesets by author, revision,
 
329
files, or words in the commit message</span>
 
330
</form>
 
331
 
 
332
<div class="description">b</div>
 
333
 
 
334
<table id="changesetEntry">
 
335
<tr>
 
336
 <th>author</th>
 
337
 <td>&#116;&#101;&#115;&#116;</td>
 
338
</tr>
 
339
<tr>
 
340
 <th>date</th>
 
341
 <td>Thu Jan 01 00:00:00 1970 +0000 (many years ago)</td>
 
342
</tr>
 
343
<tr>
 
344
 <th>parents</th>
 
345
 <td></td>
 
346
</tr>
 
347
<tr>
 
348
 <th>children</th>
 
349
 <td></td>
 
350
</tr>
 
351
 
 
352
</table>
 
353
 
 
354
<div class="overflow">
 
355
<div class="sourcefirst">   line diff</div>
 
356
 
 
357
<div class="source bottomline parity0"><a href="#l1.1" id="l1.1">     1.1</a> new file mode 100755
 
358
<a href="#l1.2" id="l1.2">     1.2</a> <span class="minusline">--- /dev/null
 
359
</span><a href="#l1.3" id="l1.3">     1.3</a> <span class="plusline">+++ b/a
 
360
</span><a href="#l1.4" id="l1.4">     1.4</a> <span class="atline">@@ -0,0 +1,1 @@
 
361
</span><a href="#l1.5" id="l1.5">     1.5</a> <span class="plusline">+a
 
362
</span></div>
 
363
</div>
 
364
</div>
 
365
</div>
 
366
 
 
367
 
 
368
 
 
369
</body>
 
370
</html>
 
371
 
 
372
% errors