# HG changeset patch # User Patrick Mezard # Date 1299445410 -3600 # Node ID a2dc8819bb0d6467fce3f87788652de1204822ea # Parent f3c2261023e5cb7894969f7e6ff25e6db099c495 hgweb: fix filelog rss links generation diff -r f3c2261023e5 -r a2dc8819bb0d mercurial/templates/rss/filelogentry.tmpl --- a/mercurial/templates/rss/filelogentry.tmpl Sun Mar 06 22:03:18 2011 +0100 +++ b/mercurial/templates/rss/filelogentry.tmpl Sun Mar 06 22:03:30 2011 +0100 @@ -1,6 +1,6 @@ {desc|strip|firstline|strip|escape} - {urlbase}{url}log{{node|short}}/{file|urlescape} + {urlbase}{url}log{node|short}/{file|urlescape} {author|obfuscate} {date|rfc822date} diff -r f3c2261023e5 -r a2dc8819bb0d tests/test-hgweb-filelog.t --- a/tests/test-hgweb-filelog.t Sun Mar 06 22:03:18 2011 +0100 +++ b/tests/test-hgweb-filelog.t Sun Mar 06 22:03:30 2011 +0100 @@ -656,6 +656,84 @@ +rss log + + $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rss-log/tip/a') + 200 Script output follows + + + + + http://*:$HGPORT/ (glob) + en-us + + test: a history + a revision history + + second a + http://*:$HGPORT/log01de2d66a28d/a (glob) + + test + Thu, 01 Jan 1970 00:00:00 +0000 + + + first a + http://*:$HGPORT/log5ed941583260/a (glob) + + test + Thu, 01 Jan 1970 00:00:00 +0000 + + + + + +atom log + + $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/atom-log/tip/a') + 200 Script output follows + + + + http://*:$HGPORT/atom-log/tip/a (glob) + (glob) + test: a history + 1970-01-01T00:00:00+00:00 + + + second a + http://*:$HGPORT/#changeset-01de2d66a28df5549090991dccda788726948517 (glob) + (glob) + + test + test + + 1970-01-01T00:00:00+00:00 + 1970-01-01T00:00:00+00:00 + +
+
second a
+
+
+
+ + first a + http://*:$HGPORT/#changeset-5ed941583260248620985524192fdc382ef57c36 (glob) + (glob) + + test + test + + 1970-01-01T00:00:00+00:00 + 1970-01-01T00:00:00+00:00 + +
+
first a
+
+
+
+ +
+ errors $ cat errors.log