tests/test-import
changeset 5937 d8878742a924
parent 5853 deb0d3518674
child 5953 e7f1be4bf40a
--- a/tests/test-import	Fri Jan 25 13:48:35 2008 +0100
+++ b/tests/test-import	Fri Jan 25 16:18:49 2008 +0100
@@ -32,6 +32,13 @@
 hg --cwd b import -mpatch ../tip.patch
 rm -r b
 
+echo % import of plain diff should be ok with --no-commit
+hg clone -r0 a b
+hg --cwd a diff -r0:1 > tip.patch
+hg --cwd b import --no-commit ../tip.patch
+hg --cwd b diff --nodates
+rm -r b
+
 echo % hg -R repo import
 # put the clone in a subdir - having a directory named "a"
 # used to hide a bug.