changeset 26970:6d99cc89ee0e

test-convert-git: drop a git warning that doesn't occur on Windows I do see this on Linux with 1.7.7.6, but not on Windows with 1.9.5.msysgit.0. Adding a (?) didn't work to conditionally ignore the line; I'm not sure if the (glob) interferes with that.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Nov 2015 22:11:23 -0500
parents b54b520a24c2
children 9f3410a52f44
files tests/test-convert-git.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-git.t	Sun Nov 15 21:12:13 2015 -0500
+++ b/tests/test-convert-git.t	Sun Nov 15 22:11:23 2015 -0500
@@ -533,8 +533,7 @@
   $ git commit -q -m "remove .gitmodules" .gitmodules
   $ git commit -q -m "missing .gitmodules"
   $ cd ..
-  $ hg convert git-repo6 hg-repo6 --traceback
-  fatal: Path '.gitmodules' does not exist in '*' (glob)
+  $ hg convert git-repo6 hg-repo6 --traceback 2>&1 | grep -v "fatal: Path '.gitmodules' does not exist"
   initializing destination hg-repo6 repository
   scanning source...
   sorting...