Patchwork D10281: test: enforce master to be the default branch in test

login
register
mail settings
Submitter phabricator
Date March 28, 2021, 10:20 p.m.
Message ID <differential-rev-PHID-DREV-tocvwgagxofmdwtmuln2-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48597/
State Superseded
Headers show

Comments

phabricator - March 28, 2021, 10:20 p.m.
marmoute created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Newer git issue a message about this.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10281

AFFECTED FILES
  tests/test-git-interop.t

CHANGE DETAILS




To: marmoute, durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-git-interop.t b/tests/test-git-interop.t
--- a/tests/test-git-interop.t
+++ b/tests/test-git-interop.t
@@ -14,6 +14,7 @@ 
   >    git commit "$@" >/dev/null 2>/dev/null || echo "git commit error"
   >    count=`expr $count + 1`
   >  }
+  $ git config --global init.defaultBranch master
 
 
   $ hg version -v --config extensions.git= | grep '^[E ]'