# HG changeset patch # User Martin von Zweigbergk # Date 1606758466 28800 # Node ID 9dd5b129ff288b9ffc3713a738117ff071f223f7 # Parent c7f40562389f0a3fec8097567a1f259239f61e74 tests: set old git default branch name for compatibility Git's default branch name has changed on my machine (from "master" to "main"). Let's set the old name in our tests so we're compatible with both defaults (and maybe still compatible with Git versions that don't know about the config option). Differential Revision: https://phab.mercurial-scm.org/D9470 diff -r c7f40562389f -r 9dd5b129ff28 tests/test-git-interop.t --- a/tests/test-git-interop.t Sat Nov 28 14:15:55 2020 +0100 +++ b/tests/test-git-interop.t Mon Nov 30 09:47:46 2020 -0800 @@ -30,6 +30,7 @@ [255] $ 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