tests/test-hgwebdirsym.out
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Wed, 18 Nov 2009 12:47:58 +0100
changeset 9881 54b518fc6671
parent 6341 63bdfcc3eaaf
permissions -rw-r--r--
httprepo: suppress the `real URL is...' message in safe, common cases. When the actual and requested URL only differ by trailing slashes, there is no need to warn. As an example, this easily happens when accessing repositories on Bitbucket over HTTP(S). As far as I could tell, there were no existing tests for this behaviour.

adding a
adding b
adding c
% should succeed
200 Script output follows


/al/
/b/
/c/

200 Script output follows

a
200 Script output follows

b
200 Script output follows

c
% should fail
404 Not Found


error: repository circle not found
404 Not Found


error: repository circle not found
404 Not Found


error: repository circle not found
% collections errors