comparison 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
comparison
equal deleted inserted replaced
35923:efbd04238029 35924:d857cad588e4
331 331
332 wrapfunction(hg, 'clone', wrapper.hgclone) 332 wrapfunction(hg, 'clone', wrapper.hgclone)
333 wrapfunction(hg, 'postshare', wrapper.hgpostshare) 333 wrapfunction(hg, 'postshare', wrapper.hgpostshare)
334 334
335 wrapfunction(merge, 'applyupdates', wrapper.mergemodapplyupdates) 335 wrapfunction(merge, 'applyupdates', wrapper.mergemodapplyupdates)
336 wrapfunction(cmdutil, '_prefetchfiles', wrapper.cmdutilprefetchfiles)
336 337
337 # Make bundle choose changegroup3 instead of changegroup2. This affects 338 # Make bundle choose changegroup3 instead of changegroup2. This affects
338 # "hg bundle" command. Note: it does not cover all bundle formats like 339 # "hg bundle" command. Note: it does not cover all bundle formats like
339 # "packed1". Using "packed1" with lfs will likely cause trouble. 340 # "packed1". Using "packed1" with lfs will likely cause trouble.
340 names = [k for k, v in exchange._bundlespeccgversions.items() if v == '02'] 341 names = [k for k, v in exchange._bundlespeccgversions.items() if v == '02']