Mercurial > hg-stable
changeset 45226:366c547a8a57 stable
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 08 Oct 2020 13:16:14 -0700 |
parents | 5a19d7c9129b |
children | 4a146cff76fa |
files | tests/test-convert-git.t |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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