diff tests/test-commit @ 6110:81e20e01d465

status: put added files that have disappeared in the deleted list This gives the user an indication that something went wrong with this file: $ hg add foo $ rm foo $ hg status foo ! foo Fixes issue212.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Thu, 14 Feb 2008 18:08:16 -0200
parents 75c2071385da
children 5ffa962783c4
line wrap: on
line diff
--- a/tests/test-commit	Thu Feb 14 18:08:16 2008 -0200
+++ b/tests/test-commit	Thu Feb 14 18:08:16 2008 -0200
@@ -19,11 +19,12 @@
 hg commit -d ' 1 4444' -m commit-6
 hg commit -d '111111111111 0' -m commit-7
 
-echo % partial commit test
+echo % commit added file that has been deleted
 echo bar > bar
 hg add bar
 rm bar
 hg commit -d "1000000 0" -m commit-8 2>&1 | cleanpath
+hg commit -d "1000000 0" -m commit-8 bar 2>&1 | cleanpath
 
 hg -q revert -a --no-backup