hgext3rd/topic/__init__.py
changeset 2655 417490bdf28a
parent 2653 13313d0cab71
child 2656 4a148ca3e80d
--- a/hgext3rd/topic/__init__.py	Thu Jun 22 15:18:49 2017 +0200
+++ b/hgext3rd/topic/__init__.py	Fri Jun 23 10:21:37 2017 +0200
@@ -229,7 +229,7 @@
 
         def branchmap(self, topic=None):
             if topic is None:
-                topic = self._autobranchmaptopic
+                topic = getattr(repo, '_autobranchmaptopic', False)
             topicfilter = topicmap.topicfilter(self.filtername)
             if not topic or topicfilter == self.filtername:
                 return super(topicrepo, self).branchmap()