Mercurial > public > mercurial-scm > hg
comparison mercurial/scmutil.py @ 51699:ca7bde5dbafb
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 7f0cb9ee0534 |
children | 278af66e6595 |
comparison
equal
deleted
inserted
replaced
51698:b0a4de6c14f8 | 51699:ca7bde5dbafb |
---|---|
728 """build an exception to be raised about a filtered changeid | 728 """build an exception to be raised about a filtered changeid |
729 | 729 |
730 This is extracted in a function to help extensions (eg: evolve) to | 730 This is extracted in a function to help extensions (eg: evolve) to |
731 experiment with various message variants.""" | 731 experiment with various message variants.""" |
732 if repo.filtername.startswith(b'visible'): | 732 if repo.filtername.startswith(b'visible'): |
733 | |
734 # Check if the changeset is obsolete | 733 # Check if the changeset is obsolete |
735 unfilteredrepo = repo.unfiltered() | 734 unfilteredrepo = repo.unfiltered() |
736 ctx = revsymbol(unfilteredrepo, changeid) | 735 ctx = revsymbol(unfilteredrepo, changeid) |
737 | 736 |
738 # If the changeset is obsolete, enrich the message with the reason | 737 # If the changeset is obsolete, enrich the message with the reason |