diff tests/test-gpg.t @ 21711:0986af9e7006

gpg: accept '--edit' like other commands creating new changeset After this patch, users can invoke editor for the commit message by '--edit' option regardless of '--message'.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sun, 01 Jun 2014 00:08:32 +0900
parents e5a2177d97f0
children 7a9cbb315d84
line wrap: on
line diff
--- a/tests/test-gpg.t	Tue Jun 03 13:49:51 2014 -0700
+++ b/tests/test-gpg.t	Sun Jun 01 00:08:32 2014 +0900
@@ -16,8 +16,17 @@
 
   $ hg sigs
 
-  $ hg sign 0
+  $ HGEDITOR=cat hg sign -e 0
   signing 0:e63c23eaa88a
+  Added signature for changeset e63c23eaa88a
+  
+  
+  HG: Enter commit message.  Lines beginning with 'HG:' are removed.
+  HG: Leave message empty to abort commit.
+  HG: --
+  HG: user: test
+  HG: branch 'default'
+  HG: added .hgsigs
 
   $ hg sigs
   hgtest                             0:e63c23eaa88ae77967edcf4ea194d31167c478b0