branchmap: improve doc about BranchMapCache class
authorPulkit Goyal <pulkit@yandex-team.ru>
Mon, 11 Feb 2019 16:34:48 +0300
changeset 41718 a87ca1d7e61d
parent 41717 9060af281be7
child 41719 5f9d057ba28c
branchmap: improve doc about BranchMapCache class It was confusing that we are having two different branchcache and BranchMapCache classes. The doc in BranchMapCache class was not much helpful to understand the difference. This patch improves the doc there. Differential Revision: https://phab.mercurial-scm.org/D5933
mercurial/branchmap.py
--- a/mercurial/branchmap.py	Mon Feb 04 19:46:57 2019 +0100
+++ b/mercurial/branchmap.py	Mon Feb 11 16:34:48 2019 +0300
@@ -45,7 +45,7 @@
 
 
 class BranchMapCache(object):
-    """Cache mapping"""
+    """mapping of filtered views of repo with their branchcache"""
     def __init__(self):
         self._per_filter = {}