Mercurial > hg
view tests/test-unrelated-pull.out @ 10674:6d87c20cd7a8 stable
hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
This fixes doubled URL, e.g. http://example.orghttp://example.org/...,
which appears on RSS/Atom feeds served by hgwebdir.
It splits baseurl to update SERVER_NAME, SERVER_PORT and SCRIPT_NAME,
according to RFC 3875.
Updated the test output since SCRIPT_NAME becomes not to contain
http://host:port part.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 11 Mar 2010 00:28:27 +0900 |
parents | 8c4fd0de5de8 |
children | 4c94b6d0fb1c |
line wrap: on
line source
pulling from ../a searching for changes abort: repository is unrelated pulling from ../a searching for changes warning: repository is unrelated adding changesets adding manifests adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) (run 'hg heads' to see heads, 'hg merge' to merge) changeset: 1:bdcee5d51fa6 tag: tip parent: -1:000000000000 user: a date: Mon Jan 12 13:46:40 1970 +0000 summary: a changeset: 0:f155ba1aa5ba user: b date: Mon Jan 12 13:46:40 1970 +0000 summary: b