Mercurial > hg
comparison hgext/remotefilelog/__init__.py @ 51370:0d414fb8336f
cleanup: remove unnecessary list constructor calls around list comprehensions
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Fri, 02 Feb 2024 03:39:37 +0100 |
parents | d718eddf01d9 |
children |
comparison
equal
deleted
inserted
replaced
51369:508fd40dc86a | 51370:0d414fb8336f |
---|---|
581 | 581 |
582 | 582 |
583 # prevent strip from stripping remotefilelogs | 583 # prevent strip from stripping remotefilelogs |
584 def _collectbrokencsets(orig, repo, files, striprev): | 584 def _collectbrokencsets(orig, repo, files, striprev): |
585 if isenabled(repo): | 585 if isenabled(repo): |
586 files = list([f for f in files if not repo.shallowmatch(f)]) | 586 files = [f for f in files if not repo.shallowmatch(f)] |
587 return orig(repo, files, striprev) | 587 return orig(repo, files, striprev) |
588 | 588 |
589 | 589 |
590 # changectx wrappers | 590 # changectx wrappers |
591 def filectx(orig, self, path, fileid=None, filelog=None): | 591 def filectx(orig, self, path, fileid=None, filelog=None): |