Mercurial > hg
diff hgext/lfs/__init__.py @ 44072:1a6dd50cd0db
lfs: don't skip locally available blobs when verifying
The `skipflags` config was introduced in a2ab9ebcd85b, which specifically calls
out downloading and storing all blobs as potentially too expensive. But I don't
see any reason to skip blobs that are already available locally. Hashing the
blob is the only way to indirectly verify the rawdata content stored in the
revlog.
(The note in that commit about skipping renamed is still correct, but the reason
given about needing fulltext isn't.)
Differential Revision: https://phab.mercurial-scm.org/D7712
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 22 Dec 2019 23:50:19 -0500 |
parents | 34e8305f02bd |
children | 87167caa2989 |
line wrap: on
line diff
--- a/hgext/lfs/__init__.py Fri Dec 20 01:11:35 2019 -0500 +++ b/hgext/lfs/__init__.py Sun Dec 22 23:50:19 2019 -0500 @@ -405,7 +405,8 @@ @eh.wrapcommand( - b'verify', opts=[(b'', b'no-lfs', None, _(b'skip all lfs blob content'))] + b'verify', + opts=[(b'', b'no-lfs', None, _(b'skip missing lfs blob content'))], ) def verify(orig, ui, repo, **opts): skipflags = repo.ui.configint(b'verify', b'skipflags')