view hgext3rd/topic/common.py @ 5107:6243687e6b61 stable

packaging: update tested with version We have tested this with 5.3rc so let mark 5.3 as tested too.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 31 Jan 2020 14:52:38 +0100
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)