D7311: utils: move the `dirs` definition in pathutil (API)
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Nov 8 20:32:36 EST 2019
martinvonz added inline comments.
INLINE COMMENTS
> util.py:3494-3499
> def finddirs(path):
> pos = path.rfind(b'/')
> while pos != -1:
> yield path[:pos]
> pos = path.rfind(b'/', 0, pos)
> yield b''
Could you follow up with a patch to move this one as well?
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7311/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7311
To: marmoute, durin42, martinvonz, #hg-reviewers, Alphare, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list