diff hgext3rd/topic/topicmap.py @ 6387:a87abe69a2f8 stable

topic: branchmap already imports subsettable from repoviewutil Even on hg <= 4.9. But let's add a comment so that we can import from repoviewutil module directly when we drop compatibility with 4.9.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 05 Feb 2023 18:47:38 +0400
parents f168c0fdbde9
children 0baef8dde96b
line wrap: on
line diff
--- a/hgext3rd/topic/topicmap.py	Thu Dec 15 17:07:25 2022 +0400
+++ b/hgext3rd/topic/topicmap.py	Sun Feb 05 18:47:38 2023 +0400
@@ -44,6 +44,7 @@
 def _setuptopicfilter(ui):
     """extend the filter related mapping with topic related one"""
     funcmap = repoview.filtertable
+    # hg <= 4.9 (caebe5e7f4bd)
     partialmap = branchmap.subsettable
 
     # filter level not affected by topic that we should not override