##// END OF EJS Templates
templates: reword 'back to filelog' link anchor text...
Jordi Gutiérrez Hermoso -
r35089:79cbf5cc default
parent child Browse files
Show More
@@ -1,52 +1,52 b''
1 1 {header}
2 2 <title>{repo|escape}: File revisions</title>
3 3 <link rel="alternate" type="application/atom+xml"
4 4 href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/>
5 5 <link rel="alternate" type="application/rss+xml"
6 6 href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/>
7 7 </head>
8 8 <body>
9 9
10 10 <div class="page_header">
11 11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a>
12 12 <a href="/">Mercurial</a> {pathdef%breadcrumb} / file revisions
13 13 </div>
14 14
15 15 <div class="page_nav">
16 16 <div>
17 17 <a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> |
18 18 <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> |
19 19 <a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> |
20 20 <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> |
21 21 <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> |
22 22 <a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> |
23 23 <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> |
24 24 <a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
25 25 revisions |
26 26 <a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
27 27 <a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
28 28 <a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a> |
29 29 <a href="{url|urlescape}rss-log/tip/{file|urlescape}">rss</a> |
30 30 <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a>
31 31 <br/>
32 32 {nav%filenav}
33 33 </div>
34 34 {searchform}
35 35 </div>
36 36
37 37 <div class="title" >
38 38 {file|urlescape}{if(linerange,
39 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">back to filelog</a>)')}
39 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">all revisions for this file</a>)')}
40 40 </div>
41 41
42 42 <table>
43 43 {entries%filelogentry}
44 44 </table>
45 45
46 46 <div class="extra_nav">
47 47 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{lessvars%urlparameter}">less</a>
48 48 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{morevars%urlparameter}">more</a>
49 49 {nav%filenav}
50 50 </div>
51 51
52 52 {footer}
@@ -1,83 +1,83 b''
1 1 {header}
2 2 <title>{repo|escape}: {file|escape} history</title>
3 3 <link rel="alternate" type="application/atom+xml"
4 4 href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" />
5 5 <link rel="alternate" type="application/rss+xml"
6 6 href="{url|urlescape}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" />
7 7 </head>
8 8 <body>
9 9
10 10 <div class="container">
11 11 <div class="menu">
12 12 <div class="logo">
13 13 <a href="{logourl}">
14 14 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
15 15 </div>
16 16 <ul>
17 17 <li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">log</a></li>
18 18 <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li>
19 19 <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
20 20 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
21 21 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
22 22 </ul>
23 23 <ul>
24 24 <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li>
25 25 <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
26 26 </ul>
27 27 <ul>
28 28 <li><a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
29 29 <li><a href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
30 30 <li><a href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">comparison</a></li>
31 31 <li><a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
32 32 <li class="active">file log</li>
33 33 <li><a href="{url|urlescape}raw-file/{symrev}/{file|urlescape}">raw</a></li>
34 34 </ul>
35 35 <ul>
36 36 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
37 37 </ul>
38 38 <div class="atom-logo">
39 39 <a href="{url|urlescape}atom-log/tip/{file|urlescape}" title="subscribe to atom feed">
40 40 <img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
41 41 </a>
42 42 </div>
43 43 </div>
44 44
45 45 <div class="main">
46 46 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
47 47 <h3>
48 48 log {file|escape} @ {rev}:<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
49 49 {alltags}
50 50 {if(linerange,
51 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">back to filelog</a>)')}
51 ' (following lines {linerange}{if(descend, ', descending')} <a href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">all revisions for this file</a>)')}
52 52 </h3>
53 53
54 54 {searchform}
55 55
56 56 <div class="navigate">
57 57 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{lessvars%urlparameter}">less</a>
58 58 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{morevars%urlparameter}">more</a>
59 59 | {nav%filenav}</div>
60 60
61 61 <table class="bigtable">
62 62 <thead>
63 63 <tr>
64 64 <th class="age">age</th>
65 65 <th class="author">author</th>
66 66 <th class="description">description</th>
67 67 </tr>
68 68 </thead>
69 69 <tbody class="stripes2">
70 70 {entries%filelogentry}
71 71 </tbody>
72 72 </table>
73 73
74 74 <div class="navigate">
75 75 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{lessvars%urlparameter}">less</a>
76 76 <a href="{url|urlescape}log/{symrev}/{file|urlescape}{morevars%urlparameter}">more</a>
77 77 | {nav%filenav}
78 78 </div>
79 79
80 80 </div>
81 81 </div>
82 82
83 83 {footer}
@@ -1,1847 +1,1847 b''
1 1 #require serve
2 2
3 3 $ hg init test
4 4 $ cd test
5 5 $ echo b > b
6 6 $ hg ci -Am "b"
7 7 adding b
8 8 $ echo a > a
9 9 $ hg ci -Am "first a"
10 10 adding a
11 11 $ hg tag -r 1 a-tag
12 12 $ hg bookmark -r 1 a-bookmark
13 13 $ hg rm a
14 14 $ hg ci -m "del a"
15 15 $ hg branch a-branch
16 16 marked working directory as branch a-branch
17 17 (branches are permanent and global, did you want a bookmark?)
18 18 $ echo b > a
19 19 $ hg ci -Am "second a"
20 20 adding a
21 21 $ hg rm a
22 22 $ hg ci -m "del2 a"
23 23 $ hg mv b c
24 24 $ hg ci -m "mv b"
25 25 $ echo c >> c
26 26 $ hg ci -m "change c"
27 27 $ hg log -p
28 28 changeset: 7:46c1a66bd8fc
29 29 branch: a-branch
30 30 tag: tip
31 31 user: test
32 32 date: Thu Jan 01 00:00:00 1970 +0000
33 33 summary: change c
34 34
35 35 diff -r c9637d3cc8ef -r 46c1a66bd8fc c
36 36 --- a/c Thu Jan 01 00:00:00 1970 +0000
37 37 +++ b/c Thu Jan 01 00:00:00 1970 +0000
38 38 @@ -1,1 +1,2 @@
39 39 b
40 40 +c
41 41
42 42 changeset: 6:c9637d3cc8ef
43 43 branch: a-branch
44 44 user: test
45 45 date: Thu Jan 01 00:00:00 1970 +0000
46 46 summary: mv b
47 47
48 48 diff -r 958bd88be4eb -r c9637d3cc8ef b
49 49 --- a/b Thu Jan 01 00:00:00 1970 +0000
50 50 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
51 51 @@ -1,1 +0,0 @@
52 52 -b
53 53 diff -r 958bd88be4eb -r c9637d3cc8ef c
54 54 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
55 55 +++ b/c Thu Jan 01 00:00:00 1970 +0000
56 56 @@ -0,0 +1,1 @@
57 57 +b
58 58
59 59 changeset: 5:958bd88be4eb
60 60 branch: a-branch
61 61 user: test
62 62 date: Thu Jan 01 00:00:00 1970 +0000
63 63 summary: del2 a
64 64
65 65 diff -r 3f41bc784e7e -r 958bd88be4eb a
66 66 --- a/a Thu Jan 01 00:00:00 1970 +0000
67 67 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
68 68 @@ -1,1 +0,0 @@
69 69 -b
70 70
71 71 changeset: 4:3f41bc784e7e
72 72 branch: a-branch
73 73 user: test
74 74 date: Thu Jan 01 00:00:00 1970 +0000
75 75 summary: second a
76 76
77 77 diff -r 292258f86fdf -r 3f41bc784e7e a
78 78 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
79 79 +++ b/a Thu Jan 01 00:00:00 1970 +0000
80 80 @@ -0,0 +1,1 @@
81 81 +b
82 82
83 83 changeset: 3:292258f86fdf
84 84 user: test
85 85 date: Thu Jan 01 00:00:00 1970 +0000
86 86 summary: del a
87 87
88 88 diff -r 94c9dd5ca9b4 -r 292258f86fdf a
89 89 --- a/a Thu Jan 01 00:00:00 1970 +0000
90 90 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
91 91 @@ -1,1 +0,0 @@
92 92 -a
93 93
94 94 changeset: 2:94c9dd5ca9b4
95 95 user: test
96 96 date: Thu Jan 01 00:00:00 1970 +0000
97 97 summary: Added tag a-tag for changeset 5ed941583260
98 98
99 99 diff -r 5ed941583260 -r 94c9dd5ca9b4 .hgtags
100 100 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
101 101 +++ b/.hgtags Thu Jan 01 00:00:00 1970 +0000
102 102 @@ -0,0 +1,1 @@
103 103 +5ed941583260248620985524192fdc382ef57c36 a-tag
104 104
105 105 changeset: 1:5ed941583260
106 106 bookmark: a-bookmark
107 107 tag: a-tag
108 108 user: test
109 109 date: Thu Jan 01 00:00:00 1970 +0000
110 110 summary: first a
111 111
112 112 diff -r 6563da9dcf87 -r 5ed941583260 a
113 113 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
114 114 +++ b/a Thu Jan 01 00:00:00 1970 +0000
115 115 @@ -0,0 +1,1 @@
116 116 +a
117 117
118 118 changeset: 0:6563da9dcf87
119 119 user: test
120 120 date: Thu Jan 01 00:00:00 1970 +0000
121 121 summary: b
122 122
123 123 diff -r 000000000000 -r 6563da9dcf87 b
124 124 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
125 125 +++ b/b Thu Jan 01 00:00:00 1970 +0000
126 126 @@ -0,0 +1,1 @@
127 127 +b
128 128
129 129 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
130 130 $ cat hg.pid >> $DAEMON_PIDS
131 131
132 132 tip - two revisions
133 133
134 134 $ (get-with-headers.py localhost:$HGPORT 'log/tip/a')
135 135 200 Script output follows
136 136
137 137 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
138 138 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
139 139 <head>
140 140 <link rel="icon" href="/static/hgicon.png" type="image/png" />
141 141 <meta name="robots" content="index, nofollow" />
142 142 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
143 143 <script type="text/javascript" src="/static/mercurial.js"></script>
144 144
145 145 <title>test: a history</title>
146 146 <link rel="alternate" type="application/atom+xml"
147 147 href="/atom-log/tip/a" title="Atom feed for test:a" />
148 148 <link rel="alternate" type="application/rss+xml"
149 149 href="/rss-log/tip/a" title="RSS feed for test:a" />
150 150 </head>
151 151 <body>
152 152
153 153 <div class="container">
154 154 <div class="menu">
155 155 <div class="logo">
156 156 <a href="https://mercurial-scm.org/">
157 157 <img src="/static/hglogo.png" alt="mercurial" /></a>
158 158 </div>
159 159 <ul>
160 160 <li><a href="/shortlog/tip">log</a></li>
161 161 <li><a href="/graph/tip">graph</a></li>
162 162 <li><a href="/tags">tags</a></li>
163 163 <li><a href="/bookmarks">bookmarks</a></li>
164 164 <li><a href="/branches">branches</a></li>
165 165 </ul>
166 166 <ul>
167 167 <li><a href="/rev/tip">changeset</a></li>
168 168 <li><a href="/file/tip">browse</a></li>
169 169 </ul>
170 170 <ul>
171 171 <li><a href="/file/tip/a">file</a></li>
172 172 <li><a href="/diff/tip/a">diff</a></li>
173 173 <li><a href="/comparison/tip/a">comparison</a></li>
174 174 <li><a href="/annotate/tip/a">annotate</a></li>
175 175 <li class="active">file log</li>
176 176 <li><a href="/raw-file/tip/a">raw</a></li>
177 177 </ul>
178 178 <ul>
179 179 <li><a href="/help">help</a></li>
180 180 </ul>
181 181 <div class="atom-logo">
182 182 <a href="/atom-log/tip/a" title="subscribe to atom feed">
183 183 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
184 184 </a>
185 185 </div>
186 186 </div>
187 187
188 188 <div class="main">
189 189 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
190 190 <h3>
191 191 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
192 192 <span class="phase">draft</span> <span class="branchname">a-branch</span>
193 193
194 194 </h3>
195 195
196 196
197 197 <form class="search" action="/log">
198 198
199 199 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
200 200 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
201 201 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
202 202 </form>
203 203
204 204 <div class="navigate">
205 205 <a href="/log/tip/a?revcount=30">less</a>
206 206 <a href="/log/tip/a?revcount=120">more</a>
207 207 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
208 208
209 209 <table class="bigtable">
210 210 <thead>
211 211 <tr>
212 212 <th class="age">age</th>
213 213 <th class="author">author</th>
214 214 <th class="description">description</th>
215 215 </tr>
216 216 </thead>
217 217 <tbody class="stripes2">
218 218 <tr>
219 219 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
220 220 <td class="author">test</td>
221 221 <td class="description">
222 222 <a href="/rev/3f41bc784e7e">second a</a>
223 223 <span class="phase">draft</span> <span class="branchname">a-branch</span>
224 224 </td>
225 225 </tr>
226 226
227 227 <tr>
228 228 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
229 229 <td class="author">test</td>
230 230 <td class="description">
231 231 <a href="/rev/5ed941583260">first a</a>
232 232 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
233 233 </td>
234 234 </tr>
235 235
236 236
237 237 </tbody>
238 238 </table>
239 239
240 240 <div class="navigate">
241 241 <a href="/log/tip/a?revcount=30">less</a>
242 242 <a href="/log/tip/a?revcount=120">more</a>
243 243 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
244 244 </div>
245 245
246 246 </div>
247 247 </div>
248 248
249 249
250 250
251 251 </body>
252 252 </html>
253 253
254 254
255 255 second version - two revisions
256 256
257 257 $ (get-with-headers.py localhost:$HGPORT 'log/4/a')
258 258 200 Script output follows
259 259
260 260 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
261 261 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
262 262 <head>
263 263 <link rel="icon" href="/static/hgicon.png" type="image/png" />
264 264 <meta name="robots" content="index, nofollow" />
265 265 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
266 266 <script type="text/javascript" src="/static/mercurial.js"></script>
267 267
268 268 <title>test: a history</title>
269 269 <link rel="alternate" type="application/atom+xml"
270 270 href="/atom-log/tip/a" title="Atom feed for test:a" />
271 271 <link rel="alternate" type="application/rss+xml"
272 272 href="/rss-log/tip/a" title="RSS feed for test:a" />
273 273 </head>
274 274 <body>
275 275
276 276 <div class="container">
277 277 <div class="menu">
278 278 <div class="logo">
279 279 <a href="https://mercurial-scm.org/">
280 280 <img src="/static/hglogo.png" alt="mercurial" /></a>
281 281 </div>
282 282 <ul>
283 283 <li><a href="/shortlog/4">log</a></li>
284 284 <li><a href="/graph/4">graph</a></li>
285 285 <li><a href="/tags">tags</a></li>
286 286 <li><a href="/bookmarks">bookmarks</a></li>
287 287 <li><a href="/branches">branches</a></li>
288 288 </ul>
289 289 <ul>
290 290 <li><a href="/rev/4">changeset</a></li>
291 291 <li><a href="/file/4">browse</a></li>
292 292 </ul>
293 293 <ul>
294 294 <li><a href="/file/4/a">file</a></li>
295 295 <li><a href="/diff/4/a">diff</a></li>
296 296 <li><a href="/comparison/4/a">comparison</a></li>
297 297 <li><a href="/annotate/4/a">annotate</a></li>
298 298 <li class="active">file log</li>
299 299 <li><a href="/raw-file/4/a">raw</a></li>
300 300 </ul>
301 301 <ul>
302 302 <li><a href="/help">help</a></li>
303 303 </ul>
304 304 <div class="atom-logo">
305 305 <a href="/atom-log/tip/a" title="subscribe to atom feed">
306 306 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
307 307 </a>
308 308 </div>
309 309 </div>
310 310
311 311 <div class="main">
312 312 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
313 313 <h3>
314 314 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
315 315 <span class="phase">draft</span> <span class="branchname">a-branch</span>
316 316
317 317 </h3>
318 318
319 319
320 320 <form class="search" action="/log">
321 321
322 322 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
323 323 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
324 324 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
325 325 </form>
326 326
327 327 <div class="navigate">
328 328 <a href="/log/4/a?revcount=30">less</a>
329 329 <a href="/log/4/a?revcount=120">more</a>
330 330 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
331 331
332 332 <table class="bigtable">
333 333 <thead>
334 334 <tr>
335 335 <th class="age">age</th>
336 336 <th class="author">author</th>
337 337 <th class="description">description</th>
338 338 </tr>
339 339 </thead>
340 340 <tbody class="stripes2">
341 341 <tr>
342 342 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
343 343 <td class="author">test</td>
344 344 <td class="description">
345 345 <a href="/rev/3f41bc784e7e">second a</a>
346 346 <span class="phase">draft</span> <span class="branchname">a-branch</span>
347 347 </td>
348 348 </tr>
349 349
350 350 <tr>
351 351 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
352 352 <td class="author">test</td>
353 353 <td class="description">
354 354 <a href="/rev/5ed941583260">first a</a>
355 355 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
356 356 </td>
357 357 </tr>
358 358
359 359
360 360 </tbody>
361 361 </table>
362 362
363 363 <div class="navigate">
364 364 <a href="/log/4/a?revcount=30">less</a>
365 365 <a href="/log/4/a?revcount=120">more</a>
366 366 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
367 367 </div>
368 368
369 369 </div>
370 370 </div>
371 371
372 372
373 373
374 374 </body>
375 375 </html>
376 376
377 377
378 378 first deleted - one revision
379 379
380 380 $ (get-with-headers.py localhost:$HGPORT 'log/3/a')
381 381 200 Script output follows
382 382
383 383 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
384 384 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
385 385 <head>
386 386 <link rel="icon" href="/static/hgicon.png" type="image/png" />
387 387 <meta name="robots" content="index, nofollow" />
388 388 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
389 389 <script type="text/javascript" src="/static/mercurial.js"></script>
390 390
391 391 <title>test: a history</title>
392 392 <link rel="alternate" type="application/atom+xml"
393 393 href="/atom-log/tip/a" title="Atom feed for test:a" />
394 394 <link rel="alternate" type="application/rss+xml"
395 395 href="/rss-log/tip/a" title="RSS feed for test:a" />
396 396 </head>
397 397 <body>
398 398
399 399 <div class="container">
400 400 <div class="menu">
401 401 <div class="logo">
402 402 <a href="https://mercurial-scm.org/">
403 403 <img src="/static/hglogo.png" alt="mercurial" /></a>
404 404 </div>
405 405 <ul>
406 406 <li><a href="/shortlog/3">log</a></li>
407 407 <li><a href="/graph/3">graph</a></li>
408 408 <li><a href="/tags">tags</a></li>
409 409 <li><a href="/bookmarks">bookmarks</a></li>
410 410 <li><a href="/branches">branches</a></li>
411 411 </ul>
412 412 <ul>
413 413 <li><a href="/rev/3">changeset</a></li>
414 414 <li><a href="/file/3">browse</a></li>
415 415 </ul>
416 416 <ul>
417 417 <li><a href="/file/3/a">file</a></li>
418 418 <li><a href="/diff/3/a">diff</a></li>
419 419 <li><a href="/comparison/3/a">comparison</a></li>
420 420 <li><a href="/annotate/3/a">annotate</a></li>
421 421 <li class="active">file log</li>
422 422 <li><a href="/raw-file/3/a">raw</a></li>
423 423 </ul>
424 424 <ul>
425 425 <li><a href="/help">help</a></li>
426 426 </ul>
427 427 <div class="atom-logo">
428 428 <a href="/atom-log/tip/a" title="subscribe to atom feed">
429 429 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
430 430 </a>
431 431 </div>
432 432 </div>
433 433
434 434 <div class="main">
435 435 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
436 436 <h3>
437 437 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
438 438 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
439 439
440 440 </h3>
441 441
442 442
443 443 <form class="search" action="/log">
444 444
445 445 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
446 446 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
447 447 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
448 448 </form>
449 449
450 450 <div class="navigate">
451 451 <a href="/log/3/a?revcount=30">less</a>
452 452 <a href="/log/3/a?revcount=120">more</a>
453 453 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
454 454
455 455 <table class="bigtable">
456 456 <thead>
457 457 <tr>
458 458 <th class="age">age</th>
459 459 <th class="author">author</th>
460 460 <th class="description">description</th>
461 461 </tr>
462 462 </thead>
463 463 <tbody class="stripes2">
464 464 <tr>
465 465 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
466 466 <td class="author">test</td>
467 467 <td class="description">
468 468 <a href="/rev/5ed941583260">first a</a>
469 469 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
470 470 </td>
471 471 </tr>
472 472
473 473
474 474 </tbody>
475 475 </table>
476 476
477 477 <div class="navigate">
478 478 <a href="/log/3/a?revcount=30">less</a>
479 479 <a href="/log/3/a?revcount=120">more</a>
480 480 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
481 481 </div>
482 482
483 483 </div>
484 484 </div>
485 485
486 486
487 487
488 488 </body>
489 489 </html>
490 490
491 491
492 492 first version - one revision
493 493
494 494 $ (get-with-headers.py localhost:$HGPORT 'log/1/a')
495 495 200 Script output follows
496 496
497 497 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
498 498 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
499 499 <head>
500 500 <link rel="icon" href="/static/hgicon.png" type="image/png" />
501 501 <meta name="robots" content="index, nofollow" />
502 502 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
503 503 <script type="text/javascript" src="/static/mercurial.js"></script>
504 504
505 505 <title>test: a history</title>
506 506 <link rel="alternate" type="application/atom+xml"
507 507 href="/atom-log/tip/a" title="Atom feed for test:a" />
508 508 <link rel="alternate" type="application/rss+xml"
509 509 href="/rss-log/tip/a" title="RSS feed for test:a" />
510 510 </head>
511 511 <body>
512 512
513 513 <div class="container">
514 514 <div class="menu">
515 515 <div class="logo">
516 516 <a href="https://mercurial-scm.org/">
517 517 <img src="/static/hglogo.png" alt="mercurial" /></a>
518 518 </div>
519 519 <ul>
520 520 <li><a href="/shortlog/1">log</a></li>
521 521 <li><a href="/graph/1">graph</a></li>
522 522 <li><a href="/tags">tags</a></li>
523 523 <li><a href="/bookmarks">bookmarks</a></li>
524 524 <li><a href="/branches">branches</a></li>
525 525 </ul>
526 526 <ul>
527 527 <li><a href="/rev/1">changeset</a></li>
528 528 <li><a href="/file/1">browse</a></li>
529 529 </ul>
530 530 <ul>
531 531 <li><a href="/file/1/a">file</a></li>
532 532 <li><a href="/diff/1/a">diff</a></li>
533 533 <li><a href="/comparison/1/a">comparison</a></li>
534 534 <li><a href="/annotate/1/a">annotate</a></li>
535 535 <li class="active">file log</li>
536 536 <li><a href="/raw-file/1/a">raw</a></li>
537 537 </ul>
538 538 <ul>
539 539 <li><a href="/help">help</a></li>
540 540 </ul>
541 541 <div class="atom-logo">
542 542 <a href="/atom-log/tip/a" title="subscribe to atom feed">
543 543 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
544 544 </a>
545 545 </div>
546 546 </div>
547 547
548 548 <div class="main">
549 549 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
550 550 <h3>
551 551 log a @ 1:<a href="/rev/5ed941583260">5ed941583260</a>
552 552 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
553 553
554 554 </h3>
555 555
556 556
557 557 <form class="search" action="/log">
558 558
559 559 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
560 560 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
561 561 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
562 562 </form>
563 563
564 564 <div class="navigate">
565 565 <a href="/log/1/a?revcount=30">less</a>
566 566 <a href="/log/1/a?revcount=120">more</a>
567 567 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
568 568
569 569 <table class="bigtable">
570 570 <thead>
571 571 <tr>
572 572 <th class="age">age</th>
573 573 <th class="author">author</th>
574 574 <th class="description">description</th>
575 575 </tr>
576 576 </thead>
577 577 <tbody class="stripes2">
578 578 <tr>
579 579 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
580 580 <td class="author">test</td>
581 581 <td class="description">
582 582 <a href="/rev/5ed941583260">first a</a>
583 583 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
584 584 </td>
585 585 </tr>
586 586
587 587
588 588 </tbody>
589 589 </table>
590 590
591 591 <div class="navigate">
592 592 <a href="/log/1/a?revcount=30">less</a>
593 593 <a href="/log/1/a?revcount=120">more</a>
594 594 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
595 595 </div>
596 596
597 597 </div>
598 598 </div>
599 599
600 600
601 601
602 602 </body>
603 603 </html>
604 604
605 605
606 606 before addition - error
607 607
608 608 $ (get-with-headers.py localhost:$HGPORT 'log/0/a')
609 609 404 Not Found
610 610
611 611 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
612 612 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
613 613 <head>
614 614 <link rel="icon" href="/static/hgicon.png" type="image/png" />
615 615 <meta name="robots" content="index, nofollow" />
616 616 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
617 617 <script type="text/javascript" src="/static/mercurial.js"></script>
618 618
619 619 <title>test: error</title>
620 620 </head>
621 621 <body>
622 622
623 623 <div class="container">
624 624 <div class="menu">
625 625 <div class="logo">
626 626 <a href="https://mercurial-scm.org/">
627 627 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a>
628 628 </div>
629 629 <ul>
630 630 <li><a href="/shortlog">log</a></li>
631 631 <li><a href="/graph">graph</a></li>
632 632 <li><a href="/tags">tags</a></li>
633 633 <li><a href="/bookmarks">bookmarks</a></li>
634 634 <li><a href="/branches">branches</a></li>
635 635 </ul>
636 636 <ul>
637 637 <li><a href="/help">help</a></li>
638 638 </ul>
639 639 </div>
640 640
641 641 <div class="main">
642 642
643 643 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
644 644 <h3>error</h3>
645 645
646 646
647 647 <form class="search" action="/log">
648 648
649 649 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
650 650 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
651 651 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
652 652 </form>
653 653
654 654 <div class="description">
655 655 <p>
656 656 An error occurred while processing your request:
657 657 </p>
658 658 <p>
659 659 a@6563da9dcf87: not found in manifest
660 660 </p>
661 661 </div>
662 662 </div>
663 663 </div>
664 664
665 665
666 666
667 667 </body>
668 668 </html>
669 669
670 670 [1]
671 671
672 672 $ hg log -r 'followlines(c, 1:2, startrev=tip) and follow(c)'
673 673 changeset: 0:6563da9dcf87
674 674 user: test
675 675 date: Thu Jan 01 00:00:00 1970 +0000
676 676 summary: b
677 677
678 678 changeset: 7:46c1a66bd8fc
679 679 branch: a-branch
680 680 tag: tip
681 681 user: test
682 682 date: Thu Jan 01 00:00:00 1970 +0000
683 683 summary: change c
684 684
685 685 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1:2')
686 686 200 Script output follows
687 687
688 688 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
689 689 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
690 690 <head>
691 691 <link rel="icon" href="/static/hgicon.png" type="image/png" />
692 692 <meta name="robots" content="index, nofollow" />
693 693 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
694 694 <script type="text/javascript" src="/static/mercurial.js"></script>
695 695
696 696 <title>test: c history</title>
697 697 <link rel="alternate" type="application/atom+xml"
698 698 href="/atom-log/tip/c" title="Atom feed for test:c" />
699 699 <link rel="alternate" type="application/rss+xml"
700 700 href="/rss-log/tip/c" title="RSS feed for test:c" />
701 701 </head>
702 702 <body>
703 703
704 704 <div class="container">
705 705 <div class="menu">
706 706 <div class="logo">
707 707 <a href="https://mercurial-scm.org/">
708 708 <img src="/static/hglogo.png" alt="mercurial" /></a>
709 709 </div>
710 710 <ul>
711 711 <li><a href="/shortlog/tip">log</a></li>
712 712 <li><a href="/graph/tip">graph</a></li>
713 713 <li><a href="/tags">tags</a></li>
714 714 <li><a href="/bookmarks">bookmarks</a></li>
715 715 <li><a href="/branches">branches</a></li>
716 716 </ul>
717 717 <ul>
718 718 <li><a href="/rev/tip">changeset</a></li>
719 719 <li><a href="/file/tip">browse</a></li>
720 720 </ul>
721 721 <ul>
722 722 <li><a href="/file/tip/c">file</a></li>
723 723 <li><a href="/diff/tip/c">diff</a></li>
724 724 <li><a href="/comparison/tip/c">comparison</a></li>
725 725 <li><a href="/annotate/tip/c">annotate</a></li>
726 726 <li class="active">file log</li>
727 727 <li><a href="/raw-file/tip/c">raw</a></li>
728 728 </ul>
729 729 <ul>
730 730 <li><a href="/help">help</a></li>
731 731 </ul>
732 732 <div class="atom-logo">
733 733 <a href="/atom-log/tip/c" title="subscribe to atom feed">
734 734 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
735 735 </a>
736 736 </div>
737 737 </div>
738 738
739 739 <div class="main">
740 740 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
741 741 <h3>
742 742 log c @ 7:<a href="/rev/46c1a66bd8fc">46c1a66bd8fc</a>
743 743 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
744 (following lines 1:2 <a href="/log/tip/c">back to filelog</a>)
744 (following lines 1:2 <a href="/log/tip/c">all revisions for this file</a>)
745 745 </h3>
746 746
747 747
748 748 <form class="search" action="/log">
749 749
750 750 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
751 751 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
752 752 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
753 753 </form>
754 754
755 755 <div class="navigate">
756 756 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
757 757 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
758 758 | </div>
759 759
760 760 <table class="bigtable">
761 761 <thead>
762 762 <tr>
763 763 <th class="age">age</th>
764 764 <th class="author">author</th>
765 765 <th class="description">description</th>
766 766 </tr>
767 767 </thead>
768 768 <tbody class="stripes2">
769 769 <tr>
770 770 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
771 771 <td class="author">test</td>
772 772 <td class="description">
773 773 <a href="/rev/46c1a66bd8fc">change c</a>
774 774 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
775 775 </td>
776 776 </tr>
777 777
778 778 <tr>
779 779 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
780 780 <td class="author">test</td>
781 781 <td class="description">
782 782 <a href="/rev/6563da9dcf87">b</a>
783 783 <span class="phase">draft</span>
784 784 </td>
785 785 </tr>
786 786
787 787
788 788 </tbody>
789 789 </table>
790 790
791 791 <div class="navigate">
792 792 <a href="/log/tip/c?linerange=1%3A2&revcount=30">less</a>
793 793 <a href="/log/tip/c?linerange=1%3A2&revcount=120">more</a>
794 794 |
795 795 </div>
796 796
797 797 </div>
798 798 </div>
799 799
800 800
801 801
802 802 </body>
803 803 </html>
804 804
805 805 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=1%3A2&revcount=1')
806 806 200 Script output follows
807 807
808 808 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
809 809 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
810 810 <head>
811 811 <link rel="icon" href="/static/hgicon.png" type="image/png" />
812 812 <meta name="robots" content="index, nofollow" />
813 813 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
814 814 <script type="text/javascript" src="/static/mercurial.js"></script>
815 815
816 816 <title>test: c history</title>
817 817 <link rel="alternate" type="application/atom+xml"
818 818 href="/atom-log/tip/c" title="Atom feed for test:c" />
819 819 <link rel="alternate" type="application/rss+xml"
820 820 href="/rss-log/tip/c" title="RSS feed for test:c" />
821 821 </head>
822 822 <body>
823 823
824 824 <div class="container">
825 825 <div class="menu">
826 826 <div class="logo">
827 827 <a href="https://mercurial-scm.org/">
828 828 <img src="/static/hglogo.png" alt="mercurial" /></a>
829 829 </div>
830 830 <ul>
831 831 <li><a href="/shortlog/tip?revcount=1">log</a></li>
832 832 <li><a href="/graph/tip?revcount=1">graph</a></li>
833 833 <li><a href="/tags?revcount=1">tags</a></li>
834 834 <li><a href="/bookmarks?revcount=1">bookmarks</a></li>
835 835 <li><a href="/branches?revcount=1">branches</a></li>
836 836 </ul>
837 837 <ul>
838 838 <li><a href="/rev/tip?revcount=1">changeset</a></li>
839 839 <li><a href="/file/tip?revcount=1">browse</a></li>
840 840 </ul>
841 841 <ul>
842 842 <li><a href="/file/tip/c?revcount=1">file</a></li>
843 843 <li><a href="/diff/tip/c?revcount=1">diff</a></li>
844 844 <li><a href="/comparison/tip/c?revcount=1">comparison</a></li>
845 845 <li><a href="/annotate/tip/c?revcount=1">annotate</a></li>
846 846 <li class="active">file log</li>
847 847 <li><a href="/raw-file/tip/c">raw</a></li>
848 848 </ul>
849 849 <ul>
850 850 <li><a href="/help?revcount=1">help</a></li>
851 851 </ul>
852 852 <div class="atom-logo">
853 853 <a href="/atom-log/tip/c" title="subscribe to atom feed">
854 854 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
855 855 </a>
856 856 </div>
857 857 </div>
858 858
859 859 <div class="main">
860 860 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
861 861 <h3>
862 862 log c @ 7:<a href="/rev/46c1a66bd8fc?revcount=1">46c1a66bd8fc</a>
863 863 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
864 (following lines 1:2 <a href="/log/tip/c?revcount=1">back to filelog</a>)
864 (following lines 1:2 <a href="/log/tip/c?revcount=1">all revisions for this file</a>)
865 865 </h3>
866 866
867 867
868 868 <form class="search" action="/log">
869 869 <input type="hidden" name="revcount" value="1" />
870 870 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
871 871 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
872 872 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
873 873 </form>
874 874
875 875 <div class="navigate">
876 876 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
877 877 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
878 878 | </div>
879 879
880 880 <table class="bigtable">
881 881 <thead>
882 882 <tr>
883 883 <th class="age">age</th>
884 884 <th class="author">author</th>
885 885 <th class="description">description</th>
886 886 </tr>
887 887 </thead>
888 888 <tbody class="stripes2">
889 889 <tr>
890 890 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
891 891 <td class="author">test</td>
892 892 <td class="description">
893 893 <a href="/rev/46c1a66bd8fc?revcount=1">change c</a>
894 894 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
895 895 </td>
896 896 </tr>
897 897
898 898
899 899 </tbody>
900 900 </table>
901 901
902 902 <div class="navigate">
903 903 <a href="/log/tip/c?linerange=1%3A2&revcount=1">less</a>
904 904 <a href="/log/tip/c?linerange=1%3A2&revcount=2">more</a>
905 905 |
906 906 </div>
907 907
908 908 </div>
909 909 </div>
910 910
911 911
912 912
913 913 </body>
914 914 </html>
915 915
916 916 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1' --headeronly)
917 917 400 invalid linerange parameter
918 918 [1]
919 919 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:a' --headeronly)
920 920 400 invalid linerange parameter
921 921 [1]
922 922 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=1:2&linerange=3:4' --headeronly)
923 923 400 redundant linerange parameter
924 924 [1]
925 925 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=3:2' --headeronly)
926 926 400 line range must be positive
927 927 [1]
928 928 $ (get-with-headers.py localhost:$HGPORT 'log/3/a?linerange=0:1' --headeronly)
929 929 400 fromline must be strictly positive
930 930 [1]
931 931
932 932 should show base link, use spartan because it shows it
933 933
934 934 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?style=spartan')
935 935 200 Script output follows
936 936
937 937 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
938 938 <html>
939 939 <head>
940 940 <link rel="icon" href="/static/hgicon.png" type="image/png">
941 941 <meta name="robots" content="index, nofollow" />
942 942 <link rel="stylesheet" href="/static/style.css" type="text/css" />
943 943 <script type="text/javascript" src="/static/mercurial.js"></script>
944 944
945 945 <title>test: c history</title>
946 946 <link rel="alternate" type="application/atom+xml"
947 947 href="/atom-log/tip/c" title="Atom feed for test:c">
948 948 <link rel="alternate" type="application/rss+xml"
949 949 href="/rss-log/tip/c" title="RSS feed for test:c">
950 950 </head>
951 951 <body>
952 952
953 953 <div class="buttons">
954 954 <a href="/log?style=spartan">changelog</a>
955 955 <a href="/shortlog?style=spartan">shortlog</a>
956 956 <a href="/graph?style=spartan">graph</a>
957 957 <a href="/tags?style=spartan">tags</a>
958 958 <a href="/branches?style=spartan">branches</a>
959 959 <a href="/file/tip/c?style=spartan">file</a>
960 960 <a href="/annotate/tip/c?style=spartan">annotate</a>
961 961 <a href="/help?style=spartan">help</a>
962 962 <a type="application/rss+xml" href="/rss-log/tip/c">rss</a>
963 963 <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>
964 964 </div>
965 965
966 966 <h2><a href="/">Mercurial</a> / c revision history</h2>
967 967
968 968 <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>
969 969
970 970 <table class="logEntry parity0">
971 971 <tr>
972 972 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
973 973 <th class="firstline"><a href="/rev/46c1a66bd8fc?style=spartan">change c</a></th>
974 974 </tr>
975 975 <tr>
976 976 <th class="revision">revision 1:</th>
977 977 <td class="node">
978 978 <a href="/file/46c1a66bd8fc/c?style=spartan">46c1a66bd8fc</a>
979 979 <a href="/diff/46c1a66bd8fc/c?style=spartan">(diff)</a>
980 980 <a href="/annotate/46c1a66bd8fc/c?style=spartan">(annotate)</a>
981 981 </td>
982 982 </tr>
983 983
984 984 <tr>
985 985 <th class="author">author:</th>
986 986 <td class="author">&#116;&#101;&#115;&#116;</td>
987 987 </tr>
988 988 <tr>
989 989 <th class="date">date:</th>
990 990 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
991 991 </tr>
992 992 </table>
993 993
994 994
995 995 <table class="logEntry parity1">
996 996 <tr>
997 997 <th class="label"><span class="age">Thu, 01 Jan 1970 00:00:00 +0000</span>:</th>
998 998 <th class="firstline"><a href="/rev/c9637d3cc8ef?style=spartan">mv b</a></th>
999 999 </tr>
1000 1000 <tr>
1001 1001 <th class="revision">revision 0:</th>
1002 1002 <td class="node">
1003 1003 <a href="/file/c9637d3cc8ef/c?style=spartan">c9637d3cc8ef</a>
1004 1004 <a href="/diff/c9637d3cc8ef/c?style=spartan">(diff)</a>
1005 1005 <a href="/annotate/c9637d3cc8ef/c?style=spartan">(annotate)</a>
1006 1006 </td>
1007 1007 </tr>
1008 1008
1009 1009 <tr>
1010 1010 <th>base:</th>
1011 1011 <td>
1012 1012 <a href="/file/1e88685f5dde/b?style=spartan">
1013 1013 b@1e88685f5dde
1014 1014 </a>
1015 1015 </td>
1016 1016 </tr>
1017 1017 <tr>
1018 1018 <th class="author">author:</th>
1019 1019 <td class="author">&#116;&#101;&#115;&#116;</td>
1020 1020 </tr>
1021 1021 <tr>
1022 1022 <th class="date">date:</th>
1023 1023 <td class="date">Thu, 01 Jan 1970 00:00:00 +0000</td>
1024 1024 </tr>
1025 1025 </table>
1026 1026
1027 1027
1028 1028
1029 1029
1030 1030
1031 1031 <div class="logo">
1032 1032 <a href="https://mercurial-scm.org/">
1033 1033 <img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
1034 1034 </div>
1035 1035
1036 1036 </body>
1037 1037 </html>
1038 1038
1039 1039
1040 1040 filelog with patch
1041 1041
1042 1042 $ (get-with-headers.py localhost:$HGPORT 'log/4/a?patch=1')
1043 1043 200 Script output follows
1044 1044
1045 1045 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1046 1046 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1047 1047 <head>
1048 1048 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1049 1049 <meta name="robots" content="index, nofollow" />
1050 1050 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1051 1051 <script type="text/javascript" src="/static/mercurial.js"></script>
1052 1052
1053 1053 <title>test: a history</title>
1054 1054 <link rel="alternate" type="application/atom+xml"
1055 1055 href="/atom-log/tip/a" title="Atom feed for test:a" />
1056 1056 <link rel="alternate" type="application/rss+xml"
1057 1057 href="/rss-log/tip/a" title="RSS feed for test:a" />
1058 1058 </head>
1059 1059 <body>
1060 1060
1061 1061 <div class="container">
1062 1062 <div class="menu">
1063 1063 <div class="logo">
1064 1064 <a href="https://mercurial-scm.org/">
1065 1065 <img src="/static/hglogo.png" alt="mercurial" /></a>
1066 1066 </div>
1067 1067 <ul>
1068 1068 <li><a href="/shortlog/4">log</a></li>
1069 1069 <li><a href="/graph/4">graph</a></li>
1070 1070 <li><a href="/tags">tags</a></li>
1071 1071 <li><a href="/bookmarks">bookmarks</a></li>
1072 1072 <li><a href="/branches">branches</a></li>
1073 1073 </ul>
1074 1074 <ul>
1075 1075 <li><a href="/rev/4">changeset</a></li>
1076 1076 <li><a href="/file/4">browse</a></li>
1077 1077 </ul>
1078 1078 <ul>
1079 1079 <li><a href="/file/4/a">file</a></li>
1080 1080 <li><a href="/diff/4/a">diff</a></li>
1081 1081 <li><a href="/comparison/4/a">comparison</a></li>
1082 1082 <li><a href="/annotate/4/a">annotate</a></li>
1083 1083 <li class="active">file log</li>
1084 1084 <li><a href="/raw-file/4/a">raw</a></li>
1085 1085 </ul>
1086 1086 <ul>
1087 1087 <li><a href="/help">help</a></li>
1088 1088 </ul>
1089 1089 <div class="atom-logo">
1090 1090 <a href="/atom-log/tip/a" title="subscribe to atom feed">
1091 1091 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1092 1092 </a>
1093 1093 </div>
1094 1094 </div>
1095 1095
1096 1096 <div class="main">
1097 1097 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1098 1098 <h3>
1099 1099 log a @ 4:<a href="/rev/3f41bc784e7e">3f41bc784e7e</a>
1100 1100 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1101 1101
1102 1102 </h3>
1103 1103
1104 1104
1105 1105 <form class="search" action="/log">
1106 1106
1107 1107 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1108 1108 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1109 1109 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1110 1110 </form>
1111 1111
1112 1112 <div class="navigate">
1113 1113 <a href="/log/4/a?patch=1&revcount=30">less</a>
1114 1114 <a href="/log/4/a?patch=1&revcount=120">more</a>
1115 1115 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a> </div>
1116 1116
1117 1117 <table class="bigtable">
1118 1118 <thead>
1119 1119 <tr>
1120 1120 <th class="age">age</th>
1121 1121 <th class="author">author</th>
1122 1122 <th class="description">description</th>
1123 1123 </tr>
1124 1124 </thead>
1125 1125 <tbody class="stripes2">
1126 1126 <tr>
1127 1127 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1128 1128 <td class="author">test</td>
1129 1129 <td class="description">
1130 1130 <a href="/rev/3f41bc784e7e">second a</a>
1131 1131 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1132 1132 </td>
1133 1133 </tr>
1134 1134 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1135 1135 <span id="3f41bc784e7e-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.1"></a>
1136 1136 <span id="3f41bc784e7e-l1.2" class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000</span><a href="#3f41bc784e7e-l1.2"></a>
1137 1137 <span id="3f41bc784e7e-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#3f41bc784e7e-l1.3"></a>
1138 1138 <span id="3f41bc784e7e-l1.4" class="plusline">+b</span><a href="#3f41bc784e7e-l1.4"></a></pre></div></td></tr>
1139 1139 <tr>
1140 1140 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1141 1141 <td class="author">test</td>
1142 1142 <td class="description">
1143 1143 <a href="/rev/5ed941583260">first a</a>
1144 1144 <span class="phase">draft</span> <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
1145 1145 </td>
1146 1146 </tr>
1147 1147 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1148 1148 <span id="5ed941583260-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.1"></a>
1149 1149 <span id="5ed941583260-l1.2" class="plusline">+++ b/a Thu Jan 01 00:00:00 1970 +0000</span><a href="#5ed941583260-l1.2"></a>
1150 1150 <span id="5ed941583260-l1.3" class="atline">@@ -0,0 +1,1 @@</span><a href="#5ed941583260-l1.3"></a>
1151 1151 <span id="5ed941583260-l1.4" class="plusline">+a</span><a href="#5ed941583260-l1.4"></a></pre></div></td></tr>
1152 1152
1153 1153 </tbody>
1154 1154 </table>
1155 1155
1156 1156 <div class="navigate">
1157 1157 <a href="/log/4/a?patch=1&revcount=30">less</a>
1158 1158 <a href="/log/4/a?patch=1&revcount=120">more</a>
1159 1159 | <a href="/log/5ed941583260/a">(0)</a> <a href="/log/tip/a">tip</a>
1160 1160 </div>
1161 1161
1162 1162 </div>
1163 1163 </div>
1164 1164
1165 1165
1166 1166
1167 1167 </body>
1168 1168 </html>
1169 1169
1170 1170 filelog with 'linerange' and 'patch'
1171 1171
1172 1172 $ cat c
1173 1173 b
1174 1174 c
1175 1175 $ cat <<EOF > c
1176 1176 > 0
1177 1177 > 0
1178 1178 > b
1179 1179 > c+
1180 1180 >
1181 1181 > a
1182 1182 > a
1183 1183 >
1184 1184 > d
1185 1185 > e
1186 1186 > f
1187 1187 > EOF
1188 1188 $ hg ci -m 'make c bigger and touch its beginning' c
1189 1189 $ cat <<EOF > c
1190 1190 > 0
1191 1191 > 0
1192 1192 > b
1193 1193 > c+
1194 1194 >
1195 1195 > a
1196 1196 > a
1197 1197 >
1198 1198 > d
1199 1199 > e+
1200 1200 > f
1201 1201 > EOF
1202 1202 $ hg ci -m 'just touch end of c' c
1203 1203 $ cat <<EOF > c
1204 1204 > 0
1205 1205 > 0
1206 1206 > b
1207 1207 > c++
1208 1208 >
1209 1209 > a
1210 1210 > a
1211 1211 >
1212 1212 > d
1213 1213 > e+
1214 1214 > f
1215 1215 > EOF
1216 1216 $ hg ci -m 'touch beginning of c' c
1217 1217 $ cat <<EOF > c
1218 1218 > 0
1219 1219 > 0
1220 1220 > b-
1221 1221 > c++
1222 1222 >
1223 1223 > a
1224 1224 > a
1225 1225 >
1226 1226 > d
1227 1227 > e+
1228 1228 > f+
1229 1229 > EOF
1230 1230 $ hg ci -m 'touching beginning and end of c' c
1231 1231 $ echo c > cc
1232 1232 $ hg ci -Am 'tip does not touch c' cc
1233 1233 $ hg log -r 'followlines(c, 3:4, startrev=tip) and follow(c)' -p
1234 1234 changeset: 0:6563da9dcf87
1235 1235 user: test
1236 1236 date: Thu Jan 01 00:00:00 1970 +0000
1237 1237 summary: b
1238 1238
1239 1239 diff -r 000000000000 -r 6563da9dcf87 b
1240 1240 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1241 1241 +++ b/b Thu Jan 01 00:00:00 1970 +0000
1242 1242 @@ -0,0 +1,1 @@
1243 1243 +b
1244 1244
1245 1245 changeset: 7:46c1a66bd8fc
1246 1246 branch: a-branch
1247 1247 user: test
1248 1248 date: Thu Jan 01 00:00:00 1970 +0000
1249 1249 summary: change c
1250 1250
1251 1251 diff -r c9637d3cc8ef -r 46c1a66bd8fc c
1252 1252 --- a/c Thu Jan 01 00:00:00 1970 +0000
1253 1253 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1254 1254 @@ -1,1 +1,2 @@
1255 1255 b
1256 1256 +c
1257 1257
1258 1258 changeset: 8:5c6574614c37
1259 1259 branch: a-branch
1260 1260 user: test
1261 1261 date: Thu Jan 01 00:00:00 1970 +0000
1262 1262 summary: make c bigger and touch its beginning
1263 1263
1264 1264 diff -r 46c1a66bd8fc -r 5c6574614c37 c
1265 1265 --- a/c Thu Jan 01 00:00:00 1970 +0000
1266 1266 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1267 1267 @@ -1,2 +1,11 @@
1268 1268 +0
1269 1269 +0
1270 1270 b
1271 1271 -c
1272 1272 +c+
1273 1273 +
1274 1274 +a
1275 1275 +a
1276 1276 +
1277 1277 +d
1278 1278 +e
1279 1279 +f
1280 1280
1281 1281 changeset: 10:e95928d60479
1282 1282 branch: a-branch
1283 1283 user: test
1284 1284 date: Thu Jan 01 00:00:00 1970 +0000
1285 1285 summary: touch beginning of c
1286 1286
1287 1287 diff -r e1d3e9c5a23f -r e95928d60479 c
1288 1288 --- a/c Thu Jan 01 00:00:00 1970 +0000
1289 1289 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1290 1290 @@ -1,7 +1,7 @@
1291 1291 0
1292 1292 0
1293 1293 b
1294 1294 -c+
1295 1295 +c++
1296 1296
1297 1297 a
1298 1298 a
1299 1299
1300 1300 changeset: 11:fb9bc322513a
1301 1301 branch: a-branch
1302 1302 user: test
1303 1303 date: Thu Jan 01 00:00:00 1970 +0000
1304 1304 summary: touching beginning and end of c
1305 1305
1306 1306 diff -r e95928d60479 -r fb9bc322513a c
1307 1307 --- a/c Thu Jan 01 00:00:00 1970 +0000
1308 1308 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1309 1309 @@ -1,6 +1,6 @@
1310 1310 0
1311 1311 0
1312 1312 -b
1313 1313 +b-
1314 1314 c++
1315 1315
1316 1316 a
1317 1317 @@ -8,4 +8,4 @@
1318 1318
1319 1319 d
1320 1320 e+
1321 1321 -f
1322 1322 +f+
1323 1323
1324 1324 $ (get-with-headers.py localhost:$HGPORT 'log/tip/c?linerange=3:4&patch=')
1325 1325 200 Script output follows
1326 1326
1327 1327 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1328 1328 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1329 1329 <head>
1330 1330 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1331 1331 <meta name="robots" content="index, nofollow" />
1332 1332 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1333 1333 <script type="text/javascript" src="/static/mercurial.js"></script>
1334 1334
1335 1335 <title>test: c history</title>
1336 1336 <link rel="alternate" type="application/atom+xml"
1337 1337 href="/atom-log/tip/c" title="Atom feed for test:c" />
1338 1338 <link rel="alternate" type="application/rss+xml"
1339 1339 href="/rss-log/tip/c" title="RSS feed for test:c" />
1340 1340 </head>
1341 1341 <body>
1342 1342
1343 1343 <div class="container">
1344 1344 <div class="menu">
1345 1345 <div class="logo">
1346 1346 <a href="https://mercurial-scm.org/">
1347 1347 <img src="/static/hglogo.png" alt="mercurial" /></a>
1348 1348 </div>
1349 1349 <ul>
1350 1350 <li><a href="/shortlog/tip">log</a></li>
1351 1351 <li><a href="/graph/tip">graph</a></li>
1352 1352 <li><a href="/tags">tags</a></li>
1353 1353 <li><a href="/bookmarks">bookmarks</a></li>
1354 1354 <li><a href="/branches">branches</a></li>
1355 1355 </ul>
1356 1356 <ul>
1357 1357 <li><a href="/rev/tip">changeset</a></li>
1358 1358 <li><a href="/file/tip">browse</a></li>
1359 1359 </ul>
1360 1360 <ul>
1361 1361 <li><a href="/file/tip/c">file</a></li>
1362 1362 <li><a href="/diff/tip/c">diff</a></li>
1363 1363 <li><a href="/comparison/tip/c">comparison</a></li>
1364 1364 <li><a href="/annotate/tip/c">annotate</a></li>
1365 1365 <li class="active">file log</li>
1366 1366 <li><a href="/raw-file/tip/c">raw</a></li>
1367 1367 </ul>
1368 1368 <ul>
1369 1369 <li><a href="/help">help</a></li>
1370 1370 </ul>
1371 1371 <div class="atom-logo">
1372 1372 <a href="/atom-log/tip/c" title="subscribe to atom feed">
1373 1373 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1374 1374 </a>
1375 1375 </div>
1376 1376 </div>
1377 1377
1378 1378 <div class="main">
1379 1379 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1380 1380 <h3>
1381 1381 log c @ 12:<a href="/rev/6e4182052f7b">6e4182052f7b</a>
1382 1382 <span class="phase">draft</span> <span class="branchhead">a-branch</span> <span class="tag">tip</span>
1383 (following lines 3:4 <a href="/log/tip/c">back to filelog</a>)
1383 (following lines 3:4 <a href="/log/tip/c">all revisions for this file</a>)
1384 1384 </h3>
1385 1385
1386 1386
1387 1387 <form class="search" action="/log">
1388 1388
1389 1389 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1390 1390 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1391 1391 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1392 1392 </form>
1393 1393
1394 1394 <div class="navigate">
1395 1395 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1396 1396 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1397 1397 | </div>
1398 1398
1399 1399 <table class="bigtable">
1400 1400 <thead>
1401 1401 <tr>
1402 1402 <th class="age">age</th>
1403 1403 <th class="author">author</th>
1404 1404 <th class="description">description</th>
1405 1405 </tr>
1406 1406 </thead>
1407 1407 <tbody class="stripes2">
1408 1408 <tr>
1409 1409 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1410 1410 <td class="author">test</td>
1411 1411 <td class="description">
1412 1412 <a href="/rev/fb9bc322513a">touching beginning and end of c</a>
1413 1413 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1414 1414 </td>
1415 1415 </tr>
1416 1416 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1417 1417 <span id="fb9bc322513a-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.1"></a>
1418 1418 <span id="fb9bc322513a-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#fb9bc322513a-l1.2"></a>
1419 1419 <span id="fb9bc322513a-l1.3" class="atline">@@ -1,6 +1,6 @@</span><a href="#fb9bc322513a-l1.3"></a>
1420 1420 <span id="fb9bc322513a-l1.4"> 0</span><a href="#fb9bc322513a-l1.4"></a>
1421 1421 <span id="fb9bc322513a-l1.5"> 0</span><a href="#fb9bc322513a-l1.5"></a>
1422 1422 <span id="fb9bc322513a-l1.6" class="minusline">-b</span><a href="#fb9bc322513a-l1.6"></a>
1423 1423 <span id="fb9bc322513a-l1.7" class="plusline">+b-</span><a href="#fb9bc322513a-l1.7"></a>
1424 1424 <span id="fb9bc322513a-l1.8"> c++</span><a href="#fb9bc322513a-l1.8"></a>
1425 1425 <span id="fb9bc322513a-l1.9"> </span><a href="#fb9bc322513a-l1.9"></a>
1426 1426 <span id="fb9bc322513a-l1.10"> a</span><a href="#fb9bc322513a-l1.10"></a></pre></div></td></tr>
1427 1427 <tr>
1428 1428 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1429 1429 <td class="author">test</td>
1430 1430 <td class="description">
1431 1431 <a href="/rev/e95928d60479">touch beginning of c</a>
1432 1432 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1433 1433 </td>
1434 1434 </tr>
1435 1435 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1436 1436 <span id="e95928d60479-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.1"></a>
1437 1437 <span id="e95928d60479-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#e95928d60479-l1.2"></a>
1438 1438 <span id="e95928d60479-l1.3" class="atline">@@ -1,7 +1,7 @@</span><a href="#e95928d60479-l1.3"></a>
1439 1439 <span id="e95928d60479-l1.4"> 0</span><a href="#e95928d60479-l1.4"></a>
1440 1440 <span id="e95928d60479-l1.5"> 0</span><a href="#e95928d60479-l1.5"></a>
1441 1441 <span id="e95928d60479-l1.6"> b</span><a href="#e95928d60479-l1.6"></a>
1442 1442 <span id="e95928d60479-l1.7" class="minusline">-c+</span><a href="#e95928d60479-l1.7"></a>
1443 1443 <span id="e95928d60479-l1.8" class="plusline">+c++</span><a href="#e95928d60479-l1.8"></a>
1444 1444 <span id="e95928d60479-l1.9"> </span><a href="#e95928d60479-l1.9"></a>
1445 1445 <span id="e95928d60479-l1.10"> a</span><a href="#e95928d60479-l1.10"></a>
1446 1446 <span id="e95928d60479-l1.11"> a</span><a href="#e95928d60479-l1.11"></a></pre></div></td></tr>
1447 1447 <tr>
1448 1448 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1449 1449 <td class="author">test</td>
1450 1450 <td class="description">
1451 1451 <a href="/rev/5c6574614c37">make c bigger and touch its beginning</a>
1452 1452 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1453 1453 </td>
1454 1454 </tr>
1455 1455 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1456 1456 <span id="5c6574614c37-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.1"></a>
1457 1457 <span id="5c6574614c37-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#5c6574614c37-l1.2"></a>
1458 1458 <span id="5c6574614c37-l1.3" class="atline">@@ -1,2 +1,11 @@</span><a href="#5c6574614c37-l1.3"></a>
1459 1459 <span id="5c6574614c37-l1.4" class="plusline">+0</span><a href="#5c6574614c37-l1.4"></a>
1460 1460 <span id="5c6574614c37-l1.5" class="plusline">+0</span><a href="#5c6574614c37-l1.5"></a>
1461 1461 <span id="5c6574614c37-l1.6"> b</span><a href="#5c6574614c37-l1.6"></a>
1462 1462 <span id="5c6574614c37-l1.7" class="minusline">-c</span><a href="#5c6574614c37-l1.7"></a>
1463 1463 <span id="5c6574614c37-l1.8" class="plusline">+c+</span><a href="#5c6574614c37-l1.8"></a>
1464 1464 <span id="5c6574614c37-l1.9" class="plusline">+</span><a href="#5c6574614c37-l1.9"></a>
1465 1465 <span id="5c6574614c37-l1.10" class="plusline">+a</span><a href="#5c6574614c37-l1.10"></a>
1466 1466 <span id="5c6574614c37-l1.11" class="plusline">+a</span><a href="#5c6574614c37-l1.11"></a>
1467 1467 <span id="5c6574614c37-l1.12" class="plusline">+</span><a href="#5c6574614c37-l1.12"></a>
1468 1468 <span id="5c6574614c37-l1.13" class="plusline">+d</span><a href="#5c6574614c37-l1.13"></a>
1469 1469 <span id="5c6574614c37-l1.14" class="plusline">+e</span><a href="#5c6574614c37-l1.14"></a>
1470 1470 <span id="5c6574614c37-l1.15" class="plusline">+f</span><a href="#5c6574614c37-l1.15"></a></pre></div></td></tr>
1471 1471 <tr>
1472 1472 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1473 1473 <td class="author">test</td>
1474 1474 <td class="description">
1475 1475 <a href="/rev/46c1a66bd8fc">change c</a>
1476 1476 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1477 1477 </td>
1478 1478 </tr>
1479 1479 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1480 1480 <span id="46c1a66bd8fc-l1.1" class="minusline">--- a/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.1"></a>
1481 1481 <span id="46c1a66bd8fc-l1.2" class="plusline">+++ b/c Thu Jan 01 00:00:00 1970 +0000</span><a href="#46c1a66bd8fc-l1.2"></a>
1482 1482 <span id="46c1a66bd8fc-l1.3" class="atline">@@ -1,1 +1,2 @@</span><a href="#46c1a66bd8fc-l1.3"></a>
1483 1483 <span id="46c1a66bd8fc-l1.4"> b</span><a href="#46c1a66bd8fc-l1.4"></a>
1484 1484 <span id="46c1a66bd8fc-l1.5" class="plusline">+c</span><a href="#46c1a66bd8fc-l1.5"></a></pre></div></td></tr>
1485 1485 <tr>
1486 1486 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1487 1487 <td class="author">test</td>
1488 1488 <td class="description">
1489 1489 <a href="/rev/6563da9dcf87">b</a>
1490 1490 <span class="phase">draft</span>
1491 1491 </td>
1492 1492 </tr>
1493 1493 <tr><td colspan="3"><div class="bottomline inc-lineno"><pre class="sourcelines wrap">
1494 1494 <span id="6563da9dcf87-l1.1" class="minusline">--- /dev/null Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.1"></a>
1495 1495 <span id="6563da9dcf87-l1.2" class="plusline">+++ b/b Thu Jan 01 00:00:00 1970 +0000</span><a href="#6563da9dcf87-l1.2"></a></pre></div></td></tr>
1496 1496
1497 1497 </tbody>
1498 1498 </table>
1499 1499
1500 1500 <div class="navigate">
1501 1501 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=30">less</a>
1502 1502 <a href="/log/tip/c?linerange=3%3A4&patch=&revcount=120">more</a>
1503 1503 |
1504 1504 </div>
1505 1505
1506 1506 </div>
1507 1507 </div>
1508 1508
1509 1509
1510 1510
1511 1511 </body>
1512 1512 </html>
1513 1513
1514 1514 $ hg log -r 'followlines(c, 3:4, startrev=8, descend=True) and follow(c)' -p
1515 1515 changeset: 8:5c6574614c37
1516 1516 branch: a-branch
1517 1517 user: test
1518 1518 date: Thu Jan 01 00:00:00 1970 +0000
1519 1519 summary: make c bigger and touch its beginning
1520 1520
1521 1521 diff -r 46c1a66bd8fc -r 5c6574614c37 c
1522 1522 --- a/c Thu Jan 01 00:00:00 1970 +0000
1523 1523 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1524 1524 @@ -1,2 +1,11 @@
1525 1525 +0
1526 1526 +0
1527 1527 b
1528 1528 -c
1529 1529 +c+
1530 1530 +
1531 1531 +a
1532 1532 +a
1533 1533 +
1534 1534 +d
1535 1535 +e
1536 1536 +f
1537 1537
1538 1538 changeset: 10:e95928d60479
1539 1539 branch: a-branch
1540 1540 user: test
1541 1541 date: Thu Jan 01 00:00:00 1970 +0000
1542 1542 summary: touch beginning of c
1543 1543
1544 1544 diff -r e1d3e9c5a23f -r e95928d60479 c
1545 1545 --- a/c Thu Jan 01 00:00:00 1970 +0000
1546 1546 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1547 1547 @@ -1,7 +1,7 @@
1548 1548 0
1549 1549 0
1550 1550 b
1551 1551 -c+
1552 1552 +c++
1553 1553
1554 1554 a
1555 1555 a
1556 1556
1557 1557 changeset: 11:fb9bc322513a
1558 1558 branch: a-branch
1559 1559 user: test
1560 1560 date: Thu Jan 01 00:00:00 1970 +0000
1561 1561 summary: touching beginning and end of c
1562 1562
1563 1563 diff -r e95928d60479 -r fb9bc322513a c
1564 1564 --- a/c Thu Jan 01 00:00:00 1970 +0000
1565 1565 +++ b/c Thu Jan 01 00:00:00 1970 +0000
1566 1566 @@ -1,6 +1,6 @@
1567 1567 0
1568 1568 0
1569 1569 -b
1570 1570 +b-
1571 1571 c++
1572 1572
1573 1573 a
1574 1574 @@ -8,4 +8,4 @@
1575 1575
1576 1576 d
1577 1577 e+
1578 1578 -f
1579 1579 +f+
1580 1580
1581 1581 $ (get-with-headers.py localhost:$HGPORT 'log/8/c?linerange=3:4&descend=')
1582 1582 200 Script output follows
1583 1583
1584 1584 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1585 1585 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
1586 1586 <head>
1587 1587 <link rel="icon" href="/static/hgicon.png" type="image/png" />
1588 1588 <meta name="robots" content="index, nofollow" />
1589 1589 <link rel="stylesheet" href="/static/style-paper.css" type="text/css" />
1590 1590 <script type="text/javascript" src="/static/mercurial.js"></script>
1591 1591
1592 1592 <title>test: c history</title>
1593 1593 <link rel="alternate" type="application/atom+xml"
1594 1594 href="/atom-log/tip/c" title="Atom feed for test:c" />
1595 1595 <link rel="alternate" type="application/rss+xml"
1596 1596 href="/rss-log/tip/c" title="RSS feed for test:c" />
1597 1597 </head>
1598 1598 <body>
1599 1599
1600 1600 <div class="container">
1601 1601 <div class="menu">
1602 1602 <div class="logo">
1603 1603 <a href="https://mercurial-scm.org/">
1604 1604 <img src="/static/hglogo.png" alt="mercurial" /></a>
1605 1605 </div>
1606 1606 <ul>
1607 1607 <li><a href="/shortlog/8">log</a></li>
1608 1608 <li><a href="/graph/8">graph</a></li>
1609 1609 <li><a href="/tags">tags</a></li>
1610 1610 <li><a href="/bookmarks">bookmarks</a></li>
1611 1611 <li><a href="/branches">branches</a></li>
1612 1612 </ul>
1613 1613 <ul>
1614 1614 <li><a href="/rev/8">changeset</a></li>
1615 1615 <li><a href="/file/8">browse</a></li>
1616 1616 </ul>
1617 1617 <ul>
1618 1618 <li><a href="/file/8/c">file</a></li>
1619 1619 <li><a href="/diff/8/c">diff</a></li>
1620 1620 <li><a href="/comparison/8/c">comparison</a></li>
1621 1621 <li><a href="/annotate/8/c">annotate</a></li>
1622 1622 <li class="active">file log</li>
1623 1623 <li><a href="/raw-file/8/c">raw</a></li>
1624 1624 </ul>
1625 1625 <ul>
1626 1626 <li><a href="/help">help</a></li>
1627 1627 </ul>
1628 1628 <div class="atom-logo">
1629 1629 <a href="/atom-log/tip/c" title="subscribe to atom feed">
1630 1630 <img class="atom-logo" src="/static/feed-icon-14x14.png" alt="atom feed" />
1631 1631 </a>
1632 1632 </div>
1633 1633 </div>
1634 1634
1635 1635 <div class="main">
1636 1636 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
1637 1637 <h3>
1638 1638 log c @ 8:<a href="/rev/5c6574614c37">5c6574614c37</a>
1639 1639 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1640 (following lines 3:4, descending <a href="/log/8/c">back to filelog</a>)
1640 (following lines 3:4, descending <a href="/log/8/c">all revisions for this file</a>)
1641 1641 </h3>
1642 1642
1643 1643
1644 1644 <form class="search" action="/log">
1645 1645
1646 1646 <p><input name="rev" id="search1" type="text" size="30" value="" /></p>
1647 1647 <div id="hint">Find changesets by keywords (author, files, the commit message), revision
1648 1648 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
1649 1649 </form>
1650 1650
1651 1651 <div class="navigate">
1652 1652 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1653 1653 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1654 1654 | </div>
1655 1655
1656 1656 <table class="bigtable">
1657 1657 <thead>
1658 1658 <tr>
1659 1659 <th class="age">age</th>
1660 1660 <th class="author">author</th>
1661 1661 <th class="description">description</th>
1662 1662 </tr>
1663 1663 </thead>
1664 1664 <tbody class="stripes2">
1665 1665 <tr>
1666 1666 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1667 1667 <td class="author">test</td>
1668 1668 <td class="description">
1669 1669 <a href="/rev/5c6574614c37">make c bigger and touch its beginning</a>
1670 1670 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1671 1671 </td>
1672 1672 </tr>
1673 1673
1674 1674 <tr>
1675 1675 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1676 1676 <td class="author">test</td>
1677 1677 <td class="description">
1678 1678 <a href="/rev/e95928d60479">touch beginning of c</a>
1679 1679 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1680 1680 </td>
1681 1681 </tr>
1682 1682
1683 1683 <tr>
1684 1684 <td class="age">Thu, 01 Jan 1970 00:00:00 +0000</td>
1685 1685 <td class="author">test</td>
1686 1686 <td class="description">
1687 1687 <a href="/rev/fb9bc322513a">touching beginning and end of c</a>
1688 1688 <span class="phase">draft</span> <span class="branchname">a-branch</span>
1689 1689 </td>
1690 1690 </tr>
1691 1691
1692 1692
1693 1693 </tbody>
1694 1694 </table>
1695 1695
1696 1696 <div class="navigate">
1697 1697 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=30">less</a>
1698 1698 <a href="/log/8/c?descend=&linerange=3%3A4&revcount=120">more</a>
1699 1699 |
1700 1700 </div>
1701 1701
1702 1702 </div>
1703 1703 </div>
1704 1704
1705 1705
1706 1706
1707 1707 </body>
1708 1708 </html>
1709 1709
1710 1710
1711 1711 rss log
1712 1712
1713 1713 $ (get-with-headers.py localhost:$HGPORT 'rss-log/tip/a')
1714 1714 200 Script output follows
1715 1715
1716 1716 <?xml version="1.0" encoding="ascii"?>
1717 1717 <rss version="2.0">
1718 1718 <channel>
1719 1719 <link>http://*:$HGPORT/</link> (glob)
1720 1720 <language>en-us</language>
1721 1721
1722 1722 <title>test: a history</title>
1723 1723 <description>a revision history</description>
1724 1724 <item>
1725 1725 <title>second a</title>
1726 1726 <link>http://*:$HGPORT/log/3f41bc784e7e/a</link> (glob)
1727 1727 <description><![CDATA[second a]]></description>
1728 1728 <author>&#116;&#101;&#115;&#116;</author>
1729 1729 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
1730 1730 </item>
1731 1731 <item>
1732 1732 <title>first a</title>
1733 1733 <link>http://*:$HGPORT/log/5ed941583260/a</link> (glob)
1734 1734 <description><![CDATA[first a]]></description>
1735 1735 <author>&#116;&#101;&#115;&#116;</author>
1736 1736 <pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
1737 1737 </item>
1738 1738
1739 1739 </channel>
1740 1740 </rss>
1741 1741
1742 1742 atom log
1743 1743
1744 1744 $ (get-with-headers.py localhost:$HGPORT 'atom-log/tip/a')
1745 1745 200 Script output follows
1746 1746
1747 1747 <?xml version="1.0" encoding="ascii"?>
1748 1748 <feed xmlns="http://www.w3.org/2005/Atom">
1749 1749 <id>http://*:$HGPORT/atom-log/tip/a</id> (glob)
1750 1750 <link rel="self" href="http://*:$HGPORT/atom-log/tip/a"/> (glob)
1751 1751 <title>test: a history</title>
1752 1752 <updated>1970-01-01T00:00:00+00:00</updated>
1753 1753
1754 1754 <entry>
1755 1755 <title>[a-branch] second a</title>
1756 1756 <id>http://*:$HGPORT/#changeset-3f41bc784e7e73035c6d47112c6cc7efb673adf8</id> (glob)
1757 1757 <link href="http://*:$HGPORT/rev/3f41bc784e7e"/> (glob)
1758 1758 <author>
1759 1759 <name>test</name>
1760 1760 <email>&#116;&#101;&#115;&#116;</email>
1761 1761 </author>
1762 1762 <updated>1970-01-01T00:00:00+00:00</updated>
1763 1763 <published>1970-01-01T00:00:00+00:00</published>
1764 1764 <content type="xhtml">
1765 1765 <table xmlns="http://www.w3.org/1999/xhtml">
1766 1766 <tr>
1767 1767 <th style="text-align:left;">changeset</th>
1768 1768 <td>3f41bc784e7e</td>
1769 1769 </tr>
1770 1770 <tr>
1771 1771 <th style="text-align:left;">branch</th>
1772 1772 <td>a-branch</td>
1773 1773 </tr>
1774 1774 <tr>
1775 1775 <th style="text-align:left;">bookmark</th>
1776 1776 <td></td>
1777 1777 </tr>
1778 1778 <tr>
1779 1779 <th style="text-align:left;">tag</th>
1780 1780 <td></td>
1781 1781 </tr>
1782 1782 <tr>
1783 1783 <th style="text-align:left;">user</th>
1784 1784 <td>&#116;&#101;&#115;&#116;</td>
1785 1785 </tr>
1786 1786 <tr>
1787 1787 <th style="text-align:left;vertical-align:top;">description</th>
1788 1788 <td>second a</td>
1789 1789 </tr>
1790 1790 <tr>
1791 1791 <th style="text-align:left;vertical-align:top;">files</th>
1792 1792 <td></td>
1793 1793 </tr>
1794 1794 </table>
1795 1795 </content>
1796 1796 </entry>
1797 1797 <entry>
1798 1798 <title>first a</title>
1799 1799 <id>http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36</id> (glob)
1800 1800 <link href="http://*:$HGPORT/rev/5ed941583260"/> (glob)
1801 1801 <author>
1802 1802 <name>test</name>
1803 1803 <email>&#116;&#101;&#115;&#116;</email>
1804 1804 </author>
1805 1805 <updated>1970-01-01T00:00:00+00:00</updated>
1806 1806 <published>1970-01-01T00:00:00+00:00</published>
1807 1807 <content type="xhtml">
1808 1808 <table xmlns="http://www.w3.org/1999/xhtml">
1809 1809 <tr>
1810 1810 <th style="text-align:left;">changeset</th>
1811 1811 <td>5ed941583260</td>
1812 1812 </tr>
1813 1813 <tr>
1814 1814 <th style="text-align:left;">branch</th>
1815 1815 <td></td>
1816 1816 </tr>
1817 1817 <tr>
1818 1818 <th style="text-align:left;">bookmark</th>
1819 1819 <td>a-bookmark</td>
1820 1820 </tr>
1821 1821 <tr>
1822 1822 <th style="text-align:left;">tag</th>
1823 1823 <td>a-tag</td>
1824 1824 </tr>
1825 1825 <tr>
1826 1826 <th style="text-align:left;">user</th>
1827 1827 <td>&#116;&#101;&#115;&#116;</td>
1828 1828 </tr>
1829 1829 <tr>
1830 1830 <th style="text-align:left;vertical-align:top;">description</th>
1831 1831 <td>first a</td>
1832 1832 </tr>
1833 1833 <tr>
1834 1834 <th style="text-align:left;vertical-align:top;">files</th>
1835 1835 <td></td>
1836 1836 </tr>
1837 1837 </table>
1838 1838 </content>
1839 1839 </entry>
1840 1840
1841 1841 </feed>
1842 1842
1843 1843 errors
1844 1844
1845 1845 $ cat errors.log
1846 1846
1847 1847 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now