##// END OF EJS Templates
web: Made elapsed time calculation dynamic (javascript)....
Benoit Allard -
r14046:b24e5a70 default
parent child Browse files
Show More
@@ -0,0 +1,220 b''
1 // mercurial.js - JavaScript utility functions
2 //
3 // Rendering of branch DAGs on the client side
4 // Display of elapsed time
5 //
6 // Copyright 2008 Dirkjan Ochtman <dirkjan AT ochtman DOT nl>
7 // Copyright 2006 Alexander Schremmer <alex AT alexanderweb DOT de>
8 //
9 // derived from code written by Scott James Remnant <scott@ubuntu.com>
10 // Copyright 2005 Canonical Ltd.
11 //
12 // This software may be used and distributed according to the terms
13 // of the GNU General Public License, incorporated herein by reference.
14
15 var colors = [
16 [ 1.0, 0.0, 0.0 ],
17 [ 1.0, 1.0, 0.0 ],
18 [ 0.0, 1.0, 0.0 ],
19 [ 0.0, 1.0, 1.0 ],
20 [ 0.0, 0.0, 1.0 ],
21 [ 1.0, 0.0, 1.0 ]
22 ];
23
24 function Graph() {
25
26 this.canvas = document.getElementById('graph');
27 if (navigator.userAgent.indexOf('MSIE') >= 0) this.canvas = window.G_vmlCanvasManager.initElement(this.canvas);
28 this.ctx = this.canvas.getContext('2d');
29 this.ctx.strokeStyle = 'rgb(0, 0, 0)';
30 this.ctx.fillStyle = 'rgb(0, 0, 0)';
31 this.cur = [0, 0];
32 this.line_width = 3;
33 this.bg = [0, 4];
34 this.cell = [2, 0];
35 this.columns = 0;
36 this.revlink = '';
37
38 this.scale = function(height) {
39 this.bg_height = height;
40 this.box_size = Math.floor(this.bg_height / 1.2);
41 this.cell_height = this.box_size;
42 }
43
44 function colorPart(num) {
45 num *= 255
46 num = num < 0 ? 0 : num;
47 num = num > 255 ? 255 : num;
48 var digits = Math.round(num).toString(16);
49 if (num < 16) {
50 return '0' + digits;
51 } else {
52 return digits;
53 }
54 }
55
56 this.setColor = function(color, bg, fg) {
57
58 // Set the colour.
59 //
60 // Picks a distinct colour based on an internal wheel; the bg
61 // parameter provides the value that should be assigned to the 'zero'
62 // colours and the fg parameter provides the multiplier that should be
63 // applied to the foreground colours.
64
65 color %= colors.length;
66 var red = (colors[color][0] * fg) || bg;
67 var green = (colors[color][1] * fg) || bg;
68 var blue = (colors[color][2] * fg) || bg;
69 red = Math.round(red * 255);
70 green = Math.round(green * 255);
71 blue = Math.round(blue * 255);
72 var s = 'rgb(' + red + ', ' + green + ', ' + blue + ')';
73 this.ctx.strokeStyle = s;
74 this.ctx.fillStyle = s;
75 return s;
76
77 }
78
79 this.render = function(data) {
80
81 var backgrounds = '';
82 var nodedata = '';
83
84 for (var i in data) {
85
86 var parity = i % 2;
87 this.cell[1] += this.bg_height;
88 this.bg[1] += this.bg_height;
89
90 var cur = data[i];
91 var node = cur[1];
92 var edges = cur[2];
93 var fold = false;
94
95 for (var j in edges) {
96
97 line = edges[j];
98 start = line[0];
99 end = line[1];
100 color = line[2];
101
102 if (end > this.columns || start > this.columns) {
103 this.columns += 1;
104 }
105
106 if (start == this.columns && start > end) {
107 var fold = true;
108 }
109
110 x0 = this.cell[0] + this.box_size * start + this.box_size / 2;
111 y0 = this.bg[1] - this.bg_height / 2;
112 x1 = this.cell[0] + this.box_size * end + this.box_size / 2;
113 y1 = this.bg[1] + this.bg_height / 2;
114
115 this.edge(x0, y0, x1, y1, color);
116
117 }
118
119 // Draw the revision node in the right column
120
121 column = node[0]
122 color = node[1]
123
124 radius = this.box_size / 8;
125 x = this.cell[0] + this.box_size * column + this.box_size / 2;
126 y = this.bg[1] - this.bg_height / 2;
127 var add = this.vertex(x, y, color, parity, cur);
128 backgrounds += add[0];
129 nodedata += add[1];
130
131 if (fold) this.columns -= 1;
132
133 }
134
135 document.getElementById('nodebgs').innerHTML += backgrounds;
136 document.getElementById('graphnodes').innerHTML += nodedata;
137
138 }
139
140 }
141
142
143 process_dates = (function(document, RegExp, Math, isNaN, Date, _false, _true){
144
145 // derived from code from mercurial/templatefilter.py
146
147 var scales = {
148 'year': 365 * 24 * 60 * 60,
149 'month': 30 * 24 * 60 * 60,
150 'week': 7 * 24 * 60 * 60,
151 'day': 24 * 60 * 60,
152 'hour': 60 * 60,
153 'minute': 60,
154 'second': 1
155 };
156
157 function format(count, string){
158 var ret = count + ' ' + string;
159 if (count > 1){
160 ret = ret + 's';
161 }
162 return ret;
163 }
164
165 function age(datestr){
166 var now = new Date();
167 var once = new Date(datestr);
168
169 if (isNaN(once.getTime())){
170 // parsing error
171 return datestr;
172 }
173
174 var delta = Math.floor((now.getTime() - once.getTime()) / 1000);
175
176 var future = _false;
177 if (delta < 0){
178 future = _true;
179 delta = -delta;
180 if (delta > (30 * scales.year)){
181 return "in the distant future";
182 }
183 }
184
185 if (delta > (2 * scales.year)){
186 return once.getFullYear() + '-' + once.getMonth() + '-' + once.getDate();
187 }
188
189 for (unit in scales){
190 var s = scales[unit];
191 var n = Math.floor(delta / s);
192 if ((n >= 2) || (s == 1)){
193 if (future){
194 return format(n, unit) + ' from now';
195 } else {
196 return format(n, unit) + ' ago';
197 }
198 }
199 }
200 }
201
202 return function(){
203 var nodes = document.getElementsByTagName('*');
204 var ageclass = new RegExp('\\bage\\b');
205 var dateclass = new RegExp('\\bdate\\b');
206 for (var i=0; i<nodes.length; ++i){
207 var node = nodes[i];
208 var classes = node.className;
209 if (ageclass.test(classes)){
210 var agevalue = age(node.textContent);
211 if (dateclass.test(classes)){
212 // We want both: date + (age)
213 node.textContent += ' ('+agevalue+')';
214 } else {
215 node.textContent = agevalue;
216 }
217 }
218 }
219 }
220 })(document, RegExp, Math, isNaN, Date, false, true)
@@ -4,3 +4,4 b''
4 4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
5 5 <meta name="robots" content="index, nofollow" />
6 6 <link rel="stylesheet" href="{staticurl}style-coal.css" type="text/css" />
7 <script type="text/javascript" src="{staticurl}mercurial.js"></script>
@@ -197,7 +197,7 b" indexentry = '"
197 197 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
198 198 <td>{description}</td>
199 199 <td>{contact|obfuscate}</td>
200 <td class="age">{lastchange|age}</td>
200 <td class="age">{lastchange|date}</td>
201 201 <td class="indexlinks">{archives%indexarchiveentry}</td>
202 202 </tr>\n'
203 203 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
@@ -1,5 +1,5 b''
1 1 <div>
2 <a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|age}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a>
2 <a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}"><span class="age">{date|date}</span>{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a>
3 3 </div>
4 4 <div class="title_text">
5 5 <div class="log_link">
@@ -32,7 +32,7 b' changeset |'
32 32 <div class="title_text">
33 33 <table cellspacing="0">
34 34 <tr><td>author</td><td>{author|obfuscate}</td></tr>
35 <tr><td></td><td>{date|date} ({date|age})</td></tr>
35 <tr><td></td><td class="date age">{date|date}</td></tr>
36 36 {branch%changesetbranch}
37 37 <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr>
38 38 {parent%changesetparent}
@@ -40,7 +40,7 b' annotate |'
40 40 <td>{author|obfuscate}</td></tr>
41 41 <tr>
42 42 <td></td>
43 <td>{date|date} ({date|age})</td></tr>
43 <td class="date age">{date|date}</td></tr>
44 44 {branch%filerevbranch}
45 45 <tr>
46 46 <td>changeset {rev}</td>
@@ -40,7 +40,7 b' file |'
40 40 <td>{author|obfuscate}</td></tr>
41 41 <tr>
42 42 <td></td>
43 <td>{date|date} ({date|age})</td></tr>
43 <td class="date age">{date|date}</td></tr>
44 44 {branch%filerevbranch}
45 45 <tr>
46 46 <td>changeset {rev}</td>
@@ -1,3 +1,4 b''
1 <script type="text/javascript">process_dates()</script>
1 2 <div class="page_footer">
2 3 <div class="page_footer_text">{repo|escape}</div>
3 4 <div class="rss_logo">
@@ -44,7 +44,6 b' graph |'
44 44 <ul id="graphnodes"></ul>
45 45 </div>
46 46
47 <script type="text/javascript" src="{staticurl}graph.js"></script>
48 47 <script>
49 48 <!-- hide script content
50 49
@@ -5,4 +5,4 b''
5 5 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
6 6 <meta name="robots" content="index, nofollow"/>
7 7 <link rel="stylesheet" href="{staticurl}style-gitweb.css" type="text/css" />
8
8 <script type="text/javascript" src="{staticurl}mercurial.js"></script>
@@ -162,7 +162,7 b" fileannotatechild = '"
162 162 tags = tags.tmpl
163 163 tagentry = '
164 164 <tr class="parity{parity}">
165 <td class="age"><i>{date|age}</i></td>
165 <td class="age"><i class="age">{date|date}</i></td>
166 166 <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td>
167 167 <td class="link">
168 168 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -173,7 +173,7 b" tagentry = '"
173 173 bookmarks = bookmarks.tmpl
174 174 bookmarkentry = '
175 175 <tr class="parity{parity}">
176 <td class="age"><i>{date|age}</i></td>
176 <td class="age"><i class="age">{date|date}</i></td>
177 177 <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td>
178 178 <td class="link">
179 179 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -184,7 +184,7 b" bookmarkentry = '"
184 184 branches = branches.tmpl
185 185 branchentry = '
186 186 <tr class="parity{parity}">
187 <td class="age"><i>{date|age}</i></td>
187 <td class="age"><i class="age">{date|date}</i></td>
188 188 <td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td>
189 189 <td class="{status}">{branch|escape}</td>
190 190 <td class="link">
@@ -228,7 +228,7 b' inbranchtag = \'<span class="inbranchtag"'
228 228 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> '
229 229 shortlogentry = '
230 230 <tr class="parity{parity}">
231 <td class="age"><i>{date|age}</i></td>
231 <td class="age"><i class="age">{date|date}</i></td>
232 232 <td><i>{author|person}</i></td>
233 233 <td>
234 234 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
@@ -243,7 +243,7 b" shortlogentry = '"
243 243 </tr>'
244 244 filelogentry = '
245 245 <tr class="parity{parity}">
246 <td class="age"><i>{date|age}</i></td>
246 <td class="age"><i class="age">{date|date}</i></td>
247 247 <td>
248 248 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
249 249 <b>{desc|strip|firstline|escape|nonempty}</b>
@@ -262,7 +262,7 b" indexentry = '"
262 262 </td>
263 263 <td>{description}</td>
264 264 <td>{contact|obfuscate}</td>
265 <td class="age">{lastchange|age}</td>
265 <td class="age">{lastchange|date}</td>
266 266 <td class="indexlinks">{archives%indexarchiveentry}</td>
267 267 <td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td>
268 268 </tr>\n'
@@ -1,6 +1,6 b''
1 1 <h3 class="changelog"><a class="title" href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
2 2 <ul class="changelog-entry">
3 <li class="age">{date|age}</li>
3 <li class="age">{date|date}</li>
4 4 <li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
5 5 <li class="description">{desc|strip|escape|addbreaks|nonempty}</li>
6 6 </ul>
@@ -38,7 +38,7 b''
38 38 <h2 class="no-link no-border">changeset</h2>
39 39
40 40 <h3 class="changeset"><a href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3>
41 <p class="changeset-age"><span>{date|age}</span></p>
41 <p class="changeset-age age">{date|date}</p>
42 42
43 43 <dl class="overview">
44 44 <dt>author</dt>
@@ -40,7 +40,7 b''
40 40
41 41 <h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2>
42 42 <h3 class="changeset">{file|escape}</h3>
43 <p class="changeset-age"><span>{date|age}</span></p>
43 <p class="changeset-age age">{date|date}</p>
44 44
45 45 <dl class="overview">
46 46 <dt>author</dt>
@@ -40,7 +40,7 b''
40 40
41 41 <h2 class="no-link no-border">{file|escape}@{node|short}</h2>
42 42 <h3 class="changeset">{file|escape}</h3>
43 <p class="changeset-age"><span>{date|age}</span></p>
43 <p class="changeset-age age">{date|date}</p>
44 44
45 45 <dl class="overview">
46 46 <dt>author</dt>
@@ -1,3 +1,4 b''
1 <script type="text/javascript">process_dates()</script>
1 2 <div class="page-footer">
2 3 <p>Mercurial Repository: {repo|escape}</p>
3 4 <ul class="rss-logo">
@@ -40,7 +40,6 b''
40 40 <ul id="graphnodes"></ul>
41 41 </div>
42 42
43 <script type="text/javascript" src="{staticurl}graph.js"></script>
44 43 <script>
45 44 <!-- hide script content
46 45
@@ -4,3 +4,4 b''
4 4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
5 5 <meta name="robots" content="index, nofollow"/>
6 6 <link rel="stylesheet" href="{staticurl}style-monoblue.css" type="text/css" />
7 <script type="text/javascript" src="{staticurl}mercurial.js"></script>
@@ -139,7 +139,7 b" fileannotatechild = '"
139 139 tags = tags.tmpl
140 140 tagentry = '
141 141 <tr class="parity{parity}">
142 <td class="nowrap">{date|age}</td>
142 <td class="nowrap age">{date|date}</td>
143 143 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td>
144 144 <td class="nowrap">
145 145 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -150,7 +150,7 b" tagentry = '"
150 150 bookmarks = bookmarks.tmpl
151 151 bookmarkentry = '
152 152 <tr class="parity{parity}">
153 <td class="nowrap">{date|age}</td>
153 <td class="nowrap date">{date|date}</td>
154 154 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td>
155 155 <td class="nowrap">
156 156 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
@@ -161,7 +161,7 b" bookmarkentry = '"
161 161 branches = branches.tmpl
162 162 branchentry = '
163 163 <tr class="parity{parity}">
164 <td class="nowrap">{date|age}</td>
164 <td class="nowrap age">{date|date}</td>
165 165 <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
166 166 <td class="{status}">{branch|escape}</td>
167 167 <td class="nowrap">
@@ -194,7 +194,7 b' inbranchtag = \'<span class="inbranchtag"'
194 194 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> '
195 195 shortlogentry = '
196 196 <tr class="parity{parity}">
197 <td class="nowrap">{date|age}</td>
197 <td class="nowrap age">{date|date}</td>
198 198 <td>{author|person}</td>
199 199 <td>
200 200 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
@@ -209,7 +209,7 b" shortlogentry = '"
209 209 </tr>'
210 210 filelogentry = '
211 211 <tr class="parity{parity}">
212 <td class="nowrap">{date|age}</td>
212 <td class="nowrap age">{date|date}</td>
213 213 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
214 214 <td class="nowrap">
215 215 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
@@ -222,7 +222,7 b" indexentry = '"
222 222 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
223 223 <td>{description}</td>
224 224 <td>{contact|obfuscate}</td>
225 <td>{lastchange|age}</td>
225 <td class="age">{lastchange|date}</td>
226 226 <td class="indexlinks">{archives%indexarchiveentry}</td>
227 227 <td>
228 228 <div class="rss_logo">
@@ -49,7 +49,7 b' files, or words in the commit message</d'
49 49 </tr>
50 50 <tr>
51 51 <th class="date">date</th>
52 <td class="date">{date|date} ({date|age})</td></tr>
52 <td class="date age">{date|date}</td></tr>
53 53 <tr>
54 54 <th class="author">parents</th>
55 55 <td class="author">{parent%changesetparent}</td>
@@ -54,7 +54,7 b' files, or words in the commit message</d'
54 54 </tr>
55 55 <tr>
56 56 <th class="date">date</th>
57 <td class="date">{date|date} ({date|age})</td>
57 <td class="date age">{date|date}</td>
58 58 </tr>
59 59 <tr>
60 60 <th class="author">parents</th>
@@ -53,7 +53,7 b' files, or words in the commit message</d'
53 53 </tr>
54 54 <tr>
55 55 <th>date</th>
56 <td>{date|date} ({date|age})</td>
56 <td class="date age">{date|date}</td>
57 57 </tr>
58 58 <tr>
59 59 <th>parents</th>
@@ -1,5 +1,5 b''
1 1 <tr class="parity{parity}">
2 <td class="age">{date|age}</td>
2 <td class="age">{date|date}</td>
3 3 <td class="author">{author|person}</td>
4 4 <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}</td>
5 5 </tr>
@@ -52,7 +52,7 b' files, or words in the commit message</d'
52 52 </tr>
53 53 <tr>
54 54 <th class="date">date</th>
55 <td class="date">{date|date} ({date|age})</td>
55 <td class="date age">{date|date}</td>
56 56 </tr>
57 57 <tr>
58 58 <th class="author">parents</th>
@@ -1,3 +1,4 b''
1 <script type="text/javascript">process_dates()</script>
1 2 {motd}
2 3
3 4 </body>
@@ -55,7 +55,6 b' files, or words in the commit message</d'
55 55 <ul id="graphnodes"></ul>
56 56 </div>
57 57
58 <script type="text/javascript" src="{staticurl}graph.js"></script>
59 58 <script type="text/javascript">
60 59 <!-- hide script content
61 60
@@ -4,3 +4,4 b''
4 4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
5 5 <meta name="robots" content="index, nofollow" />
6 6 <link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" />
7 <script type="text/javascript" src="{staticurl}mercurial.js"></script>
@@ -196,7 +196,7 b" indexentry = '"
196 196 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
197 197 <td>{description}</td>
198 198 <td>{contact|obfuscate}</td>
199 <td class="age">{lastchange|age}</td>
199 <td class="age">{lastchange|date}</td>
200 200 <td class="indexlinks">{archives%indexarchiveentry}</td>
201 201 </tr>\n'
202 202 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
@@ -1,5 +1,5 b''
1 1 <tr class="parity{parity}">
2 <td class="age">{age(date)}</td>
2 <td class="age">{date|date}</td>
3 3 <td class="author">{author|person}</td>
4 4 <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags % '<span class="tag">{name|escape}</span> '}{bookmarks % '<span class="tag">{name|escape}</span> '}</td>
5 5 </tr>
@@ -1,6 +1,6 b''
1 1 <table class="logEntry parity{parity}">
2 2 <tr>
3 <th class="age">{date|age}:</th>
3 <th><span class="age">{date|date}</span>:</th>
4 4 <th class="firstline">{desc|strip|firstline|escape|nonempty}</th>
5 5 </tr>
6 6 <tr>
@@ -31,7 +31,7 b''
31 31 </tr>
32 32 <tr>
33 33 <th class="date">date:</th>
34 <td class="date">{date|date} ({date|age})</td>
34 <td class="date age">{date|date}</td>
35 35 </tr>
36 36 <tr>
37 37 <th class="files">files:</th>
@@ -30,7 +30,7 b''
30 30 <td>{author|obfuscate}</td></tr>
31 31 <tr>
32 32 <td class="metatag">date:</td>
33 <td>{date|date} ({date|age})</td>
33 <td class="date age">{date|date}</td>
34 34 </tr>
35 35 <tr>
36 36 <td class="metatag">permissions:</td>
@@ -1,6 +1,6 b''
1 1 <table class="logEntry parity{parity}">
2 2 <tr>
3 <th class="age">{date|age}:</th>
3 <th><span class="age">{date|date}</span>:</th>
4 4 <th class="firstline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
5 5 </tr>
6 6 <tr>
@@ -30,7 +30,7 b''
30 30 <td>{author|obfuscate}</td></tr>
31 31 <tr>
32 32 <td class="metatag">date:</td>
33 <td>{date|date} ({date|age})</td></tr>
33 <td class="date age">{date|date}</td></tr>
34 34 <tr>
35 35 <td class="metatag">permissions:</td>
36 36 <td>{permissions|permissions}</td></tr>
@@ -1,3 +1,4 b''
1 <script type="text/javascript">process_dates()</script>
1 2 {motd}
2 3 <div class="logo">
3 4 <a href="{logourl}">
@@ -36,7 +36,6 b' navigate: <small class="navigate">{chang'
36 36 <ul id="graphnodes"></ul>
37 37 </div>
38 38
39 <script type="text/javascript" src="{staticurl}graph.js"></script>
40 39 <script type="text/javascript">
41 40 <!-- hide script content
42 41
@@ -4,3 +4,4 b''
4 4 <link rel="icon" href="{staticurl}hgicon.png" type="image/png">
5 5 <meta name="robots" content="index, nofollow" />
6 6 <link rel="stylesheet" href="{staticurl}style.css" type="text/css" />
7 <script type="text/javascript" src="{staticurl}mercurial.js"></script>
@@ -168,7 +168,7 b" indexentry = '"
168 168 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
169 169 <td>{description}</td>
170 170 <td>{contact|obfuscate}</td>
171 <td class="age">{lastchange|age}</td>
171 <td class="age">{lastchange|date}</td>
172 172 <td class="indexlinks">
173 173 <a href="{url}rss-log">RSS</a>
174 174 <a href="{url}atom-log">Atom</a>
@@ -1,6 +1,6 b''
1 1 <table class="slogEntry parity{parity}">
2 2 <tr>
3 <td class="age">{date|age}</td>
3 <td class="age">{date|date}</td>
4 4 <td class="author">{author|person}</td>
5 5 <td class="node"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
6 6 </tr>
@@ -187,6 +187,7 b' Logs and changes'
187 187 <link rel="icon" href="/static/hgicon.png" type="image/png" />
188 188 <meta name="robots" content="index, nofollow" />
189 189 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
190 <script type="text/javascript" src="/static/mercurial.js"></script>
190 191
191 192 <title>test: log</title>
192 193 <link rel="alternate" type="application/atom+xml"
@@ -245,17 +246,17 b' Logs and changes'
245 246 <th class="description">description</th>
246 247 </tr>
247 248 <tr class="parity0">
248 <td class="age">1970-01-01</td>
249 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
249 250 <td class="author">test</td>
250 251 <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>
251 252 </tr>
252 253 <tr class="parity1">
253 <td class="age">1970-01-01</td>
254 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
254 255 <td class="author">test</td>
255 256 <td class="description"><a href="/rev/a4f92ed23982">Added tag 1.0 for changeset 2ef0ac749a14</a><span class="branchhead">default</span> </td>
256 257 </tr>
257 258 <tr class="parity0">
258 <td class="age">1970-01-01</td>
259 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
259 260 <td class="author">test</td>
260 261 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
261 262 </tr>
@@ -271,6 +272,7 b' Logs and changes'
271 272 </div>
272 273 </div>
273 274
275 <script type="text/javascript">process_dates()</script>
274 276
275 277
276 278 </body>
@@ -285,6 +287,7 b' Logs and changes'
285 287 <link rel="icon" href="/static/hgicon.png" type="image/png" />
286 288 <meta name="robots" content="index, nofollow" />
287 289 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
290 <script type="text/javascript" src="/static/mercurial.js"></script>
288 291
289 292 <title>test: 2ef0ac749a14</title>
290 293 </head>
@@ -336,7 +339,7 b' Logs and changes'
336 339 </tr>
337 340 <tr>
338 341 <th class="date">date</th>
339 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr>
342 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
340 343 <tr>
341 344 <th class="author">parents</th>
342 345 <td class="author"></td>
@@ -367,6 +370,7 b' Logs and changes'
367 370
368 371 </div>
369 372 </div>
373 <script type="text/javascript">process_dates()</script>
370 374
371 375
372 376 </body>
@@ -398,6 +402,7 b' Logs and changes'
398 402 <link rel="icon" href="/static/hgicon.png" type="image/png" />
399 403 <meta name="robots" content="index, nofollow" />
400 404 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
405 <script type="text/javascript" src="/static/mercurial.js"></script>
401 406
402 407 <title>test: searching for base</title>
403 408 </head>
@@ -442,7 +447,7 b' Logs and changes'
442 447 <th class="description">description</th>
443 448 </tr>
444 449 <tr class="parity0">
445 <td class="age">1970-01-01</td>
450 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
446 451 <td class="author">test</td>
447 452 <td class="description"><a href="/rev/2ef0ac749a14">base</a><span class="tag">1.0</span> <span class="tag">anotherthing</span> </td>
448 453 </tr>
@@ -457,6 +462,7 b' Logs and changes'
457 462 </div>
458 463 </div>
459 464
465 <script type="text/javascript">process_dates()</script>
460 466
461 467
462 468 </body>
@@ -496,6 +502,7 b' File-related'
496 502 <link rel="icon" href="/static/hgicon.png" type="image/png" />
497 503 <meta name="robots" content="index, nofollow" />
498 504 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
505 <script type="text/javascript" src="/static/mercurial.js"></script>
499 506
500 507 <title>test: a4f92ed23982 foo</title>
501 508 </head>
@@ -550,7 +557,7 b' File-related'
550 557 </tr>
551 558 <tr>
552 559 <th class="date">date</th>
553 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
560 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
554 561 </tr>
555 562 <tr>
556 563 <th class="author">parents</th>
@@ -573,6 +580,7 b' File-related'
573 580 </div>
574 581 </div>
575 582
583 <script type="text/javascript">process_dates()</script>
576 584
577 585
578 586 </body>
@@ -619,7 +627,7 b' Overviews'
619 627 <link rel="icon" href="/static/hgicon.png" type="image/png" />
620 628 <meta name="robots" content="index, nofollow"/>
621 629 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
622
630 <script type="text/javascript" src="/static/mercurial.js"></script>
623 631
624 632 <title>test: Summary</title>
625 633 <link rel="alternate" type="application/atom+xml"
@@ -664,7 +672,7 b' Overviews'
664 672 <table cellspacing="0">
665 673
666 674 <tr class="parity0">
667 <td class="age"><i>1970-01-01</i></td>
675 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
668 676 <td><i>test</i></td>
669 677 <td>
670 678 <a class="list" href="/rev/1d22e65f027e?style=gitweb">
@@ -678,7 +686,7 b' Overviews'
678 686 </td>
679 687 </tr>
680 688 <tr class="parity1">
681 <td class="age"><i>1970-01-01</i></td>
689 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
682 690 <td><i>test</i></td>
683 691 <td>
684 692 <a class="list" href="/rev/a4f92ed23982?style=gitweb">
@@ -692,7 +700,7 b' Overviews'
692 700 </td>
693 701 </tr>
694 702 <tr class="parity0">
695 <td class="age"><i>1970-01-01</i></td>
703 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
696 704 <td><i>test</i></td>
697 705 <td>
698 706 <a class="list" href="/rev/2ef0ac749a14?style=gitweb">
@@ -712,7 +720,7 b' Overviews'
712 720 <table cellspacing="0">
713 721
714 722 <tr class="parity0">
715 <td class="age"><i>1970-01-01</i></td>
723 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
716 724 <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>1.0</b></a></td>
717 725 <td class="link">
718 726 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
@@ -727,7 +735,7 b' Overviews'
727 735 <table cellspacing="0">
728 736
729 737 <tr class="parity0">
730 <td class="age"><i>1970-01-01</i></td>
738 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
731 739 <td><a class="list" href="/rev/2ef0ac749a14?style=gitweb"><b>anotherthing</b></a></td>
732 740 <td class="link">
733 741 <a href="/rev/2ef0ac749a14?style=gitweb">changeset</a> |
@@ -736,7 +744,7 b' Overviews'
736 744 </td>
737 745 </tr>
738 746 <tr class="parity1">
739 <td class="age"><i>1970-01-01</i></td>
747 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
740 748 <td><a class="list" href="/rev/1d22e65f027e?style=gitweb"><b>something</b></a></td>
741 749 <td class="link">
742 750 <a href="/rev/1d22e65f027e?style=gitweb">changeset</a> |
@@ -751,7 +759,7 b' Overviews'
751 759 <table cellspacing="0">
752 760
753 761 <tr class="parity0">
754 <td class="age"><i>1970-01-01</i></td>
762 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
755 763 <td><a class="list" href="/shortlog/1d22e65f027e?style=gitweb"><b>1d22e65f027e</b></a></td>
756 764 <td class="">stable</td>
757 765 <td class="link">
@@ -761,7 +769,7 b' Overviews'
761 769 </td>
762 770 </tr>
763 771 <tr class="parity1">
764 <td class="age"><i>1970-01-01</i></td>
772 <td class="age"><i class="age">Thu Jan 01 00:00:00 1970 +0000</i></td>
765 773 <td><a class="list" href="/shortlog/a4f92ed23982?style=gitweb"><b>a4f92ed23982</b></a></td>
766 774 <td class="">default</td>
767 775 <td class="link">
@@ -774,6 +782,7 b' Overviews'
774 782 <td colspan="4"><a class="list" href="#">...</a></td>
775 783 </tr>
776 784 </table>
785 <script type="text/javascript">process_dates()</script>
777 786 <div class="page_footer">
778 787 <div class="page_footer_text">test</div>
779 788 <div class="rss_logo">
@@ -796,7 +805,7 b' Overviews'
796 805 <link rel="icon" href="/static/hgicon.png" type="image/png" />
797 806 <meta name="robots" content="index, nofollow"/>
798 807 <link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />
799
808 <script type="text/javascript" src="/static/mercurial.js"></script>
800 809
801 810 <title>test: Graph</title>
802 811 <link rel="alternate" type="application/atom+xml"
@@ -843,7 +852,6 b' Overviews'
843 852 <ul id="graphnodes"></ul>
844 853 </div>
845 854
846 <script type="text/javascript" src="/static/graph.js"></script>
847 855 <script>
848 856 <!-- hide script content
849 857
@@ -925,6 +933,7 b' Overviews'
925 933 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/2ef0ac749a14?style=gitweb">-2</a> <a href="/graph/tip?style=gitweb">tip</a>
926 934 </div>
927 935
936 <script type="text/javascript">process_dates()</script>
928 937 <div class="page_footer">
929 938 <div class="page_footer_text">test</div>
930 939 <div class="rss_logo">
@@ -36,6 +36,7 b' manifest with descending'
36 36 <link rel="icon" href="/static/hgicon.png" type="image/png" />
37 37 <meta name="robots" content="index, nofollow" />
38 38 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
39 <script type="text/javascript" src="/static/mercurial.js"></script>
39 40
40 41 <title>test: 9087c84a0f5d /</title>
41 42 </head>
@@ -129,6 +130,7 b' manifest with descending'
129 130 </table>
130 131 </div>
131 132 </div>
133 <script type="text/javascript">process_dates()</script>
132 134
133 135
134 136 </body>
@@ -29,6 +29,7 b' revision'
29 29 <link rel="icon" href="/static/hgicon.png" type="image/png" />
30 30 <meta name="robots" content="index, nofollow" />
31 31 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
32 <script type="text/javascript" src="/static/mercurial.js"></script>
32 33
33 34 <title>test: 0cd96de13884</title>
34 35 </head>
@@ -80,7 +81,7 b' revision'
80 81 </tr>
81 82 <tr>
82 83 <th class="date">date</th>
83 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr>
84 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
84 85 <tr>
85 86 <th class="author">parents</th>
86 87 <td class="author"></td>
@@ -111,6 +112,7 b' revision'
111 112
112 113 </div>
113 114 </div>
115 <script type="text/javascript">process_dates()</script>
114 116
115 117
116 118 </body>
@@ -153,6 +155,7 b' diff removed file'
153 155 <link rel="icon" href="/static/hgicon.png" type="image/png" />
154 156 <meta name="robots" content="index, nofollow" />
155 157 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
158 <script type="text/javascript" src="/static/mercurial.js"></script>
156 159
157 160 <title>test: a diff</title>
158 161 </head>
@@ -208,7 +211,7 b' diff removed file'
208 211 </tr>
209 212 <tr>
210 213 <th>date</th>
211 <td>Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
214 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
212 215 </tr>
213 216 <tr>
214 217 <th>parents</th>
@@ -233,6 +236,7 b' diff removed file'
233 236 </div>
234 237 </div>
235 238
239 <script type="text/javascript">process_dates()</script>
236 240
237 241
238 242 </body>
@@ -256,6 +260,7 b' revision'
256 260 <link rel="icon" href="/static/hgicon.png" type="image/png" />
257 261 <meta name="robots" content="index, nofollow" />
258 262 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
263 <script type="text/javascript" src="/static/mercurial.js"></script>
259 264
260 265 <title>test: 0cd96de13884</title>
261 266 </head>
@@ -307,7 +312,7 b' revision'
307 312 </tr>
308 313 <tr>
309 314 <th class="date">date</th>
310 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr>
315 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
311 316 <tr>
312 317 <th class="author">parents</th>
313 318 <td class="author"></td>
@@ -340,6 +345,7 b' revision'
340 345
341 346 </div>
342 347 </div>
348 <script type="text/javascript">process_dates()</script>
343 349
344 350
345 351 </body>
@@ -384,6 +390,7 b' diff removed file'
384 390 <link rel="icon" href="/static/hgicon.png" type="image/png" />
385 391 <meta name="robots" content="index, nofollow" />
386 392 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
393 <script type="text/javascript" src="/static/mercurial.js"></script>
387 394
388 395 <title>test: a diff</title>
389 396 </head>
@@ -439,7 +446,7 b' diff removed file'
439 446 </tr>
440 447 <tr>
441 448 <th>date</th>
442 <td>Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
449 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
443 450 </tr>
444 451 <tr>
445 452 <th>parents</th>
@@ -465,6 +472,7 b' diff removed file'
465 472 </div>
466 473 </div>
467 474
475 <script type="text/javascript">process_dates()</script>
468 476
469 477
470 478 </body>
@@ -13,6 +13,7 b' Some tests for hgweb in an empty reposit'
13 13 <link rel="icon" href="/static/hgicon.png" type="image/png" />
14 14 <meta name="robots" content="index, nofollow" />
15 15 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
16 <script type="text/javascript" src="/static/mercurial.js"></script>
16 17
17 18 <title>test: log</title>
18 19 <link rel="alternate" type="application/atom+xml"
@@ -82,6 +83,7 b' Some tests for hgweb in an empty reposit'
82 83 </div>
83 84 </div>
84 85
86 <script type="text/javascript">process_dates()</script>
85 87
86 88
87 89 </body>
@@ -96,6 +98,7 b' Some tests for hgweb in an empty reposit'
96 98 <link rel="icon" href="/static/hgicon.png" type="image/png" />
97 99 <meta name="robots" content="index, nofollow" />
98 100 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
101 <script type="text/javascript" src="/static/mercurial.js"></script>
99 102
100 103 <title>test: log</title>
101 104 <link rel="alternate" type="application/atom+xml"
@@ -165,6 +168,7 b' Some tests for hgweb in an empty reposit'
165 168 </div>
166 169 </div>
167 170
171 <script type="text/javascript">process_dates()</script>
168 172
169 173
170 174 </body>
@@ -179,6 +183,7 b' Some tests for hgweb in an empty reposit'
179 183 <link rel="icon" href="/static/hgicon.png" type="image/png" />
180 184 <meta name="robots" content="index, nofollow" />
181 185 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
186 <script type="text/javascript" src="/static/mercurial.js"></script>
182 187
183 188 <title>test: revision graph</title>
184 189 <link rel="alternate" type="application/atom+xml"
@@ -236,7 +241,6 b' Some tests for hgweb in an empty reposit'
236 241 <ul id="graphnodes"></ul>
237 242 </div>
238 243
239 <script type="text/javascript" src="/static/graph.js"></script>
240 244 <script type="text/javascript">
241 245 <!-- hide script content
242 246
@@ -320,6 +324,7 b' Some tests for hgweb in an empty reposit'
320 324 </div>
321 325 </div>
322 326
327 <script type="text/javascript">process_dates()</script>
323 328
324 329
325 330 </body>
@@ -334,6 +339,7 b' Some tests for hgweb in an empty reposit'
334 339 <link rel="icon" href="/static/hgicon.png" type="image/png" />
335 340 <meta name="robots" content="index, nofollow" />
336 341 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
342 <script type="text/javascript" src="/static/mercurial.js"></script>
337 343
338 344 <title>test: 000000000000 /</title>
339 345 </head>
@@ -391,6 +397,7 b' Some tests for hgweb in an empty reposit'
391 397 </table>
392 398 </div>
393 399 </div>
400 <script type="text/javascript">process_dates()</script>
394 401
395 402
396 403 </body>
@@ -117,6 +117,7 b' tip - two revisions'
117 117 <link rel="icon" href="/static/hgicon.png" type="image/png" />
118 118 <meta name="robots" content="index, nofollow" />
119 119 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
120 <script type="text/javascript" src="/static/mercurial.js"></script>
120 121
121 122 <title>test: a history</title>
122 123 <link rel="alternate" type="application/atom+xml"
@@ -178,12 +179,12 b' tip - two revisions'
178 179 <th class="description">description</th>
179 180 </tr>
180 181 <tr class="parity0">
181 <td class="age">1970-01-01</td>
182 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
182 183 <td class="author">test</td>
183 184 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
184 185 </tr>
185 186 <tr class="parity1">
186 <td class="age">1970-01-01</td>
187 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
187 188 <td class="author">test</td>
188 189 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
189 190 </tr>
@@ -199,6 +200,7 b' tip - two revisions'
199 200 </div>
200 201 </div>
201 202
203 <script type="text/javascript">process_dates()</script>
202 204
203 205
204 206 </body>
@@ -216,6 +218,7 b' second version - two revisions'
216 218 <link rel="icon" href="/static/hgicon.png" type="image/png" />
217 219 <meta name="robots" content="index, nofollow" />
218 220 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
221 <script type="text/javascript" src="/static/mercurial.js"></script>
219 222
220 223 <title>test: a history</title>
221 224 <link rel="alternate" type="application/atom+xml"
@@ -277,12 +280,12 b' second version - two revisions'
277 280 <th class="description">description</th>
278 281 </tr>
279 282 <tr class="parity0">
280 <td class="age">1970-01-01</td>
283 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
281 284 <td class="author">test</td>
282 285 <td class="description"><a href="/rev/01de2d66a28d">second a</a></td>
283 286 </tr>
284 287 <tr class="parity1">
285 <td class="age">1970-01-01</td>
288 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
286 289 <td class="author">test</td>
287 290 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
288 291 </tr>
@@ -298,6 +301,7 b' second version - two revisions'
298 301 </div>
299 302 </div>
300 303
304 <script type="text/javascript">process_dates()</script>
301 305
302 306
303 307 </body>
@@ -315,6 +319,7 b' first deleted - one revision'
315 319 <link rel="icon" href="/static/hgicon.png" type="image/png" />
316 320 <meta name="robots" content="index, nofollow" />
317 321 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
322 <script type="text/javascript" src="/static/mercurial.js"></script>
318 323
319 324 <title>test: a history</title>
320 325 <link rel="alternate" type="application/atom+xml"
@@ -376,7 +381,7 b' first deleted - one revision'
376 381 <th class="description">description</th>
377 382 </tr>
378 383 <tr class="parity0">
379 <td class="age">1970-01-01</td>
384 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
380 385 <td class="author">test</td>
381 386 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
382 387 </tr>
@@ -392,6 +397,7 b' first deleted - one revision'
392 397 </div>
393 398 </div>
394 399
400 <script type="text/javascript">process_dates()</script>
395 401
396 402
397 403 </body>
@@ -409,6 +415,7 b' first version - one revision'
409 415 <link rel="icon" href="/static/hgicon.png" type="image/png" />
410 416 <meta name="robots" content="index, nofollow" />
411 417 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
418 <script type="text/javascript" src="/static/mercurial.js"></script>
412 419
413 420 <title>test: a history</title>
414 421 <link rel="alternate" type="application/atom+xml"
@@ -470,7 +477,7 b' first version - one revision'
470 477 <th class="description">description</th>
471 478 </tr>
472 479 <tr class="parity0">
473 <td class="age">1970-01-01</td>
480 <td class="age">Thu Jan 01 00:00:00 1970 +0000</td>
474 481 <td class="author">test</td>
475 482 <td class="description"><a href="/rev/5ed941583260">first a</a></td>
476 483 </tr>
@@ -486,6 +493,7 b' first version - one revision'
486 493 </div>
487 494 </div>
488 495
496 <script type="text/javascript">process_dates()</script>
489 497
490 498
491 499 </body>
@@ -503,6 +511,7 b' before addition - error'
503 511 <link rel="icon" href="/static/hgicon.png" type="image/png" />
504 512 <meta name="robots" content="index, nofollow" />
505 513 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
514 <script type="text/javascript" src="/static/mercurial.js"></script>
506 515
507 516 <title>test: error</title>
508 517 </head>
@@ -547,6 +556,7 b' before addition - error'
547 556 </div>
548 557 </div>
549 558
559 <script type="text/javascript">process_dates()</script>
550 560
551 561
552 562 </body>
@@ -565,6 +575,7 b' should show base link, use spartan becau'
565 575 <link rel="icon" href="/static/hgicon.png" type="image/png">
566 576 <meta name="robots" content="index, nofollow" />
567 577 <link rel="stylesheet" href="/static/style.css" type="text/css" />
578 <script type="text/javascript" src="/static/mercurial.js"></script>
568 579
569 580 <title>test: c history</title>
570 581 <link rel="alternate" type="application/atom+xml"
@@ -593,7 +604,7 b' should show base link, use spartan becau'
593 604
594 605 <table class="logEntry parity0">
595 606 <tr>
596 <th class="age">1970-01-01:</th>
607 <th><span class="age">Thu Jan 01 00:00:00 1970 +0000</span>:</th>
597 608 <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
598 609 </tr>
599 610 <tr>
@@ -618,7 +629,7 b' should show base link, use spartan becau'
618 629
619 630 <table class="logEntry parity1">
620 631 <tr>
621 <th class="age">1970-01-01:</th>
632 <th><span class="age">Thu Jan 01 00:00:00 1970 +0000</span>:</th>
622 633 <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
623 634 </tr>
624 635 <tr>
@@ -651,6 +662,7 b' should show base link, use spartan becau'
651 662
652 663
653 664
665 <script type="text/javascript">process_dates()</script>
654 666
655 667 <div class="logo">
656 668 <a href="http://mercurial.selenic.com/">
@@ -24,6 +24,7 b' revision'
24 24 <link rel="icon" href="/static/hgicon.png" type="image/png" />
25 25 <meta name="robots" content="index, nofollow" />
26 26 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
27 <script type="text/javascript" src="/static/mercurial.js"></script>
27 28
28 29 <title>test: c78f6c5cbea9</title>
29 30 </head>
@@ -75,7 +76,7 b' revision'
75 76 </tr>
76 77 <tr>
77 78 <th class="date">date</th>
78 <td class="date">Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td></tr>
79 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td></tr>
79 80 <tr>
80 81 <th class="author">parents</th>
81 82 <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>
@@ -102,6 +103,7 b' revision'
102 103
103 104 </div>
104 105 </div>
106 <script type="text/javascript">process_dates()</script>
105 107
106 108
107 109 </body>
@@ -119,6 +121,7 b' diff removed file'
119 121 <link rel="icon" href="/static/hgicon.png" type="image/png" />
120 122 <meta name="robots" content="index, nofollow" />
121 123 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
124 <script type="text/javascript" src="/static/mercurial.js"></script>
122 125
123 126 <title>test: a diff</title>
124 127 </head>
@@ -174,7 +177,7 b' diff removed file'
174 177 </tr>
175 178 <tr>
176 179 <th>date</th>
177 <td>Thu Jan 01 00:00:00 1970 +0000 (1970-01-01)</td>
180 <td class="date age">Thu Jan 01 00:00:00 1970 +0000</td>
178 181 </tr>
179 182 <tr>
180 183 <th>parents</th>
@@ -199,6 +202,7 b' diff removed file'
199 202 </div>
200 203 </div>
201 204
205 <script type="text/javascript">process_dates()</script>
202 206
203 207
204 208 </body>
@@ -47,6 +47,7 b' should give a 404 - static file that doe'
47 47 <link rel="icon" href="/static/hgicon.png" type="image/png" />
48 48 <meta name="robots" content="index, nofollow" />
49 49 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
50 <script type="text/javascript" src="/static/mercurial.js"></script>
50 51
51 52 <title>test: error</title>
52 53 </head>
@@ -91,6 +92,7 b' should give a 404 - static file that doe'
91 92 </div>
92 93 </div>
93 94
95 <script type="text/javascript">process_dates()</script>
94 96
95 97
96 98 </body>
@@ -133,6 +135,7 b' should give a 404 - file does not exist'
133 135 <link rel="icon" href="/static/hgicon.png" type="image/png" />
134 136 <meta name="robots" content="index, nofollow" />
135 137 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
138 <script type="text/javascript" src="/static/mercurial.js"></script>
136 139
137 140 <title>test: error</title>
138 141 </head>
@@ -177,6 +180,7 b' should give a 404 - file does not exist'
177 180 </div>
178 181 </div>
179 182
183 <script type="text/javascript">process_dates()</script>
180 184
181 185
182 186 </body>
@@ -201,6 +205,7 b' try bad style'
201 205 <link rel="icon" href="/static/hgicon.png" type="image/png" />
202 206 <meta name="robots" content="index, nofollow" />
203 207 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
208 <script type="text/javascript" src="/static/mercurial.js"></script>
204 209
205 210 <title>test: 2ef0ac749a14 /</title>
206 211 </head>
@@ -279,6 +284,7 b' try bad style'
279 284 </table>
280 285 </div>
281 286 </div>
287 <script type="text/javascript">process_dates()</script>
282 288
283 289
284 290 </body>
@@ -143,6 +143,7 b' should succeed, slashy names'
143 143 <link rel="icon" href="/static/hgicon.png" type="image/png" />
144 144 <meta name="robots" content="index, nofollow" />
145 145 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
146 <script type="text/javascript" src="/static/mercurial.js"></script>
146 147
147 148 <title>Mercurial repositories index</title>
148 149 </head>
@@ -169,7 +170,7 b' should succeed, slashy names'
169 170 <td><a href="/t/a/?style=paper">t/a</a></td>
170 171 <td>unknown</td>
171 172 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
172 <td class="age">* ago</td> (glob)
173 <td class="age">*</td> (glob)
173 174 <td class="indexlinks"></td>
174 175 </tr>
175 176
@@ -177,7 +178,7 b' should succeed, slashy names'
177 178 <td><a href="/b/?style=paper">b</a></td>
178 179 <td>unknown</td>
179 180 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
180 <td class="age">* ago</td> (glob)
181 <td class="age">*</td> (glob)
181 182 <td class="indexlinks"></td>
182 183 </tr>
183 184
@@ -185,7 +186,7 b' should succeed, slashy names'
185 186 <td><a href="/coll/a/?style=paper">coll/a</a></td>
186 187 <td>unknown</td>
187 188 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
188 <td class="age">* ago</td> (glob)
189 <td class="age">*</td> (glob)
189 190 <td class="indexlinks"></td>
190 191 </tr>
191 192
@@ -193,7 +194,7 b' should succeed, slashy names'
193 194 <td><a href="/coll/a/.hg/patches/?style=paper">coll/a/.hg/patches</a></td>
194 195 <td>unknown</td>
195 196 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
196 <td class="age">* ago</td> (glob)
197 <td class="age">*</td> (glob)
197 198 <td class="indexlinks"></td>
198 199 </tr>
199 200
@@ -201,7 +202,7 b' should succeed, slashy names'
201 202 <td><a href="/coll/b/?style=paper">coll/b</a></td>
202 203 <td>unknown</td>
203 204 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
204 <td class="age">* ago</td> (glob)
205 <td class="age">*</td> (glob)
205 206 <td class="indexlinks"></td>
206 207 </tr>
207 208
@@ -209,7 +210,7 b' should succeed, slashy names'
209 210 <td><a href="/coll/c/?style=paper">coll/c</a></td>
210 211 <td>unknown</td>
211 212 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
212 <td class="age">* ago</td> (glob)
213 <td class="age">*</td> (glob)
213 214 <td class="indexlinks"></td>
214 215 </tr>
215 216
@@ -217,7 +218,7 b' should succeed, slashy names'
217 218 <td><a href="/rcoll/a/?style=paper">rcoll/a</a></td>
218 219 <td>unknown</td>
219 220 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
220 <td class="age">* ago</td> (glob)
221 <td class="age">*</td> (glob)
221 222 <td class="indexlinks"></td>
222 223 </tr>
223 224
@@ -225,7 +226,7 b' should succeed, slashy names'
225 226 <td><a href="/rcoll/a/.hg/patches/?style=paper">rcoll/a/.hg/patches</a></td>
226 227 <td>unknown</td>
227 228 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
228 <td class="age">* ago</td> (glob)
229 <td class="age">*</td> (glob)
229 230 <td class="indexlinks"></td>
230 231 </tr>
231 232
@@ -233,7 +234,7 b' should succeed, slashy names'
233 234 <td><a href="/rcoll/b/?style=paper">rcoll/b</a></td>
234 235 <td>unknown</td>
235 236 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
236 <td class="age">* ago</td> (glob)
237 <td class="age">*</td> (glob)
237 238 <td class="indexlinks"></td>
238 239 </tr>
239 240
@@ -241,7 +242,7 b' should succeed, slashy names'
241 242 <td><a href="/rcoll/b/d/?style=paper">rcoll/b/d</a></td>
242 243 <td>unknown</td>
243 244 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
244 <td class="age">* ago</td> (glob)
245 <td class="age">*</td> (glob)
245 246 <td class="indexlinks"></td>
246 247 </tr>
247 248
@@ -249,7 +250,7 b' should succeed, slashy names'
249 250 <td><a href="/rcoll/c/?style=paper">rcoll/c</a></td>
250 251 <td>unknown</td>
251 252 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
252 <td class="age">* ago</td> (glob)
253 <td class="age">*</td> (glob)
253 254 <td class="indexlinks"></td>
254 255 </tr>
255 256
@@ -257,7 +258,7 b' should succeed, slashy names'
257 258 <td><a href="/star/webdir/a/?style=paper">star/webdir/a</a></td>
258 259 <td>unknown</td>
259 260 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
260 <td class="age">* ago</td> (glob)
261 <td class="age">*</td> (glob)
261 262 <td class="indexlinks"></td>
262 263 </tr>
263 264
@@ -265,7 +266,7 b' should succeed, slashy names'
265 266 <td><a href="/star/webdir/a/.hg/patches/?style=paper">star/webdir/a/.hg/patches</a></td>
266 267 <td>unknown</td>
267 268 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
268 <td class="age">* ago</td> (glob)
269 <td class="age">*</td> (glob)
269 270 <td class="indexlinks"></td>
270 271 </tr>
271 272
@@ -273,7 +274,7 b' should succeed, slashy names'
273 274 <td><a href="/star/webdir/b/?style=paper">star/webdir/b</a></td>
274 275 <td>unknown</td>
275 276 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
276 <td class="age">* ago</td> (glob)
277 <td class="age">*</td> (glob)
277 278 <td class="indexlinks"></td>
278 279 </tr>
279 280
@@ -281,7 +282,7 b' should succeed, slashy names'
281 282 <td><a href="/star/webdir/c/?style=paper">star/webdir/c</a></td>
282 283 <td>unknown</td>
283 284 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
284 <td class="age">* ago</td> (glob)
285 <td class="age">*</td> (glob)
285 286 <td class="indexlinks"></td>
286 287 </tr>
287 288
@@ -289,7 +290,7 b' should succeed, slashy names'
289 290 <td><a href="/starstar/webdir/a/?style=paper">starstar/webdir/a</a></td>
290 291 <td>unknown</td>
291 292 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
292 <td class="age">* ago</td> (glob)
293 <td class="age">*</td> (glob)
293 294 <td class="indexlinks"></td>
294 295 </tr>
295 296
@@ -297,7 +298,7 b' should succeed, slashy names'
297 298 <td><a href="/starstar/webdir/a/.hg/patches/?style=paper">starstar/webdir/a/.hg/patches</a></td>
298 299 <td>unknown</td>
299 300 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
300 <td class="age">* ago</td> (glob)
301 <td class="age">*</td> (glob)
301 302 <td class="indexlinks"></td>
302 303 </tr>
303 304
@@ -305,7 +306,7 b' should succeed, slashy names'
305 306 <td><a href="/starstar/webdir/b/?style=paper">starstar/webdir/b</a></td>
306 307 <td>unknown</td>
307 308 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
308 <td class="age">* ago</td> (glob)
309 <td class="age">*</td> (glob)
309 310 <td class="indexlinks"></td>
310 311 </tr>
311 312
@@ -313,7 +314,7 b' should succeed, slashy names'
313 314 <td><a href="/starstar/webdir/b/d/?style=paper">starstar/webdir/b/d</a></td>
314 315 <td>unknown</td>
315 316 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
316 <td class="age">* ago</td> (glob)
317 <td class="age">*</td> (glob)
317 318 <td class="indexlinks"></td>
318 319 </tr>
319 320
@@ -321,7 +322,7 b' should succeed, slashy names'
321 322 <td><a href="/starstar/webdir/c/?style=paper">starstar/webdir/c</a></td>
322 323 <td>unknown</td>
323 324 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
324 <td class="age">* ago</td> (glob)
325 <td class="age">*</td> (glob)
325 326 <td class="indexlinks"></td>
326 327 </tr>
327 328
@@ -329,7 +330,7 b' should succeed, slashy names'
329 330 <td><a href="/astar/?style=paper">astar</a></td>
330 331 <td>unknown</td>
331 332 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
332 <td class="age">* ago</td> (glob)
333 <td class="age">*</td> (glob)
333 334 <td class="indexlinks"></td>
334 335 </tr>
335 336
@@ -337,13 +338,14 b' should succeed, slashy names'
337 338 <td><a href="/astar/.hg/patches/?style=paper">astar/.hg/patches</a></td>
338 339 <td>unknown</td>
339 340 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
340 <td class="age">* ago</td> (glob)
341 <td class="age">*</td> (glob)
341 342 <td class="indexlinks"></td>
342 343 </tr>
343 344
344 345 </table>
345 346 </div>
346 347 </div>
348 <script type="text/javascript">process_dates()</script>
347 349
348 350
349 351 </body>
@@ -370,6 +372,7 b' should succeed, slashy names'
370 372 <link rel="icon" href="/static/hgicon.png" type="image/png" />
371 373 <meta name="robots" content="index, nofollow" />
372 374 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
375 <script type="text/javascript" src="/static/mercurial.js"></script>
373 376
374 377 <title>Mercurial repositories index</title>
375 378 </head>
@@ -396,13 +399,14 b' should succeed, slashy names'
396 399 <td><a href="/t/a/?style=paper">a</a></td>
397 400 <td>unknown</td>
398 401 <td>&#70;&#111;&#111;&#32;&#66;&#97;&#114;&#32;&#60;&#102;&#111;&#111;&#46;&#98;&#97;&#114;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;&#62;</td>
399 <td class="age">* ago</td> (glob)
402 <td class="age">*</td> (glob)
400 403 <td class="indexlinks"></td>
401 404 </tr>
402 405
403 406 </table>
404 407 </div>
405 408 </div>
409 <script type="text/javascript">process_dates()</script>
406 410
407 411
408 412 </body>
@@ -560,6 +564,7 b' test inexistent and inaccessible repo sh'
560 564 <link rel="icon" href="/static/hgicon.png" type="image/png" />
561 565 <meta name="robots" content="index, nofollow" />
562 566 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
567 <script type="text/javascript" src="/static/mercurial.js"></script>
563 568
564 569 <title>Mercurial repositories index</title>
565 570 </head>
@@ -585,6 +590,7 b' test inexistent and inaccessible repo sh'
585 590 </table>
586 591 </div>
587 592 </div>
593 <script type="text/javascript">process_dates()</script>
588 594
589 595
590 596 </body>
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now