Mercurial > evolve
changeset 4538:31c1645ef8bf stable
topic: only wrap _destupdatetopic for repo with topic
This helps repository with and without topic to coexist in the same process.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 18 Apr 2019 12:40:53 +0200 |
parents | db3e17adee3e |
children | 91628e5c0f6d |
files | hgext3rd/topic/destination.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/topic/destination.py Thu Apr 18 12:39:41 2019 +0200 +++ b/hgext3rd/topic/destination.py Thu Apr 18 12:40:53 2019 +0200 @@ -62,6 +62,8 @@ def _destupdatetopic(repo, clean, check=None): """decide on an update destination from current topic""" + if not common.hastopicext(repo): + return None, None, None movemark = node = None topic = repo.currenttopic if topic: