Mercurial > public > mercurial-scm > hg
comparison hgext/fastannotate/context.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 | 45d5e9a0f6a6 |
comparison
equal
deleted
inserted
replaced
51698:b0a4de6c14f8 | 51699:ca7bde5dbafb |
---|---|
35 | 35 |
36 from . import ( | 36 from . import ( |
37 error as faerror, | 37 error as faerror, |
38 revmap as revmapmod, | 38 revmap as revmapmod, |
39 ) | 39 ) |
40 | |
40 | 41 |
41 # given path, get filelog, cached | 42 # given path, get filelog, cached |
42 @util.lrucachefunc | 43 @util.lrucachefunc |
43 def _getflog(repo, path): | 44 def _getflog(repo, path): |
44 return repo.file(path) | 45 return repo.file(path) |