largefiles: actions will now always have a file - drop check
authorMads Kiilerich <madski@unity3d.com>
Sun, 17 Jan 2016 19:29:27 +0100
changeset 27905 27f2f5c1d499
parent 27904 ee3123e19db9
child 27906 c183f7b79541
largefiles: actions will now always have a file - drop check
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Sun Jan 17 19:29:27 2016 +0100
+++ b/hgext/largefiles/overrides.py	Sun Jan 17 19:29:27 2016 +0100
@@ -464,7 +464,7 @@
     # 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: