Show More
@@ -158,36 +158,42 b' tags = ../paper/tags.tmpl' | |||||
158 | tagentry = ' |
|
158 | tagentry = ' | |
159 | <tr class="tagEntry"> |
|
159 | <tr class="tagEntry"> | |
160 | <td> |
|
160 | <td> | |
161 |
<a href="{url|urlescape}rev/{ |
|
161 | <a href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}"> | |
162 | {tag|escape} |
|
162 | {tag|escape} | |
163 | </a> |
|
163 | </a> | |
164 | </td> |
|
164 | </td> | |
165 | <td class="node"> |
|
165 | <td class="node"> | |
166 | {node|short} |
|
166 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
167 | {node|short} | |||
|
168 | </a> | |||
167 | </td> |
|
169 | </td> | |
168 | </tr>' |
|
170 | </tr>' | |
169 | bookmarks = ../paper/bookmarks.tmpl |
|
171 | bookmarks = ../paper/bookmarks.tmpl | |
170 | bookmarkentry = ' |
|
172 | bookmarkentry = ' | |
171 | <tr class="tagEntry"> |
|
173 | <tr class="tagEntry"> | |
172 | <td> |
|
174 | <td> | |
173 |
<a href="{url|urlescape}rev/{ |
|
175 | <a href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}"> | |
174 | {bookmark|escape} |
|
176 | {bookmark|escape} | |
175 | </a> |
|
177 | </a> | |
176 | </td> |
|
178 | </td> | |
177 | <td class="node"> |
|
179 | <td class="node"> | |
178 | {node|short} |
|
180 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
181 | {node|short} | |||
|
182 | </a> | |||
179 | </td> |
|
183 | </td> | |
180 | </tr>' |
|
184 | </tr>' | |
181 | branches = ../paper/branches.tmpl |
|
185 | branches = ../paper/branches.tmpl | |
182 | branchentry = ' |
|
186 | branchentry = ' | |
183 | <tr class="tagEntry"> |
|
187 | <tr class="tagEntry"> | |
184 | <td> |
|
188 | <td> | |
185 |
<a href="{url|urlescape}shortlog/{ |
|
189 | <a href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}" class="{status}"> | |
186 | {branch|escape} |
|
190 | {branch|escape} | |
187 | </a> |
|
191 | </a> | |
188 | </td> |
|
192 | </td> | |
189 | <td class="node"> |
|
193 | <td class="node"> | |
190 | {node|short} |
|
194 | <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> | |
|
195 | {node|short} | |||
|
196 | </a> | |||
191 | </td> |
|
197 | </td> | |
192 | </tr>' |
|
198 | </tr>' | |
193 | changelogtag = '<span class="tag">{name|escape}</span> ' |
|
199 | changelogtag = '<span class="tag">{name|escape}</span> ' |
@@ -161,36 +161,42 b' tags = tags.tmpl' | |||||
161 | tagentry = ' |
|
161 | tagentry = ' | |
162 | <tr class="tagEntry"> |
|
162 | <tr class="tagEntry"> | |
163 | <td> |
|
163 | <td> | |
164 |
<a href="{url|urlescape}rev/{ |
|
164 | <a href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}"> | |
165 | {tag|escape} |
|
165 | {tag|escape} | |
166 | </a> |
|
166 | </a> | |
167 | </td> |
|
167 | </td> | |
168 | <td class="node"> |
|
168 | <td class="node"> | |
169 | {node|short} |
|
169 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
170 | {node|short} | |||
|
171 | </a> | |||
170 | </td> |
|
172 | </td> | |
171 | </tr>' |
|
173 | </tr>' | |
172 | bookmarks = bookmarks.tmpl |
|
174 | bookmarks = bookmarks.tmpl | |
173 | bookmarkentry = ' |
|
175 | bookmarkentry = ' | |
174 | <tr class="tagEntry"> |
|
176 | <tr class="tagEntry"> | |
175 | <td> |
|
177 | <td> | |
176 |
<a href="{url|urlescape}rev/{ |
|
178 | <a href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}"> | |
177 | {bookmark|escape} |
|
179 | {bookmark|escape} | |
178 | </a> |
|
180 | </a> | |
179 | </td> |
|
181 | </td> | |
180 | <td class="node"> |
|
182 | <td class="node"> | |
181 | {node|short} |
|
183 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
184 | {node|short} | |||
|
185 | </a> | |||
182 | </td> |
|
186 | </td> | |
183 | </tr>' |
|
187 | </tr>' | |
184 | branches = branches.tmpl |
|
188 | branches = branches.tmpl | |
185 | branchentry = ' |
|
189 | branchentry = ' | |
186 | <tr class="tagEntry"> |
|
190 | <tr class="tagEntry"> | |
187 | <td> |
|
191 | <td> | |
188 |
<a href="{url|urlescape}shortlog/{ |
|
192 | <a href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}" class="{status}"> | |
189 | {branch|escape} |
|
193 | {branch|escape} | |
190 | </a> |
|
194 | </a> | |
191 | </td> |
|
195 | </td> | |
192 | <td class="node"> |
|
196 | <td class="node"> | |
193 | {node|short} |
|
197 | <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> | |
|
198 | {node|short} | |||
|
199 | </a> | |||
194 | </td> |
|
200 | </td> | |
195 | </tr>' |
|
201 | </tr>' | |
196 | changelogtag = '<span class="tag">{name|escape}</span> ' |
|
202 | changelogtag = '<span class="tag">{name|escape}</span> ' |
@@ -33,7 +33,7 b' Set up the repo' | |||||
33 | $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
33 | $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log | |
34 | $ cat hg.pid >> $DAEMON_PIDS |
|
34 | $ cat hg.pid >> $DAEMON_PIDS | |
35 |
|
35 | |||
36 | $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip)' |
|
36 | $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip|default)' | |
37 |
|
37 | |||
38 | (De)referencing symbolic revisions (paper) |
|
38 | (De)referencing symbolic revisions (paper) | |
39 |
|
39 | |||
@@ -74,6 +74,18 b' Set up the repo' | |||||
74 | <a href="/file/tip/dir/?style=paper"> |
|
74 | <a href="/file/tip/dir/?style=paper"> | |
75 | <a href="/file/tip/foo?style=paper"> |
|
75 | <a href="/file/tip/foo?style=paper"> | |
76 |
|
76 | |||
|
77 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=paper' | egrep $REVLINKS | |||
|
78 | <a href="/shortlog/default?style=paper" class="open"> | |||
|
79 | <a href="/shortlog/9d8c40cba617?style=paper" class="open"> | |||
|
80 | ||||
|
81 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=paper' | egrep $REVLINKS | |||
|
82 | <a href="/rev/tip?style=paper"> | |||
|
83 | <a href="/rev/9d8c40cba617?style=paper"> | |||
|
84 | ||||
|
85 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=paper' | egrep $REVLINKS | |||
|
86 | <a href="/rev/xyzzy?style=paper"> | |||
|
87 | <a href="/rev/a7c1559b7bba?style=paper"> | |||
|
88 | ||||
77 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=paper&rev=all()' | egrep $REVLINKS |
|
89 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=paper&rev=all()' | egrep $REVLINKS | |
78 | <a href="/rev/9d8c40cba617?style=paper">third</a> |
|
90 | <a href="/rev/9d8c40cba617?style=paper">third</a> | |
79 | <a href="/rev/a7c1559b7bba?style=paper">second</a> |
|
91 | <a href="/rev/a7c1559b7bba?style=paper">second</a> | |
@@ -249,6 +261,18 b' Set up the repo' | |||||
249 | <a href="/file/tip/dir/?style=coal"> |
|
261 | <a href="/file/tip/dir/?style=coal"> | |
250 | <a href="/file/tip/foo?style=coal"> |
|
262 | <a href="/file/tip/foo?style=coal"> | |
251 |
|
263 | |||
|
264 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=coal' | egrep $REVLINKS | |||
|
265 | <a href="/shortlog/default?style=coal" class="open"> | |||
|
266 | <a href="/shortlog/9d8c40cba617?style=coal" class="open"> | |||
|
267 | ||||
|
268 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=coal' | egrep $REVLINKS | |||
|
269 | <a href="/rev/tip?style=coal"> | |||
|
270 | <a href="/rev/9d8c40cba617?style=coal"> | |||
|
271 | ||||
|
272 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=coal' | egrep $REVLINKS | |||
|
273 | <a href="/rev/xyzzy?style=coal"> | |||
|
274 | <a href="/rev/a7c1559b7bba?style=coal"> | |||
|
275 | ||||
252 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=coal&rev=all()' | egrep $REVLINKS |
|
276 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=coal&rev=all()' | egrep $REVLINKS | |
253 | <a href="/rev/9d8c40cba617?style=coal">third</a> |
|
277 | <a href="/rev/9d8c40cba617?style=coal">third</a> | |
254 | <a href="/rev/a7c1559b7bba?style=coal">second</a> |
|
278 | <a href="/rev/a7c1559b7bba?style=coal">second</a> |
General Comments 0
You need to be logged in to leave comments.
Login now