[PATCH 2 of 2] test-convert-git: silence commit output for stablity

Matt Harbison mharbison72 at gmail.com
Sun Nov 8 17:48:45 CST 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1447025676 18000
#      Sun Nov 08 18:34:36 2015 -0500
# Node ID d1b1ac7ec1e0bd41f1f77d031a39ec375b6b32fd
# Parent  0647a6905581d40d3b9bd27a8438aa54842d49dd
test-convert-git: silence commit output for stablity

When running the tests with 1.7.7.6, I get 'files' and 'insertions' instead of
the singular forms, and there is also an additional '0 deletions(-)' at the end.
Since this doesn't seem important to the test, silence it.

diff --git a/tests/test-convert-git.t b/tests/test-convert-git.t
--- a/tests/test-convert-git.t
+++ b/tests/test-convert-git.t
@@ -689,10 +689,7 @@
 
   $ cd git-repo7
   $ echo a >> a
-  $ git commit -am "move master forward"
-  [master 0c81947] move master forward
-   Author: nottest <test at example.org>
-   1 file changed, 1 insertion(+)
+  $ git commit -q -am "move master forward"
   $ cd ..
   $ rm -rf hg-repo7
   $ hg convert --config convert.git.remoteprefix=origin git-repo7-client hg-repo7


More information about the Mercurial-devel mailing list