tests: make test-convert-git.t work across changed default branch name
Recent git versions default to "main" instead of "master", which
breaks our test.
Differential Revision: https://phab.mercurial-scm.org/D9174
--- a/tests/test-convert-git.t Mon Oct 05 15:08:15 2020 +0200
+++ b/tests/test-convert-git.t Thu Oct 08 13:16:14 2020 -0700
@@ -1,5 +1,7 @@
#require git
+ $ echo "[init]" >> $HOME/.gitconfig
+ $ echo "defaultBranch = master" >> $HOME/.gitconfig
$ echo "[core]" >> $HOME/.gitconfig
$ echo "autocrlf = false" >> $HOME/.gitconfig
$ echo "[core]" >> $HOME/.gitconfig