Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 169:91b8b2a8aebc
Sort flags in the output
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 09 Jan 2025 18:11:38 +0100 |
| parents | bcc4441cf216 |
| children | 8945be6b404e |
comparison
equal
deleted
inserted
replaced
| 168:bcc4441cf216 | 169:91b8b2a8aebc |
|---|---|
| 299 if follow_directory_symlinks: | 299 if follow_directory_symlinks: |
| 300 flags.append("follow-directory-symlinks") | 300 flags.append("follow-directory-symlinks") |
| 301 if print_size: | 301 if print_size: |
| 302 flags.append("print-size") | 302 flags.append("print-size") |
| 303 if flags: | 303 if flags: |
| 304 flags.sort() | |
| 304 outfp.write(format_bsd_line("FLAGS", ",".join(flags), None, False)) | 305 outfp.write(format_bsd_line("FLAGS", ",".join(flags), None, False)) |
| 305 outfp.flush() | 306 outfp.flush() |
| 306 | 307 |
| 307 if minimal is None: | 308 if minimal is None: |
| 308 # Write execution timestamps in POSIX epoch and ISO format | 309 # Write execution timestamps in POSIX epoch and ISO format |
