diff tests/test-convert-filemap @ 11680:7fefef3ce791

convert: warn on superfluous / in paths shlex is really a bad parser for this line-based format ...
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 20 Jul 2010 15:49:28 +0200
parents bb5ea66789e3
children
line wrap: on
line diff
--- a/tests/test-convert-filemap	Sat Jul 24 22:15:22 2010 +0200
+++ b/tests/test-convert-filemap	Tue Jul 20 15:49:28 2010 +0200
@@ -128,3 +128,14 @@
 hg --cwd source cat copied
 echo 'copied2:'
 hg --cwd renames.repo cat copied2
+
+echo % filemap errors
+cat > errors.fmap <<EOF
+include dir/ # beware that comments changes error line numbers!
+exclude /dir
+rename dir//dir /dir//dir/ "out of sync"
+include
+EOF
+hg -q convert --filemap errors.fmap source errors.repo
+
+true # happy ending