Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-diffs @ 9731:0e080d519d1b
hgweb: treat rev as raw-rev if user agent is hg
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 06 Nov 2009 22:46:46 +0100 |
parents | 5d49fdef6fd0 |
children | ffda19f351fa |
line wrap: on
line diff
--- a/tests/test-hgweb-diffs Fri Nov 06 13:48:17 2009 +0200 +++ b/tests/test-hgweb-diffs Fri Nov 06 22:46:46 2009 +0100 @@ -38,5 +38,11 @@ echo % diff removed file "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a' +cd .. +echo % test import rev as raw-rev +hg clone -r0 test test1 +cd test1 +hg import --exact http://localhost:$HGPORT/rev/1 + echo % errors -cat errors.log +cat ../test/errors.log