Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstatemap.py @ 47972: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 |
line wrap: on
line diff
--- a/mercurial/dirstatemap.py Thu Sep 02 00:16:37 2021 +0200 +++ b/mercurial/dirstatemap.py Mon Aug 30 18:45:54 2021 +0200 @@ -377,7 +377,7 @@ @propertycache def _dirs(self): - return pathutil.dirs(self._map, b'r') + return pathutil.dirs(self._map, only_tracked=True) @propertycache def _alldirs(self):