changeset 46796:38f55ef058fb

tests: resort to fix test with newer git versions Differential Revision: https://phab.mercurial-scm.org/D10242
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 19 Mar 2021 23:51:46 +0100
parents 048beb0167a7
children bcdcb4423ae3
files tests/test-git-interop.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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