tests/test-convert
branchstable
changeset 10775 c52057614c72
parent 10577 d5bd1beff794
child 10885 9e4d120e3c32
equal deleted inserted replaced
10772:1e819576e926 10775:c52057614c72
    47 
    47 
    48 echo % converting empty dir should fail "nicely"
    48 echo % converting empty dir should fail "nicely"
    49 mkdir emptydir
    49 mkdir emptydir
    50 # override $PATH to ensure p4 not visible; use $PYTHON in case we're
    50 # override $PATH to ensure p4 not visible; use $PYTHON in case we're
    51 # running from a devel copy, not a temp installation
    51 # running from a devel copy, not a temp installation
    52 PATH=$BINDIR $PYTHON $BINDIR/hg convert emptydir 2>&1 | sed 's,file://.*/emptydir,.../emptydir,g'
    52 PATH="$BINDIR" $PYTHON "$BINDIR"/hg convert emptydir 2>&1 | sed 's,file://.*/emptydir,.../emptydir,g'
    53 
    53 
    54 echo % convert with imaginary source type
    54 echo % convert with imaginary source type
    55 hg convert --source-type foo a a-foo
    55 hg convert --source-type foo a a-foo
    56 echo % convert with imaginary sink type
    56 echo % convert with imaginary sink type
    57 hg convert --dest-type foo a a-foo
    57 hg convert --dest-type foo a a-foo