changeset 27905:27f2f5c1d499

largefiles: actions will now always have a file - drop check
author Mads Kiilerich <madski@unity3d.com>
date Sun, 17 Jan 2016 19:29:27 +0100
parents ee3123e19db9
children c183f7b79541
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: