tests/test-pull.t
changeset 31771 5e92ba77793c
parent 26604 a3fcc8e3136b
child 33638 92b583e3e522
equal deleted inserted replaced
31770:3ed26ba54685 31771:5e92ba77793c
    86 
    86 
    87   $ hg pull -q file://../test
    87   $ hg pull -q file://../test
    88   abort: file:// URLs can only refer to localhost
    88   abort: file:// URLs can only refer to localhost
    89   [255]
    89   [255]
    90 
    90 
       
    91 MSYS changes 'file:' into 'file;'
       
    92 
       
    93 #if no-msys
    91   $ hg pull -q file:../test  # no-msys
    94   $ hg pull -q file:../test  # no-msys
       
    95 #endif
    92 
    96 
    93 It's tricky to make file:// URLs working on every platform with
    97 It's tricky to make file:// URLs working on every platform with
    94 regular shell commands.
    98 regular shell commands.
    95 
    99 
    96   $ URL=`$PYTHON -c "import os; print 'file://foobar' + ('/' + os.getcwd().replace(os.sep, '/')).replace('//', '/') + '/../test'"`
   100   $ URL=`$PYTHON -c "import os; print 'file://foobar' + ('/' + os.getcwd().replace(os.sep, '/')).replace('//', '/') + '/../test'"`