Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 159:5c23ad9a3f8f
FIX: Add --mode and --full-mode to the "FLAGS" output
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 07 Jan 2025 12:55:45 +0100 |
| parents | d8cdd1985d43 |
| children | 432fe71300d3 |
comparison
equal
deleted
inserted
replaced
| 158:d8cdd1985d43 | 159:5c23ad9a3f8f |
|---|---|
| 277 outfp.write(format_bsd_line("VERSION", "1", None, False)) | 277 outfp.write(format_bsd_line("VERSION", "1", None, False)) |
| 278 outfp.flush() | 278 outfp.flush() |
| 279 | 279 |
| 280 # Note given non-default flags that are relevant for directory traversal | 280 # Note given non-default flags that are relevant for directory traversal |
| 281 flags = [] | 281 flags = [] |
| 282 if with_metadata_full_mode: | |
| 283 flags.append("with-metadata-fullmode") | |
| 284 elif with_metadata_mode: | |
| 285 flags.append("with-metadata-mode") | |
| 282 if with_metadata_mtime: | 286 if with_metadata_mtime: |
| 283 flags.append("with-metadata-mtime") | 287 flags.append("with-metadata-mtime") |
| 284 if handle_root_logical: | 288 if handle_root_logical: |
| 285 flags.append("logical") | 289 flags.append("logical") |
| 286 if follow_directory_symlinks: | 290 if follow_directory_symlinks: |
