hgext/largefiles/overrides.py
changeset 42755 749ef8c31187
parent 42587 421fdf30c37c
child 43076 2372284d9457
equal deleted inserted replaced
42754:4e8f504424f3 42755:749ef8c31187
   457 
   457 
   458     # Convert to dictionary with filename as key and action as value.
   458     # Convert to dictionary with filename as key and action as value.
   459     lfiles = set()
   459     lfiles = set()
   460     for f in actions:
   460     for f in actions:
   461         splitstandin = lfutil.splitstandin(f)
   461         splitstandin = lfutil.splitstandin(f)
   462         if splitstandin in p1:
   462         if splitstandin is not None and splitstandin in p1:
   463             lfiles.add(splitstandin)
   463             lfiles.add(splitstandin)
   464         elif lfutil.standin(f) in p1:
   464         elif lfutil.standin(f) in p1:
   465             lfiles.add(f)
   465             lfiles.add(f)
   466 
   466 
   467     for lfile in sorted(lfiles):
   467     for lfile in sorted(lfiles):