Show More
@@ -158,36 +158,42 b' tags = ../paper/tags.tmpl' | |||
|
158 | 158 | tagentry = ' |
|
159 | 159 | <tr class="tagEntry"> |
|
160 | 160 | <td> |
|
161 |
<a href="{url|urlescape}rev/{ |
|
|
161 | <a href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}"> | |
|
162 | 162 | {tag|escape} |
|
163 | 163 | </a> |
|
164 | 164 | </td> |
|
165 | 165 | <td class="node"> |
|
166 | {node|short} | |
|
166 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
167 | {node|short} | |
|
168 | </a> | |
|
167 | 169 | </td> |
|
168 | 170 | </tr>' |
|
169 | 171 | bookmarks = ../paper/bookmarks.tmpl |
|
170 | 172 | bookmarkentry = ' |
|
171 | 173 | <tr class="tagEntry"> |
|
172 | 174 | <td> |
|
173 |
<a href="{url|urlescape}rev/{ |
|
|
175 | <a href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}"> | |
|
174 | 176 | {bookmark|escape} |
|
175 | 177 | </a> |
|
176 | 178 | </td> |
|
177 | 179 | <td class="node"> |
|
178 | {node|short} | |
|
180 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
181 | {node|short} | |
|
182 | </a> | |
|
179 | 183 | </td> |
|
180 | 184 | </tr>' |
|
181 | 185 | branches = ../paper/branches.tmpl |
|
182 | 186 | branchentry = ' |
|
183 | 187 | <tr class="tagEntry"> |
|
184 | 188 | <td> |
|
185 |
<a href="{url|urlescape}shortlog/{ |
|
|
189 | <a href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}" class="{status}"> | |
|
186 | 190 | {branch|escape} |
|
187 | 191 | </a> |
|
188 | 192 | </td> |
|
189 | 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 | 197 | </td> |
|
192 | 198 | </tr>' |
|
193 | 199 | changelogtag = '<span class="tag">{name|escape}</span> ' |
@@ -161,36 +161,42 b' tags = tags.tmpl' | |||
|
161 | 161 | tagentry = ' |
|
162 | 162 | <tr class="tagEntry"> |
|
163 | 163 | <td> |
|
164 |
<a href="{url|urlescape}rev/{ |
|
|
164 | <a href="{url|urlescape}rev/{tag|revescape}{sessionvars%urlparameter}"> | |
|
165 | 165 | {tag|escape} |
|
166 | 166 | </a> |
|
167 | 167 | </td> |
|
168 | 168 | <td class="node"> |
|
169 | {node|short} | |
|
169 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
170 | {node|short} | |
|
171 | </a> | |
|
170 | 172 | </td> |
|
171 | 173 | </tr>' |
|
172 | 174 | bookmarks = bookmarks.tmpl |
|
173 | 175 | bookmarkentry = ' |
|
174 | 176 | <tr class="tagEntry"> |
|
175 | 177 | <td> |
|
176 |
<a href="{url|urlescape}rev/{ |
|
|
178 | <a href="{url|urlescape}rev/{bookmark|revescape}{sessionvars%urlparameter}"> | |
|
177 | 179 | {bookmark|escape} |
|
178 | 180 | </a> |
|
179 | 181 | </td> |
|
180 | 182 | <td class="node"> |
|
181 | {node|short} | |
|
183 | <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> | |
|
184 | {node|short} | |
|
185 | </a> | |
|
182 | 186 | </td> |
|
183 | 187 | </tr>' |
|
184 | 188 | branches = branches.tmpl |
|
185 | 189 | branchentry = ' |
|
186 | 190 | <tr class="tagEntry"> |
|
187 | 191 | <td> |
|
188 |
<a href="{url|urlescape}shortlog/{ |
|
|
192 | <a href="{url|urlescape}shortlog/{branch|revescape}{sessionvars%urlparameter}" class="{status}"> | |
|
189 | 193 | {branch|escape} |
|
190 | 194 | </a> |
|
191 | 195 | </td> |
|
192 | 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 | 200 | </td> |
|
195 | 201 | </tr>' |
|
196 | 202 | changelogtag = '<span class="tag">{name|escape}</span> ' |
@@ -33,7 +33,7 b' Set up the repo' | |||
|
33 | 33 | $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
34 | 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 | 38 | (De)referencing symbolic revisions (paper) |
|
39 | 39 | |
@@ -74,6 +74,18 b' Set up the repo' | |||
|
74 | 74 | <a href="/file/tip/dir/?style=paper"> |
|
75 | 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 | 89 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=paper&rev=all()' | egrep $REVLINKS |
|
78 | 90 | <a href="/rev/9d8c40cba617?style=paper">third</a> |
|
79 | 91 | <a href="/rev/a7c1559b7bba?style=paper">second</a> |
@@ -249,6 +261,18 b' Set up the repo' | |||
|
249 | 261 | <a href="/file/tip/dir/?style=coal"> |
|
250 | 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 | 276 | $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=coal&rev=all()' | egrep $REVLINKS |
|
253 | 277 | <a href="/rev/9d8c40cba617?style=coal">third</a> |
|
254 | 278 | <a href="/rev/a7c1559b7bba?style=coal">second</a> |
General Comments 0
You need to be logged in to leave comments.
Login now