Commits

Erik Zielke  committed f3281ab

Test of full status output

  • Participants
  • Parent commits 46d2970

Comments (0)

Files changed (1)

File tests/test-editcommitmsgs.t

 
 Trying to edit commit message, now shows status info
   $ hg qnew p4
+  $ cat > editor4 << '__EOF__'
+  > #!/bin/sh
+  > cat $1
+  > __EOF__
+  $ chmod 777 `pwd`/editor4
+  $ HGEDITOR="'`pwd`'"/editor4 
   $ hg qeditcommitmsgs --showstatus
-  abort: Could not find comments for all patches
+  HG: Enter commit messages for the different patches.
+  HG: Lines beginning with 'HG:' is used to apply the
+  HG: messages to the right patch, and gives some status on the patch
+  HG: Which can help you write the commit messages, so please do not
+  HG: edit them
+  HG: --
+  HG: Applied patches:
+  HG: --
+  HG: Patch: p1
+  HG: user: test
+  HG: added f1
+  This is the first patch
+  HG: --
+  HG: Patch: p2
+  HG: user: test
+  HG: added f2
+  This is the second patch
+  This is second line of second patch
+  HG: --
+  HG: Patch: p3
+  HG: user: test
+  HG: added f3
+  This is the third patch
+  HG: --
+  HG: Patch: p4
+  HG: user: test
+  HG: no files changed
+  
+  HG: --