diff tests/test-convert @ 5805:e422305e0853

test-convert: test before() and after() conversion actions
author Patrick Mezard <pmezard@gmail.com>
date Fri, 04 Jan 2008 23:43:55 +0100
parents 61fdf2558c0a
children d596b1f2935a
line wrap: on
line diff
--- a/tests/test-convert	Fri Jan 04 23:43:55 2008 +0100
+++ b/tests/test-convert	Fri Jan 04 23:43:55 2008 +0100
@@ -39,3 +39,8 @@
 echo % should succeed
 chmod 700 bogusdir
 hg convert a bogusdir
+
+echo % test pre and post conversion actions
+echo 'include b' > filemap
+hg convert --debug --filemap filemap a partialb | \
+    grep 'run hg'