sapling/hgext/largefiles
Mads Kiilerich 4409f61ab2 largefiles: handle that a found standin file doesn't exist when removing it
I somehow ended up in a situation where hg crashed on an unlink I introduced in
8fd3fc1ef4c6.

I don't know how it happened and can't reproduce it. It seems like it only can
happen when the file is removed between the time of check in a working
directory context walk that finds a standin file, and the time of use when we
try to remove it because the corresponding largefile doesn't exist.

But better safe than sorry: replace the plain unlink with unlinkpath with
ignoremissing=True. That will also remove remaining empty directories, which
arguably is more correct.
2016-10-27 20:06:33 +02:00
..
__init__.py extensions: change magic "shipped with hg" string 2016-08-23 11:26:08 -04:00
basestore.py largefiles: use context for file closing 2016-10-08 00:59:41 +02:00
CONTRIBUTORS hgext: add largefiles extension 2011-09-24 17:35:45 +02:00
lfcommands.py largefiles: when setting/clearing x bit on largefiles, don't change other bits 2016-10-08 00:59:40 +02:00
lfutil.py util: increase filechunkiter size to 128k 2016-10-14 01:53:15 +02:00
localstore.py largefiles: always use filechunkiter when iterating files 2016-10-12 12:22:18 +02:00
overrides.py merge default into stable for 4.0 code freeze 2016-10-18 14:15:15 -05:00
proto.py util: increase filechunkiter size to 128k 2016-10-14 01:53:15 +02:00
remotestore.py largefiles: always use filechunkiter when iterating files 2016-10-12 12:22:18 +02:00
reposetup.py largefiles: handle that a found standin file doesn't exist when removing it 2016-10-27 20:06:33 +02:00
storefactory.py largefiles: make storefactory._openstore public 2016-06-14 11:21:41 +02:00
uisetup.py py3: make largefiles/uisetup.py use absolute_import 2016-05-10 15:14:41 +02:00
wirestore.py py3: make largefiles/wirestore.py use absolute_import 2016-05-10 15:20:04 +02:00