sapling/remotefilelog
Durham Goode cfd60406ad store: add context manager to mutable pack classes
Summary:
Previously, if a repack failed, it would leave temporary pack files laying
around. By adding enter/exit functions to mutable packs, we can guarantee
cleanup happens.

Test Plan: Ran repack, verified that a failure did not leave tmp files

Reviewers: rmcelroy, quark, ttung, lcharignon, mitrandir

Reviewed By: mitrandir

Differential Revision: https://phabricator.intern.facebook.com/D3250201

Signature: t1:3250201:1462234552:7f20260a193ed1dd858bf6e9f489ac902d859218
2016-05-03 12:34:45 -07:00
..
__init__.py store: add context manager to mutable pack classes 2016-05-03 12:34:45 -07:00
basestore.py store: implement markledger and cleanup on stores 2016-05-03 12:33:00 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
contentstore.py store: implement markledger and cleanup on stores 2016-05-03 12:33:00 -07:00
datapack.py store: add context manager to mutable pack classes 2016-05-03 12:34:45 -07:00
debugcommands.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
fileserverclient.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
historypack.py store: add context manager to mutable pack classes 2016-05-03 12:34:45 -07:00
metadatastore.py store: implement markledger and cleanup on stores 2016-05-03 12:33:00 -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 checkcode: fix remotefilelogserver and shallowbundle 2016-04-26 13:00:31 -07:00
repack.py store: move history repack logic to repacker 2016-05-03 12:33:54 -07:00
shallowbundle.py shallowbundle: fix broken fallback orig call 2016-04-28 17:34:08 -07:00
shallowrepo.py checkcode: add check code test 2016-04-28 10:18:47 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py Move sortnodes into shallowutil 2016-04-26 15:10:38 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00