comparison tests/test-hgweb-empty.t @ 28712:80e922479891

hgweb: generate last change date for an empty atom-bookmarks feed (issue5022) RFC 4287 states that atom feeds must have an <updated> element, so let's add one even when repo doesn't have a single bookmark.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 31 Mar 2016 15:37:21 +0800
parents ca0c0ca30c62
children eb7de21b15be
comparison
equal deleted inserted replaced
28711:06ae7a6daad0 28712:80e922479891
470 <link rel="self" href="http://*:$HGPORT/atom-bookmarks"/> (glob) 470 <link rel="self" href="http://*:$HGPORT/atom-bookmarks"/> (glob)
471 <link rel="alternate" href="http://*:$HGPORT/bookmarks"/> (glob) 471 <link rel="alternate" href="http://*:$HGPORT/bookmarks"/> (glob)
472 <title>test: bookmarks</title> 472 <title>test: bookmarks</title>
473 <summary>test bookmark history</summary> 473 <summary>test bookmark history</summary>
474 <author><name>Mercurial SCM</name></author> 474 <author><name>Mercurial SCM</name></author>
475 475 <updated>1970-01-01T00:00:00+00:00</updated>
476 476
477 477
478 </feed> 478 </feed>
479 479
480 $ cd .. 480 $ cd ..