changeset 200:22f92bf3572c

Print the FSENCODING in uppdercase characters always. So the CRC has a better chance to be identical for different Python versions if all the other data is identical too.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 17 Jan 2025 20:12:58 +0100
parents b2aba84ca426
children 58d93453c307
files cutils/treesum.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cutils/treesum.py	Fri Jan 17 15:24:08 2025 +0100
+++ b/cutils/treesum.py	Fri Jan 17 20:12:58 2025 +0100
@@ -353,7 +353,7 @@
         self._outfp.resetdigest()
         self._outfp.write(format_bsd_line("VERSION", "1", None, False))
         self._outfp.write(format_bsd_line(
-            "FSENCODING", util.n(walk.getfsencoding()), None, False))
+            "FSENCODING", util.n(walk.getfsencoding().upper()), None, False))
         self._outfp.flush()
 
         #