# HG changeset patch # User Arseniy Alekseyev # Date 1673453766 0 # Node ID 5f664401dd034afea6a7f68be825b7fe2008c8aa # Parent c7624b1ac8b444ded8ad291314ca78169e92dc7b typing: use python3-style type annotation diff -r c7624b1ac8b4 -r 5f664401dd03 mercurial/pathutil.py --- a/mercurial/pathutil.py Wed Jan 04 17:14:33 2023 +0000 +++ b/mercurial/pathutil.py Wed Jan 11 16:16:06 2023 +0000 @@ -129,8 +129,7 @@ if self._cached: self.audited.add(path) - def _checkfs_exists(self, prefix, path): - # type: (bytes, bytes) -> bool + def _checkfs_exists(self, prefix: bytes, path: bytes) -> bool: """raise exception if a file system backed check fails. Return a bool that indicates that the directory (or file) exists."""