diff tests/test-import.t @ 12913:0e0a52bd58f9

import: --no-commit should update .hg/last-message.txt The patch parser goes through all of that trouble extracting the commit message from the patch file. It seems such a waste not to use it.
author Steve Borho <steve@borho.org>
date Thu, 21 Oct 2010 16:04:34 -0500
parents b00eda50ad2b
children 27bc21814e9c
line wrap: on
line diff
--- a/tests/test-import.t	Tue Nov 02 09:47:47 2010 +0100
+++ b/tests/test-import.t	Thu Oct 21 16:04:34 2010 -0500
@@ -437,6 +437,14 @@
   $ hg revert -a
   reverting a
 
+
+import with --no-commit should have written .hg/last-message.txt
+
+  $ echo '\n' | cat .hg/last-message.txt -
+  change
+  
+
+
 test fuzziness with eol=auto
 
   $ hg --config patch.eol=auto import --no-commit -v tip.patch