sapling/hgext
Matt Harbison 1eac95a707 lfs: introduce a user level cache for lfs files
This is the same mechanism in place for largefiles, and solves several problems
working with multiple local repositories.  The existing largefiles method is
reused in place, because I suspect that there are other functions that can be
shared.  If we wait a bit to identify more before `hg cp lfutil.py ...`, the
history will be easier to trace.

The push between repo14 and repo15 in test-lfs.t arguably shouldn't be uploading
any files with a local push.  Maybe we can revisit that when `hg push` without
'lfs.url' can upload files to the push destination.  Then it would be consistent
for blobs in a local push to be linked to the local destination's cache.

The cache property is added to run-tests.py, the same as the largefiles
property, so that test generated files don't pollute the real location.  Having
files available locally broke a couple existing lfs-test-server tests, so the
cache is cleared in a few places to force file download.
2017-12-06 22:56:15 -05:00
..
convert merge with stable 2017-12-04 11:28:29 -05:00
fsmonitor fsmonitor: use nonnormalset from dirstatemap 2017-10-18 15:42:44 -07:00
highlight highlight: put pygments import inside demandimport.deactivated 2017-06-18 23:05:54 -04:00
largefiles largefiles: refactor _usercachedir() to allow reuse with lfs 2017-12-05 23:08:59 -05:00
lfs lfs: introduce a user level cache for lfs files 2017-12-06 22:56:15 -05:00
zeroconf zeroconf: do not crash if socket being read is closed by another thread 2017-10-02 20:23:25 -07:00
__init__.py hgext: officially turn 'hgext' into a namespace package 2016-02-27 12:56:26 +01:00
acl.py acl: make sure the extensions is enabled when the acl-hooks run 2017-10-14 01:16:03 +02:00
amend.py py3: handle keyword arguments in hgext/amend.py 2017-10-22 23:51:57 +05:30
automv.py py3: handle keyword arguments in hgext/automv.py 2017-10-22 23:52:22 +05:30
blackbox.py py3: handle keyword arguments in hgext/blackbox.py 2017-10-22 23:52:47 +05:30
bugzilla.py py3: make sure the first argument of time.strftime() is str 2017-11-29 08:44:06 +05:30
censor.py registrar: move cmdutil.command to registrar module (API) 2016-01-09 23:07:20 +09:00
children.py children: fix the log expansion of hg children in doc 2017-10-31 06:39:38 +05:30
churn.py py3: handle keyword arguments in hgext/churn.py 2017-10-23 00:01:16 +05:30
clonebundles.py clonebundles: reference correct config option 2017-06-10 11:33:57 -07:00
commitextras.py py3: handle keyword arguments in hgext/commitextras.py 2017-10-23 00:01:45 +05:30
eol.py eol: ensure the eol extensions is loaded when hooks run 2017-10-14 01:09:46 +02:00
extdiff.py py3: handle keyword arguments in hgext/extdiff.py 2017-10-23 00:02:07 +05:30
factotum.py configitems: register the 'factotum.service' config 2017-06-30 03:42:15 +02:00
fetch.py py3: handle keyword arguments in hgext/fetch.py 2017-10-23 00:02:28 +05:30
gpg.py py3: handle keyword arguments in hgext/gpg.py 2017-10-23 00:02:46 +05:30
graphlog.py py3: handle keyword arguments in hgext/graphlog.py 2017-10-23 00:03:08 +05:30
hgk.py py3: handle keyword arguments in hgext/hgk.py 2017-10-23 00:03:27 +05:30
histedit.py registrar: host "dynamicdefault" constant by configitem object 2017-10-21 13:13:20 +09:00
journal.py lock: use configint for 'ui.timeout' config 2017-11-29 21:00:02 -05:00
keyword.py py3: handle keyword arguments in hgext/keyword.py 2017-10-23 00:04:30 +05:30
logtoprocess.py logtoprocess: clean-up old comment 2017-11-03 21:01:20 +01:00
mq.py py3: add b'' to regular expressions which are raw strings 2017-11-29 04:47:27 +05:30
notify.py configitem: register the 'notify.changegroup' config 2017-10-13 21:50:43 +02:00
pager.py configitems: register the 'pager.attend-.*' options 2017-10-11 02:26:09 +02:00
patchbomb.py configitems: register 'email.to' and 'patchbomb.to' 2017-10-20 22:25:09 +09:00
purge.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
rebase.py rebase: use fm.formatlist() and fm.formatdict() to support user template 2017-10-28 17:50:25 +05:30
record.py commands: move templates of common command options to cmdutil (API) 2017-05-14 16:19:47 +09:00
releasenotes.py py3: handle keyword arguments in hgext/releasenotes.py 2017-10-23 00:05:04 +05:30
relink.py registrar: move cmdutil.command to registrar module (API) 2016-01-09 23:07:20 +09:00
schemes.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
share.py share: move config item declarations into core 2017-11-06 10:33:40 -08:00
shelve.py py3: handle keyword arguments in hgext/shelve.py 2017-10-23 00:06:49 +05:30
show.py show: move configitems to core 2017-10-18 15:05:03 -07:00
sparse.py py3: use byteskwargs in sparse.py 2017-11-20 23:23:10 -08:00
strip.py strip: take branch into account when selecting update target (issue5540) 2017-10-05 16:13:05 +02:00
transplant.py configitems: register the 'transplant.log' config 2017-06-30 03:44:30 +02:00
uncommit.py rewriteutil: use precheck() in uncommit and amend commands 2017-11-28 05:50:45 +05:30
win32mbcs.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
win32text.py configitems: register the 'win32text.warn' config 2017-06-30 03:45:56 +02:00