Mercurial > hg
diff hgext/lfs/__init__.py @ 35924:d857cad588e4
lfs: prefetch lfs blobs during revert
The revert command oddly prints out what it will do before requesting the files
to be prefetched. But the 'need to transfer' line indicates the blobs are being
grouped.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 04 Feb 2018 00:33:28 -0500 |
parents | 0b79f99fd7b0 |
children | eefb5d603482 |
line wrap: on
line diff
--- a/hgext/lfs/__init__.py Sun Feb 04 14:14:28 2018 -0500 +++ b/hgext/lfs/__init__.py Sun Feb 04 00:33:28 2018 -0500 @@ -333,6 +333,7 @@ wrapfunction(hg, 'postshare', wrapper.hgpostshare) wrapfunction(merge, 'applyupdates', wrapper.mergemodapplyupdates) + wrapfunction(cmdutil, '_prefetchfiles', wrapper.cmdutilprefetchfiles) # Make bundle choose changegroup3 instead of changegroup2. This affects # "hg bundle" command. Note: it does not cover all bundle formats like