Mercurial > evolve
view hgext3rd/topic/common.py @ 5581:36ccafa69095
discovery: list the new heads like core does when failing a multi-head push
The message was, and still is slightly different from core (which mentions
'remote' heads). But it's probably useful to have slightly different messages
so that we can easily determine the source.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 17 Sep 2020 14:11:38 -0400 |
parents | 1d1f8f56daac |
children | 7ad8107d953a |
line wrap: on
line source
# 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. def hastopicext(repo): """True if the repo use the topic extension""" return getattr(repo, 'hastopicext', False)