hgext3rd/topic/common.py
author kevpeng@google.com
Fri, 14 Jun 2019 18:44:43 -0700
branchstable
changeset 4751 d0965c5c5335
parent 4531 1d1f8f56daac
permissions -rw-r--r--
evolve: further clarify when update is performed

# 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)