mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
9f5acf47bd
On windows, you cannot delete a file if it is readonly. Since remotefilelog makes heavy use of readonly files, we need to chmod them to be writable before deleting them. We only do this on windows, since on unix based systems if the current user is not the owner of the file (and is just accessing the file via a shared group), they cannot chmod the file. Renames some variables to disambiguate the stat module as well. |
||
---|---|---|
.. | ||
__init__.py | ||
basestore.py | ||
cacheclient.py | ||
constants.py | ||
contentstore.py | ||
datapack.py | ||
debugcommands.py | ||
fileserverclient.py | ||
historypack.py | ||
metadatastore.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
repack.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py | ||
shallowutil.py | ||
shallowverifier.py |