# HG changeset patch # User Mads Kiilerich # Date 1382639110 -28800 # Node ID 593207462618527668e30d3423254bafa09eb9ad # Parent 8eb99e5cec4a014d00eafe2ac2d6fe5e0ab77d6a largefiles: remove extra check for file to get - it _is_ by definition in p2 diff -r 8eb99e5cec4a -r 593207462618 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Fri Oct 25 01:24:10 2013 +0800 +++ b/hgext/largefiles/overrides.py Fri Oct 25 02:25:10 2013 +0800 @@ -381,7 +381,7 @@ splitstandin = lfutil.splitstandin(f) if (m == "g" and splitstandin is not None and - splitstandin in p1 and f in p2): + splitstandin in p1): # Case 1: normal file in the working copy, largefile in # the second parent lfile = splitstandin @@ -394,7 +394,7 @@ processed.append((standin, "g", (p2.flags(standin),), msg)) else: processed.append((standin, "r", None, msg)) - elif m == "g" and lfutil.standin(f) in p1 and f in p2: + elif m == "g" and lfutil.standin(f) in p1: # Case 2: largefile in the working copy, normal file in # the second parent standin = lfutil.standin(f)