sapling/remotefilelog
Olivier Trempe 9f5acf47bd windows: chmod file to be writable before deleting
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.
2016-05-20 08:37:49 -07:00
..
__init__.py windows: PWD environment variable not available 2016-05-20 08:33:34 -07:00
basestore.py windows: chmod file to be writable before deleting 2016-05-20 08:37:49 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
constants.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
contentstore.py store: force remote stores to always check the shared cache 2016-05-16 10:59:09 -07:00
datapack.py datapack: make fanout size dynamic 2016-05-16 10:59:09 -07:00
debugcommands.py packs: add debug commands to view pack contents 2016-05-16 10:59:09 -07:00
fileserverclient.py windows: grp module not supported 2016-05-20 08:08:57 -07:00
historypack.py historypack: fix handling of section lookup key errors 2016-05-16 10:59:09 -07:00
metadatastore.py store: force remote stores to always check the shared cache 2016-05-16 10:59:09 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelogserver.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
repack.py repack: don't require complete history during data repack 2016-05-16 10:59:09 -07:00
shallowbundle.py shallowbundle: fix broken fallback orig call 2016-04-28 17:34:08 -07:00
shallowrepo.py repack: don't require complete history during data repack 2016-05-16 10:59:09 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py windows: chmod file to be writable before deleting 2016-05-20 08:37:49 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00