# HG changeset patch # User FUJIWARA Katsunori # Date 1328498189 -32400 # Node ID 67a5bc8aeb1d170b2ee57e1fa94527a79615acd8 # Parent b254f827b7a67534962a68c9e22d4564231ddce0 largefiles: reduce OR-ing of same conditions diff -r b254f827b7a6 -r 67a5bc8aeb1d hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Mon Feb 06 15:10:01 2012 -0600 +++ b/hgext/largefiles/overrides.py Mon Feb 06 12:16:29 2012 +0900 @@ -546,7 +546,7 @@ match = oldmatch(ctx, pats, opts, globbed, default) m = copy.copy(match) def tostandin(f): - if lfutil.standin(f) in ctx or lfutil.standin(f) in ctx: + if lfutil.standin(f) in ctx: return lfutil.standin(f) elif lfutil.standin(f) in repo[None]: return None