[PATCH 3 of 3] largefiles: actions will now always have a file - drop check
Mads Kiilerich
mads at kiilerich.com
Sun Jan 17 18:32:03 UTC 2016
# HG changeset patch
# User Mads Kiilerich <madski at unity3d.com>
# Date 1453055367 -3600
# Sun Jan 17 19:29:27 2016 +0100
# Node ID 7fed4affe9a63a0f2c5471f3bf37c27426d3dbb7
# Parent 635b2393cf30b5843ba9d3441fdaf57c6e2b8f4d
largefiles: actions will now always have a file - drop check
diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -470,7 +470,7 @@ def overridecalculateupdates(origfn, rep
# Convert to dictionary with filename as key and action as value.
lfiles = set()
for f in actions:
- splitstandin = f and lfutil.splitstandin(f)
+ splitstandin = lfutil.splitstandin(f)
if splitstandin in p1:
lfiles.add(splitstandin)
elif lfutil.standin(f) in p1:
More information about the Mercurial-devel
mailing list