diff tests/test-hgwebdir.t @ 21056:d70703954a2a

hgweb: adding branch, tags, bookmarks, user, and file list to atom feed entries
author Aaron Jensen <ajensen@webmd.net>
date Wed, 16 Apr 2014 09:31:37 -0700
parents ddae9e9b7ca1
children 91eb605022f5
line wrap: on
line diff
--- a/tests/test-hgwebdir.t	Mon Apr 07 23:10:20 2014 +0200
+++ b/tests/test-hgwebdir.t	Wed Apr 16 09:31:37 2014 -0700
@@ -745,7 +745,7 @@
    <updated>1970-01-01T00:00:01+00:00</updated>
   
    <entry>
-    <title>a</title>
+    <title>[default] a</title>
     <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
     <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
     <author>
@@ -755,9 +755,36 @@
     <updated>1970-01-01T00:00:01+00:00</updated>
     <published>1970-01-01T00:00:01+00:00</published>
     <content type="xhtml">
-     <div xmlns="http://www.w3.org/1999/xhtml">
-      <pre xml:space="preserve">a</pre>
-     </div>
+  	<table xmlns="http://www.w3.org/1999/xhtml">
+  	<tr>
+  		<th style="text-align:left;">changeset</th>
+  		<td>8580ff50825a</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>tip</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;">user</th>
+  		<td>&#116;&#101;&#115;&#116;</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;vertical-align:top;">description</th>
+  		<td>a</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;vertical-align:top;">files</th>
+  		<td>a<br /></td>
+  	</tr>
+  	</table>
     </content>
    </entry>
   
@@ -775,7 +802,7 @@
    <updated>1970-01-01T00:00:01+00:00</updated>
   
    <entry>
-    <title>a</title>
+    <title>[default] a</title>
     <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
     <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
     <author>
@@ -785,9 +812,36 @@
     <updated>1970-01-01T00:00:01+00:00</updated>
     <published>1970-01-01T00:00:01+00:00</published>
     <content type="xhtml">
-     <div xmlns="http://www.w3.org/1999/xhtml">
-      <pre xml:space="preserve">a</pre>
-     </div>
+  	<table xmlns="http://www.w3.org/1999/xhtml">
+  	<tr>
+  		<th style="text-align:left;">changeset</th>
+  		<td>8580ff50825a</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>tip</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;">user</th>
+  		<td>&#116;&#101;&#115;&#116;</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;vertical-align:top;">description</th>
+  		<td>a</td>
+  	</tr>
+  	<tr>
+  		<th style="text-align:left;vertical-align:top;">files</th>
+  		<td>a<br /></td>
+  	</tr>
+  	</table>
     </content>
    </entry>