annotate .hgkwarchive @ 177:089c40240061

Add an alternate implementation for generating directory tree digests: - Do not use something like os.walk() but use os.scandir() directly. - Recursively generate the subdirectory digests only when needed and in the right order. This fixes that the order of subdirectories in the output did not match the application order of its directory digests. The new implementation also should make filtering (that will be implemented later) easier. NOTE: The tree digests of the old and the new implementation are identical.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Jan 2025 17:41:28 +0100
parents c3268f4e752f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
af588129814b Configuring keyword expansion
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 [patterns]
73
c3268f4e752f Adjust all license notes to (a) more literally comply with the BSD3 templates and to the style guide
Franz Glasner <fzglas.hg@dom66.de>
parents: 32
diff changeset
2 path:cutils/__init__.py = RCS, reST
32
ed8c901aec21 FIX: keyword expansion
Franz Glasner <fzglas.hg@dom66.de>
parents: 31
diff changeset
3 path:README.txt = RCS, reST