Mercurial > hg-stable
diff tests/test-convert @ 9962:a7178eccf2dc
convert: better error on invalid repository type
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 30 Nov 2009 22:23:04 +0100 |
parents | 0941ee76489e |
children | d5bd1beff794 |
line wrap: on
line diff
--- a/tests/test-convert Mon Nov 30 22:23:09 2009 +0100 +++ b/tests/test-convert Mon Nov 30 22:23:04 2009 +0100 @@ -50,3 +50,10 @@ # override $PATH to ensure p4 not visible; use $PYTHON in case we're # running from a devel copy, not a temp installation PATH=$BINDIR $PYTHON $BINDIR/hg convert emptydir 2>&1 | sed 's,file://.*/emptydir,.../emptydir,g' + +echo % convert with imaginary source type +hg convert --source-type foo a a-foo +echo % convert with imaginary sink type +hg convert --dest-type foo a a-foo + +true