D5933: branchmap: improve doc about BranchMapCache class
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Feb 11 13:35:27 UTC 2019
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5933
AFFECTED FILES
mercurial/branchmap.py
CHANGE DETAILS
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -45,7 +45,7 @@
class BranchMapCache(object):
- """Cache mapping"""
+ """mapping of filtered views of repo with their branchcache"""
def __init__(self):
self._per_filter = {}
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list