Mercurial > hg
diff tests/test-commit @ 7072:4e0d54fbd34f
Show added files as "added" in editor commit message (issue 1330)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 09 Oct 2008 14:16:17 +0200 |
parents | 03916abdfb64 |
children | 6c82beaaa11a |
line wrap: on
line diff
--- a/tests/test-commit Wed Oct 08 19:58:35 2008 -0500 +++ b/tests/test-commit Thu Oct 09 14:16:17 2008 +0200 @@ -106,5 +106,21 @@ hg ci -mmerge -I a echo % should succeed hg ci -mmerge +cd .. + + +echo % test commit message content +hg init commitmsg +cd commitmsg +echo changed > changed +echo removed > removed +hg ci -qAm init + +hg rm removed +echo changed >> changed +echo added > added +hg add added +HGEDITOR=cat hg ci -A +cd .. exit 0