Mercurial > hg
diff tests/test-hgweb-commands.t @ 29439:c42a3fd5c1fc
hgweb: reindent atom/changelogentry.tmpl
It was mixing tabs and spaces, and not in a good way.
Indent style of other atom entries seems to be 1 space per level, so let's
apply it here as well.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 29 Jun 2016 22:48:32 +0800 |
parents | 849b8e84487e |
children | 6a98f9408a50 |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Wed Jun 29 21:07:59 2016 +0800 +++ b/tests/test-hgweb-commands.t Wed Jun 29 22:48:32 2016 +0800 @@ -81,36 +81,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>cad8025a2e87</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td>unstable</td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td>something</td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td>tip</td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>branch commit with null character: (websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>cad8025a2e87</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td>unstable</td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td>something</td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td>tip</td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>branch commit with null character: (websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td></td> + </tr> + </table> </content> </entry> <entry> @@ -124,36 +124,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>1d22e65f027e</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td>stable</td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>branch(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td>foo<br /></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>1d22e65f027e</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td>stable</td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>branch(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td>foo<br /></td> + </tr> + </table> </content> </entry> <entry> @@ -167,36 +167,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>a4f92ed23982</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td>default</td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td>.hgtags<br /></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>a4f92ed23982</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td>default</td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td>.hgtags<br /></td> + </tr> + </table> </content> </entry> <entry> @@ -210,36 +210,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>2ef0ac749a14</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td>anotherthing</td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td>1.0</td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>base(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td>da/foo<br />foo<br /></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>2ef0ac749a14</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td>anotherthing</td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td>1.0</td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>base(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td>da/foo<br />foo<br /></td> + </tr> + </table> </content> </entry> @@ -445,36 +445,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>a4f92ed23982</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td>default</td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td>.hgtags<br /></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>a4f92ed23982</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td>default</td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>Added tag 1.0 for changeset 2ef0ac749a14(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td>.hgtags<br /></td> + </tr> + </table> </content> </entry> <entry> @@ -488,36 +488,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>2ef0ac749a14</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td>anotherthing</td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td>1.0</td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>base(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td>da/foo<br />foo<br /></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>2ef0ac749a14</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td>anotherthing</td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td>1.0</td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>base(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td>da/foo<br />foo<br /></td> + </tr> + </table> </content> </entry> @@ -639,36 +639,36 @@ <updated>1970-01-01T00:00:00+00:00</updated> <published>1970-01-01T00:00:00+00:00</published> <content type="xhtml"> - <table xmlns="http://www.w3.org/1999/xhtml"> - <tr> - <th style="text-align:left;">changeset</th> - <td>2ef0ac749a14</td> - </tr> - <tr> - <th style="text-align:left;">branch</th> - <td></td> - </tr> - <tr> - <th style="text-align:left;">bookmark</th> - <td>anotherthing</td> - </tr> - <tr> - <th style="text-align:left;">tag</th> - <td>1.0</td> - </tr> - <tr> - <th style="text-align:left;">user</th> - <td>test</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">description</th> - <td>base(websub)</td> - </tr> - <tr> - <th style="text-align:left;vertical-align:top;">files</th> - <td></td> - </tr> - </table> + <table xmlns="http://www.w3.org/1999/xhtml"> + <tr> + <th style="text-align:left;">changeset</th> + <td>2ef0ac749a14</td> + </tr> + <tr> + <th style="text-align:left;">branch</th> + <td></td> + </tr> + <tr> + <th style="text-align:left;">bookmark</th> + <td>anotherthing</td> + </tr> + <tr> + <th style="text-align:left;">tag</th> + <td>1.0</td> + </tr> + <tr> + <th style="text-align:left;">user</th> + <td>test</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">description</th> + <td>base(websub)</td> + </tr> + <tr> + <th style="text-align:left;vertical-align:top;">files</th> + <td></td> + </tr> + </table> </content> </entry>