mercurial/posix.py
changeset 51799 1888846a1ee2
parent 51720 e618a1756b08
child 51834 454feddab720
equal deleted inserted replaced
51797:2f8e7e384178 51799:1888846a1ee2
   211 
   211 
   212 
   212 
   213 def copymode(
   213 def copymode(
   214     src: bytes,
   214     src: bytes,
   215     dst: bytes,
   215     dst: bytes,
   216     mode: Optional[bytes] = None,
   216     mode: Optional[int] = None,
   217     enforcewritable: bool = False,
   217     enforcewritable: bool = False,
   218 ) -> None:
   218 ) -> None:
   219     """Copy the file mode from the file at path src to dst.
   219     """Copy the file mode from the file at path src to dst.
   220     If src doesn't exist, we're using mode instead. If mode is None, we're
   220     If src doesn't exist, we're using mode instead. If mode is None, we're
   221     using umask."""
   221     using umask."""