Show More
@@ -89,7 +89,6 b' class hgwebdir(object):' | |||
|
89 | 89 | name = name[len(prefix):] |
|
90 | 90 | self.repos.append((name.lstrip('/'), repo)) |
|
91 | 91 | |
|
92 | self.repos.sort() | |
|
93 | 92 | self.lastrefresh = time.time() |
|
94 | 93 | |
|
95 | 94 | def run(self): |
@@ -196,7 +195,7 b' class hgwebdir(object):' | |||
|
196 | 195 | yield {"type" : i[0], "extension": i[1], |
|
197 | 196 | "node": nodeid, "url": url} |
|
198 | 197 | |
|
199 |
sortdefault = |
|
|
198 | sortdefault = None, False | |
|
200 | 199 | def entries(sortcolumn="", descending=False, subdir="", **map): |
|
201 | 200 | |
|
202 | 201 | rows = [] |
@@ -29,6 +29,7 b' error: repository c not found' | |||
|
29 | 29 | 200 Script output follows |
|
30 | 30 | |
|
31 | 31 | |
|
32 | /t/a/ | |
|
32 | 33 | /b/ |
|
33 | 34 | /coll/a/ |
|
34 | 35 | /coll/a/.hg/patches/ |
@@ -39,7 +40,6 b' 200 Script output follows' | |||
|
39 | 40 | /rcoll/b/ |
|
40 | 41 | /rcoll/b/d/ |
|
41 | 42 | /rcoll/c/ |
|
42 | /t/a/ | |
|
43 | 43 | |
|
44 | 44 | 200 Script output follows |
|
45 | 45 | |
@@ -64,7 +64,7 b' 200 Script output follows' | |||
|
64 | 64 | |
|
65 | 65 | <table class="bigtable"> |
|
66 | 66 | <tr> |
|
67 |
<th><a href="?sort= |
|
|
67 | <th><a href="?sort=name">Name</a></th> | |
|
68 | 68 | <th><a href="?sort=description">Description</a></th> |
|
69 | 69 | <th><a href="?sort=contact">Contact</a></th> |
|
70 | 70 | <th><a href="?sort=lastchange">Last change</a></th> |
@@ -72,7 +72,7 b' 200 Script output follows' | |||
|
72 | 72 | </tr> |
|
73 | 73 | |
|
74 | 74 | <tr class="parity0"> |
|
75 |
<td><a href="/ |
|
|
75 | <td><a href="/t/a/?style=paper">t/a</a></td> | |
|
76 | 76 | <td>unknown</td> |
|
77 | 77 | <td>Foo Bar <foo.bar@example.com></td> |
|
78 | 78 | <td class="age">seconds ago</td> |
@@ -80,7 +80,7 b' 200 Script output follows' | |||
|
80 | 80 | </tr> |
|
81 | 81 | |
|
82 | 82 | <tr class="parity1"> |
|
83 |
<td><a href="/ |
|
|
83 | <td><a href="/b/?style=paper">b</a></td> | |
|
84 | 84 | <td>unknown</td> |
|
85 | 85 | <td>Foo Bar <foo.bar@example.com></td> |
|
86 | 86 | <td class="age">seconds ago</td> |
@@ -88,7 +88,7 b' 200 Script output follows' | |||
|
88 | 88 | </tr> |
|
89 | 89 | |
|
90 | 90 | <tr class="parity0"> |
|
91 |
<td><a href="/coll/a/ |
|
|
91 | <td><a href="/coll/a/?style=paper">coll/a</a></td> | |
|
92 | 92 | <td>unknown</td> |
|
93 | 93 | <td>Foo Bar <foo.bar@example.com></td> |
|
94 | 94 | <td class="age">seconds ago</td> |
@@ -96,7 +96,7 b' 200 Script output follows' | |||
|
96 | 96 | </tr> |
|
97 | 97 | |
|
98 | 98 | <tr class="parity1"> |
|
99 |
<td><a href="/coll/ |
|
|
99 | <td><a href="/coll/a/.hg/patches/?style=paper">coll/a/.hg/patches</a></td> | |
|
100 | 100 | <td>unknown</td> |
|
101 | 101 | <td>Foo Bar <foo.bar@example.com></td> |
|
102 | 102 | <td class="age">seconds ago</td> |
@@ -104,7 +104,7 b' 200 Script output follows' | |||
|
104 | 104 | </tr> |
|
105 | 105 | |
|
106 | 106 | <tr class="parity0"> |
|
107 |
<td><a href="/coll/ |
|
|
107 | <td><a href="/coll/b/?style=paper">coll/b</a></td> | |
|
108 | 108 | <td>unknown</td> |
|
109 | 109 | <td>Foo Bar <foo.bar@example.com></td> |
|
110 | 110 | <td class="age">seconds ago</td> |
@@ -112,7 +112,7 b' 200 Script output follows' | |||
|
112 | 112 | </tr> |
|
113 | 113 | |
|
114 | 114 | <tr class="parity1"> |
|
115 |
<td><a href="/ |
|
|
115 | <td><a href="/coll/c/?style=paper">coll/c</a></td> | |
|
116 | 116 | <td>unknown</td> |
|
117 | 117 | <td>Foo Bar <foo.bar@example.com></td> |
|
118 | 118 | <td class="age">seconds ago</td> |
@@ -120,7 +120,7 b' 200 Script output follows' | |||
|
120 | 120 | </tr> |
|
121 | 121 | |
|
122 | 122 | <tr class="parity0"> |
|
123 |
<td><a href="/rcoll/a/ |
|
|
123 | <td><a href="/rcoll/a/?style=paper">rcoll/a</a></td> | |
|
124 | 124 | <td>unknown</td> |
|
125 | 125 | <td>Foo Bar <foo.bar@example.com></td> |
|
126 | 126 | <td class="age">seconds ago</td> |
@@ -128,7 +128,7 b' 200 Script output follows' | |||
|
128 | 128 | </tr> |
|
129 | 129 | |
|
130 | 130 | <tr class="parity1"> |
|
131 |
<td><a href="/rcoll/ |
|
|
131 | <td><a href="/rcoll/a/.hg/patches/?style=paper">rcoll/a/.hg/patches</a></td> | |
|
132 | 132 | <td>unknown</td> |
|
133 | 133 | <td>Foo Bar <foo.bar@example.com></td> |
|
134 | 134 | <td class="age">seconds ago</td> |
@@ -136,7 +136,7 b' 200 Script output follows' | |||
|
136 | 136 | </tr> |
|
137 | 137 | |
|
138 | 138 | <tr class="parity0"> |
|
139 |
<td><a href="/rcoll/b/ |
|
|
139 | <td><a href="/rcoll/b/?style=paper">rcoll/b</a></td> | |
|
140 | 140 | <td>unknown</td> |
|
141 | 141 | <td>Foo Bar <foo.bar@example.com></td> |
|
142 | 142 | <td class="age">seconds ago</td> |
@@ -144,7 +144,7 b' 200 Script output follows' | |||
|
144 | 144 | </tr> |
|
145 | 145 | |
|
146 | 146 | <tr class="parity1"> |
|
147 |
<td><a href="/rcoll/ |
|
|
147 | <td><a href="/rcoll/b/d/?style=paper">rcoll/b/d</a></td> | |
|
148 | 148 | <td>unknown</td> |
|
149 | 149 | <td>Foo Bar <foo.bar@example.com></td> |
|
150 | 150 | <td class="age">seconds ago</td> |
@@ -152,7 +152,7 b' 200 Script output follows' | |||
|
152 | 152 | </tr> |
|
153 | 153 | |
|
154 | 154 | <tr class="parity0"> |
|
155 |
<td><a href="/ |
|
|
155 | <td><a href="/rcoll/c/?style=paper">rcoll/c</a></td> | |
|
156 | 156 | <td>unknown</td> |
|
157 | 157 | <td>Foo Bar <foo.bar@example.com></td> |
|
158 | 158 | <td class="age">seconds ago</td> |
@@ -200,7 +200,7 b' 200 Script output follows' | |||
|
200 | 200 | |
|
201 | 201 | <table class="bigtable"> |
|
202 | 202 | <tr> |
|
203 |
<th><a href="?sort= |
|
|
203 | <th><a href="?sort=name">Name</a></th> | |
|
204 | 204 | <th><a href="?sort=description">Description</a></th> |
|
205 | 205 | <th><a href="?sort=contact">Contact</a></th> |
|
206 | 206 | <th><a href="?sort=lastchange">Last change</a></th> |
General Comments 0
You need to be logged in to leave comments.
Login now