tests/test-pull-http.out
author Yuya Nishihara <yuya@tcha.org>
Thu, 11 Mar 2010 00:28:27 +0900
branchstable
changeset 10674 6d87c20cd7a8
parent 10398 ace3cf2bc991
permissions -rw-r--r--
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     1
adding a
9611
a3d73b3e1f8a hg.clone: report branch name on update
Adrian Buehlmann <adrian@cadifra.com>
parents: 7563
diff changeset
     2
updating to branch default
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     3
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     4
% expect error, cloning not allowed
7563
bbcd2dea19fe hgweb: send HTTP unauthorized error when denying pull
Mark Edgington <edgimar@gmail.com>
parents: 6778
diff changeset
     5
abort: authorization failed
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     6
requesting all changes
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     7
% serve errors
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
     8
% expect error, pulling not allowed
7563
bbcd2dea19fe hgweb: send HTTP unauthorized error when denying pull
Mark Edgington <edgimar@gmail.com>
parents: 6778
diff changeset
     9
abort: authorization failed
10398
ace3cf2bc991 tests: don't just silently strip port numbers
Mads Kiilerich <mads@kiilerich.com>
parents: 9611
diff changeset
    10
pulling from http://localhost:$HGPORT/
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
    11
searching for changes
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
    12
% serve errors