changeset 44630:11f284c8c5e4

pathutil: document that dirs map type implies manifest/dirstate processing
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Fri, 27 Mar 2020 10:39:59 -0400
parents e9e7156a8d6c
children 947e6df4ff77
files mercurial/pathutil.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pathutil.py	Fri Mar 27 10:38:40 2020 -0400
+++ b/mercurial/pathutil.py	Fri Mar 27 10:39:59 2020 -0400
@@ -286,6 +286,9 @@
     '''a multiset of directory names from a set of file paths'''
 
     def __init__(self, map, skip=None):
+        '''
+        a dict map indicates a dirstate while a list indicates a manifest
+        '''
         self._dirs = {}
         addpath = self.addpath
         if isinstance(map, dict) and skip is not None: