# HG changeset patch # User Arseniy Alekseyev # Date 2023-01-11 16:16:06 # Node ID 5f664401dd034afea6a7f68be825b7fe2008c8aa # Parent c7624b1ac8b444ded8ad291314ca78169e92dc7b typing: use python3-style type annotation diff --git a/mercurial/pathutil.py b/mercurial/pathutil.py --- a/mercurial/pathutil.py +++ b/mercurial/pathutil.py @@ -129,8 +129,7 @@ class pathauditor: 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."""