Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 329:e2ae72792f56
treesum: FIX: typo in parameter name: output_tyle -> output_style
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 26 Mar 2025 23:44:30 +0100 |
| parents | 97bba2295eb3 |
| children | 61cbae10103c |
comparison
equal
deleted
inserted
replaced
| 328:97bba2295eb3 | 329:e2ae72792f56 |
|---|---|
| 454 "every kind of every item in `fnmatch_filters' must be" | 454 "every kind of every item in `fnmatch_filters' must be" |
| 455 " \"include\", \"exclude\" or \"accept-treesum\"" | 455 " \"include\", \"exclude\" or \"accept-treesum\"" |
| 456 ) | 456 ) |
| 457 if generator not in ("normal", "full", "none"): | 457 if generator not in ("normal", "full", "none"): |
| 458 raise ValueError("given generator `%s' not allowed" % (generator, )) | 458 raise ValueError("given generator `%s' not allowed" % (generator, )) |
| 459 if output_tyle not in ("tagged", "tag"): | 459 if output_style not in ("tagged", "tag"): |
| 460 raise ValueError( | 460 raise ValueError( |
| 461 "given output_style `%s' not allowed" % (output_style,)) | 461 "given output_style `%s' not allowed" % (output_style,)) |
| 462 | 462 |
| 463 # Not following symlinks to files is not yet supported: reset to True | 463 # Not following symlinks to files is not yet supported: reset to True |
| 464 # if not follow_symlinks.file: | 464 # if not follow_symlinks.file: |
