annotate .hgignore @ 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 a0cc15de8ae9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a962496fc9b6 Begin a repo for computing file digests
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 syntax: regexp
a962496fc9b6 Begin a repo for computing file digests
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2
a962496fc9b6 Begin a repo for computing file digests
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3 (^|/)_venv.*
a962496fc9b6 Begin a repo for computing file digests
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 \.py[co]$
28
ffe2d6320f2e Ignore some more names: all things with two leading underscores
Franz Glasner <fzglas.hg@dom66.de>
parents: 0
diff changeset
5 ^dist/
ffe2d6320f2e Ignore some more names: all things with two leading underscores
Franz Glasner <fzglas.hg@dom66.de>
parents: 0
diff changeset
6 ^build/
ffe2d6320f2e Ignore some more names: all things with two leading underscores
Franz Glasner <fzglas.hg@dom66.de>
parents: 0
diff changeset
7 ^py_cutils\.egg\-info/
65
a0cc15de8ae9 FIX: .hgignore
Franz Glasner <fzglas.hg@dom66.de>
parents: 28
diff changeset
8 ^__.*