Skip to content
Snippets Groups Projects
  • Mads Kiilerich's avatar
    328545c7
    largefiles: fix 'deleted' files sometimes persistently appearing with R status · 328545c7
    Mads Kiilerich authored
    A code snippet that has been around since largefiles was introduced was wrong:
    Standins no longer found in lfdirstate has *not* been removed -
    they have probably just been deleted ... or not created.
    
    This wrong reporting did that 'up -C' didn't undo the change and didn't sync
    the two dirstates.
    
    Instead of reporting such files as removed, propagate the deletion to the
    standin file and report the file as deleted.
    328545c7
    History
    largefiles: fix 'deleted' files sometimes persistently appearing with R status
    Mads Kiilerich authored
    A code snippet that has been around since largefiles was introduced was wrong:
    Standins no longer found in lfdirstate has *not* been removed -
    they have probably just been deleted ... or not created.
    
    This wrong reporting did that 'up -C' didn't undo the change and didn't sync
    the two dirstates.
    
    Instead of reporting such files as removed, propagate the deletion to the
    standin file and report the file as deleted.