tests: resort to fix test with newer git versions
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 19 Mar 2021 23:51:46 +0100
changeset 46796 38f55ef058fb
parent 46795 048beb0167a7
child 46797 bcdcb4423ae3
tests: resort to fix test with newer git versions Differential Revision: https://phab.mercurial-scm.org/D10242
tests/test-git-interop.t
--- a/tests/test-git-interop.t	Fri Mar 19 23:34:29 2021 +0100
+++ b/tests/test-git-interop.t	Fri Mar 19 23:51:46 2021 +0100
@@ -28,9 +28,9 @@
   $ hg status
   abort: repository specified git format in .hg/requires but has no .git directory
   [255]
+  $ git config --global init.defaultBranch master
   $ git init
   Initialized empty Git repository in $TESTTMP/nogit/.git/
-  $ git config --global init.defaultBranch master
 This status invocation shows some hg gunk because we didn't use
 `hg init --git`, which fixes up .git/info/exclude for us.
   $ hg status