# HG changeset patch # User Pierre-Yves David # Date 1555584053 -7200 # Node ID 31c1645ef8bfaee3bcad5e7d22bb368806736fb4 # Parent db3e17adee3ed7e568668095ebf77fc835ca69d2 topic: only wrap _destupdatetopic for repo with topic This helps repository with and without topic to coexist in the same process. diff -r db3e17adee3e -r 31c1645ef8bf hgext3rd/topic/destination.py --- 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: