Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 299:bcbc68d8aa12
treesum: remove not obsolete comment about not following symlinks to files
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 04 Mar 2025 11:26:22 +0100 |
| parents | 4a259fb9968e |
| children | 1fc117f5f9a1 |
comparison
equal
deleted
inserted
replaced
| 298:16a5c337fcb9 | 299:bcbc68d8aa12 |
|---|---|
| 351 curval = FollowSymlinkConfig( | 351 curval = FollowSymlinkConfig( |
| 352 curval.command_line, curval.directory, False) | 352 curval.command_line, curval.directory, False) |
| 353 else: | 353 else: |
| 354 assert False, "Implementation error: not yet implemented" | 354 assert False, "Implementation error: not yet implemented" |
| 355 | 355 |
| 356 # Not following symlinks to files is not yet supported: reset to True | |
| 357 # if not curval.file: | |
| 358 # curval = FollowSymlinkConfig( | |
| 359 # curval.command_line, curval.directory, True) | |
| 360 # logging.warning("Coercing options to `follow-file-symlinks'") | |
| 361 setattr(namespace, self.dest, curval) | 356 setattr(namespace, self.dest, curval) |
| 362 | 357 |
| 363 | 358 |
| 364 def gen_generate_opts(directories=[], | 359 def gen_generate_opts(directories=[], |
| 365 algorithm=util.default_algotag(), | 360 algorithm=util.default_algotag(), |
