comparison cutils/treesum.py @ 223:61e5b1c2685c

Commentx
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 25 Jan 2025 14:22:34 +0100
parents ca9d5a0dc9bb
children 07a0bc723139
comparison
equal deleted inserted replaced
222:d7be68a8937d 223:61e5b1c2685c
789 linkdgst.digest(), 789 linkdgst.digest(),
790 util.interpolate_bytes(b"%s/./@", opath), 790 util.interpolate_bytes(b"%s/./@", opath),
791 self._use_base64)) 791 self._use_base64))
792 self._outfp.flush() 792 self._outfp.flush()
793 else: 793 else:
794 # follow symlinks to files 794 #
795 # Follow the symlink to file or handle a "real" file
796 #
797
795 if self._utf8_mode: 798 if self._utf8_mode:
796 if fso.u8name is None: 799 if fso.u8name is None:
797 dir_tainted = True 800 dir_tainted = True
798 dir_dgst.update(util.interpolate_bytes( 801 dir_dgst.update(util.interpolate_bytes(
799 b"1:f,%d:%s,", 802 b"1:f,%d:%s,",