diff tests/test-mq @ 6280:9db24a36d182

patch: check filename is /dev/null for creation or deletion (issue 1033) Otherwise, file creation or deletion is ambiguous with file being filled or emptied.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 16 Mar 2008 00:35:12 +0100
parents ca2af0c81c9a
children 8c4cd80afd3e 3182602fa1fb
line wrap: on
line diff
--- a/tests/test-mq	Sat Mar 15 16:51:53 2008 -0500
+++ b/tests/test-mq	Sun Mar 16 00:35:12 2008 +0100
@@ -487,3 +487,13 @@
 qlog
 cd ..
 
+echo % 'test applying on an empty file (issue 1033)'
+hg init empty
+cd empty
+touch a
+hg ci -Am addempty
+echo a > a
+hg qnew -f -e changea
+hg qpop
+hg qpush
+cd ..