Show More
@@ -26,6 +26,10 b' cd empty' | |||||
26 | hg pull -u ../test |
|
26 | hg pull -u ../test | |
27 |
|
27 | |||
28 | echo % test file: uri handling |
|
28 | echo % test file: uri handling | |
29 | hg pull -q file://../test-doesnt-exist |
|
29 | hg pull -q file://../test-doesnt-exist 2>&1 \ | |
|
30 | | sed 's%abort: repository.*/test-doesnt-exist%abort: repository /test-doesnt-exist%' | |||
30 | hg pull -q file:../test |
|
31 | hg pull -q file:../test | |
31 | hg pull -q file://foobar`pwd`/../test |
|
32 | # It's tricky to make file:// URLs working on every platforms | |
|
33 | # with regular shell commands. | |||
|
34 | URL=`python -c "import os; print 'file://foobar' + ('/' + os.getcwd().replace(os.sep, '/')).replace('//', '/') + '/../test'"` | |||
|
35 | hg pull -q $URL |
General Comments 0
You need to be logged in to leave comments.
Login now