from_upstream-test-subrepo-new-git
authorDebian Python Team <team+python@tracker.debian.org>
Thu, 27 Mar 2025 18:23:02 +0000 (19:23 +0100)
committerAndreas Henriksson <andreas@fatal.se>
Thu, 27 Mar 2025 18:23:02 +0000 (19:23 +0100)
commit78675c0db675e903c7a0ffd77cdb156b297b65c1
tree1102606b0855ae350ccf7803f4be902f7b3b10c3
parent83273cc1e86ef5f68c81f4f5d1165be1718e7abf
from_upstream-test-subrepo-new-git

# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1610501528 28800
#      Tue Jan 12 17:32:08 2021 -0800
# Node ID 88dfe1c279bb3378cf25c654a9346e570dff3b0f
# Parent  fcc324a228fee148726ec8075c75cd8e2ae7b14a
tests: make test-subrepo-git.t compatible with git's master->main rename

Git is about to change the default branch from "master" to
"main". Recent versions has started warning about that, which makes
tests fail. I assume the tests would fail in a different way once the
default has changed. To make us compatible with that name change,
let's set configure the default to be "master". That value makes the
tests still work on older Git version (those where the default branch
name is not configurable).

Differential Revision: https://phab.mercurial-scm.org/D9746

Gbp-Pq: Name from_upstream-test-subrepo-new-git.patch
tests/test-subrepo-git.t