test-convert-git: drop a git warning that doesn't occur on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 15 Nov 2015 22:11:23 -0500
changeset 26970 6d99cc89ee0e
parent 26969 b54b520a24c2
child 26971 9f3410a52f44
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.
tests/test-convert-git.t
--- 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...