diff tests/test-pull @ 9996:2770d03ae49f stable

handle file URIs correctly, according to RFC 2396 (issue1153) The new code aims to implement the RFC correctly for file URIs. Previously they were handled incorrectly in several ways, which could cause problem on Windows in particular.
author Sune Foldager <cryo@cyanite.org>
date Thu, 03 Dec 2009 11:06:55 +0100
parents e3a0c092b4e2
children d4a62b6d4a58
line wrap: on
line diff
--- a/tests/test-pull	Thu Dec 03 11:06:44 2009 +0100
+++ b/tests/test-pull	Thu Dec 03 11:06:55 2009 +0100
@@ -24,3 +24,8 @@
 hg init empty
 cd empty
 hg pull -u ../test
+
+echo % test file: uri handling
+hg pull -q file://../test-doesnt-exist
+hg pull -q file:../test
+hg pull -q file://foobar`pwd`/../test