Show More
@@ -353,7 +353,10 b' def formatlinerange(fromline, toline):' | |||
|
353 | 353 | return '%d:%d' % (fromline + 1, toline) |
|
354 | 354 | |
|
355 | 355 | def succsandmarkers(repo, ctx): |
|
356 |
|
|
|
356 | for item in templatekw.showsuccsandmarkers(repo, ctx): | |
|
357 | item['successors'] = _siblings(repo[successor] | |
|
358 | for successor in item['successors']) | |
|
359 | yield item | |
|
357 | 360 | |
|
358 | 361 | def commonentry(repo, ctx): |
|
359 | 362 | node = ctx.node() |
@@ -271,7 +271,8 b' branchtag = \'<span class="branchtag" tit' | |||
|
271 | 271 | inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' |
|
272 | 272 | bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' |
|
273 | 273 | alltags = '<span class="logtags">{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>' |
|
274 | obsfatesuccessors = '{if(successors, ' as ')}{join(successors, ', ')}' | |
|
274 | successorlink = '<a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' | |
|
275 | obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' | |
|
275 | 276 | obsfateverb = '{obsfateverb(successors, markers)}' |
|
276 | 277 | obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' |
|
277 | 278 | obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' |
@@ -229,7 +229,8 b' branchtag = \'<span class="branchtag" tit' | |||
|
229 | 229 | inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' |
|
230 | 230 | bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' |
|
231 | 231 | alltags = '<span class="logtags">{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>' |
|
232 | obsfatesuccessors = '{if(successors, ' as ')}{join(successors, ', ')}' | |
|
232 | successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' | |
|
233 | obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' | |
|
233 | 234 | obsfateverb = '{obsfateverb(successors, markers)}' |
|
234 | 235 | obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' |
|
235 | 236 | obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' |
@@ -209,7 +209,8 b' changelogbranchhead = \'<span class="bran' | |||
|
209 | 209 | changelogbranchname = '<span class="branchname">{name|escape}</span> ' |
|
210 | 210 | alltags = '{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}' |
|
211 | 211 | |
|
212 | obsfatesuccessors = '{if(successors, ' as ')}{join(successors, ', ')}' | |
|
212 | successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' | |
|
213 | obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' | |
|
213 | 214 | obsfateverb = '{obsfateverb(successors, markers)}' |
|
214 | 215 | obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' |
|
215 | 216 | obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' |
@@ -166,7 +166,8 b" branchentry = '" | |||
|
166 | 166 | diffblock = '<pre class="parity{parity}">{lines}</pre>' |
|
167 | 167 | changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>' |
|
168 | 168 | changesettag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>' |
|
169 | obsfatesuccessors = '{if(successors, ' as ')}{join(successors, ', ')}' | |
|
169 | successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> ' | |
|
170 | obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}' | |
|
170 | 171 | obsfateverb = '{obsfateverb(successors, markers)}' |
|
171 | 172 | obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}' |
|
172 | 173 | obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}' |
@@ -1036,15 +1036,15 b' check obsolete changeset' | |||
|
1036 | 1036 | |
|
1037 | 1037 | check an obsolete changeset that has been rewritten |
|
1038 | 1038 | $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=paper' | grep rewritten |
|
1039 |
<td>rewritten as |
|
|
1039 | <td>rewritten as <a href="/rev/3de5eca88c00?style=paper">3de5eca88c00</a> </td> | |
|
1040 | 1040 | $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=coal' | grep rewritten |
|
1041 |
<td>rewritten as |
|
|
1041 | <td>rewritten as <a href="/rev/3de5eca88c00?style=coal">3de5eca88c00</a> </td> | |
|
1042 | 1042 | $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=gitweb' | grep rewritten |
|
1043 |
<tr><td>obsolete</td><td>rewritten as |
|
|
1043 | <tr><td>obsolete</td><td>rewritten as <a class="list" href="/rev/3de5eca88c00?style=gitweb">3de5eca88c00</a> </td></tr> | |
|
1044 | 1044 | $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=monoblue' | grep rewritten |
|
1045 |
<dt>obsolete</dt><dd>rewritten as |
|
|
1045 | <dt>obsolete</dt><dd>rewritten as <a href="/rev/3de5eca88c00?style=monoblue">3de5eca88c00</a> </dd> | |
|
1046 | 1046 | $ get-with-headers.py localhost:$HGPORT 'rev/cda648ca50f5?style=spartan' | grep rewritten |
|
1047 |
<td class="obsolete">rewritten as |
|
|
1047 | <td class="obsolete">rewritten as <a href="/rev/3de5eca88c00?style=spartan">3de5eca88c00</a> </td> | |
|
1048 | 1048 | |
|
1049 | 1049 | check changeset with instabilities |
|
1050 | 1050 |
General Comments 0
You need to be logged in to leave comments.
Login now