changeset 51686 | 493034cc3265 |
parent 50926 | 18c8c18993f0 |
child 51696 | 7f0cb9ee0534 |
51685:39e2b2d062c1 | 51686:493034cc3265 |
---|---|
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) |