Mercurial > hg
comparison tests/test-subrepo-svn.t @ 31656:0192aa8626c1
largefiles: avoid redundant loop to eliminate None from list
Before this patch, this code path contains two loops for m._files: one
for replacement with standin, and another for elimination of None,
which comes from previous replacement ("standin in wctx or
lfdirstate[f] == 'r'" case in tostandin()).
These two loops can be unified into simple one "for" loop.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 27 Mar 2017 09:44:35 +0900 |
parents | a145161debed |
children | 6d88468d435b 173ecccb9ee7 |
comparison
equal
deleted
inserted
replaced
31655:9d075911df49 | 31656:0192aa8626c1 |
---|