comparison mercurial/dirstatemap.py @ 47944:e02f9af7aed1

pathutil: replace the `skip` argument of `dirs` with a boolean It is ever only used for `r` file. So we make it a boolean this will give use more versatility later as we will stop storing the state explicitly. Differential Revision: https://phab.mercurial-scm.org/D11383
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 30 Aug 2021 18:45:54 +0200
parents bbae583333e9
children 7ab99007fce5
comparison
equal deleted inserted replaced
47943:fea24454f919 47944:e02f9af7aed1
375 """ 375 """
376 return d in self._alldirs 376 return d in self._alldirs
377 377
378 @propertycache 378 @propertycache
379 def _dirs(self): 379 def _dirs(self):
380 return pathutil.dirs(self._map, b'r') 380 return pathutil.dirs(self._map, only_tracked=True)
381 381
382 @propertycache 382 @propertycache
383 def _alldirs(self): 383 def _alldirs(self):
384 return pathutil.dirs(self._map) 384 return pathutil.dirs(self._map)
385 385