mercurial/hgweb/webcommands.py
changeset 51284 f15cb5111a1e
parent 50926 18c8c18993f0
child 51686 493034cc3265
child 51785 99632adff795
equal deleted inserted replaced
51283:81224afd938d 51284:f15cb5111a1e
   514 
   514 
   515 
   515 
   516 rev = webcommand(b'rev')(changeset)
   516 rev = webcommand(b'rev')(changeset)
   517 
   517 
   518 
   518 
   519 def decodepath(path):
   519 def decodepath(path: bytes) -> bytes:
   520     # type: (bytes) -> bytes
       
   521     """Hook for mapping a path in the repository to a path in the
   520     """Hook for mapping a path in the repository to a path in the
   522     working copy.
   521     working copy.
   523 
   522 
   524     Extensions (e.g., largefiles) can override this to remap files in
   523     Extensions (e.g., largefiles) can override this to remap files in
   525     the virtual file system presented by the manifest command below."""
   524     the virtual file system presented by the manifest command below."""