mercurial/revlogutils/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 12 Jan 2021 17:32:08 -0800
changeset 46225 88dfe1c279bb
parent 44035 ab595920de0e
child 47400 ac60a1366a49
permissions -rw-r--r--
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

# mercurial.revlogutils -- basic utilities for revlog
#
# Copyright 2019 Pierre-Yves David <pierre-yves.david@octobus.net>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.

from __future__ import absolute_import