Show More
@@ -308,17 +308,17 class hgwebdir(object): | |||
|
308 | 308 | |
|
309 | 309 | # add '/' to the name to make it obvious that |
|
310 | 310 | # the entry is a directory, not a regular repository |
|
311 |
row = |
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
311 | row = {'contact': "", | |
|
312 | 'contact_sort': "", | |
|
313 | 'name': name + '/', | |
|
314 | 'name_sort': name, | |
|
315 | 'url': url, | |
|
316 | 'description': "", | |
|
317 | 'description_sort': "", | |
|
318 | 'lastchange': d, | |
|
319 | 'lastchange_sort': d[1]-d[0], | |
|
320 | 'archives': [], | |
|
321 | 'isdirectory': True} | |
|
322 | 322 | |
|
323 | 323 | seendirs.add(name) |
|
324 | 324 | yield row |
@@ -356,17 +356,18 class hgwebdir(object): | |||
|
356 | 356 | contact = get_contact(get) |
|
357 | 357 | description = get("web", "description", "") |
|
358 | 358 | name = get("web", "name", name) |
|
359 |
row = |
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
359 | row = {'contact': contact or "unknown", | |
|
360 | 'contact_sort': contact.upper() or "unknown", | |
|
361 | 'name': name, | |
|
362 | 'name_sort': name, | |
|
363 | 'url': url, | |
|
364 | 'description': description or "unknown", | |
|
365 | 'description_sort': description.upper() or "unknown", | |
|
366 | 'lastchange': d, | |
|
367 | 'lastchange_sort': d[1]-d[0], | |
|
368 | 'archives': archivelist(u, "tip", url), | |
|
369 | 'isdirectory': None, | |
|
370 | } | |
|
370 | 371 | |
|
371 | 372 | seenrepos.add(name) |
|
372 | 373 | yield row |
General Comments 0
You need to be logged in to leave comments.
Login now