Mercurial > hgrepos > Python > apps > py-cutils
diff cutils/treesum.py @ 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 | c1e875ba4bdc |
| children | b9b38584919b |
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() #
