Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/lfcommands.py @ 25508:b8fd605b0c88
largefiles: ignore hidden changesets with 'verify --large --lfa'
Previously, if there were any hidden changesets, the --lfa argument would cause
the command to abort with a hint about using --hidden when it tripped over a
hidden changeset.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 06 Jun 2015 22:10:18 -0400 |
parents | 238e5cd94bbc |
children | 2b2108c35bfc |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Wed Jun 10 14:49:27 2015 -0700 +++ b/hgext/largefiles/lfcommands.py Sat Jun 06 22:10:18 2015 -0400 @@ -364,9 +364,7 @@ matches the revision ID). With --all, check every changeset in this repository.''' if all: - # Pass a list to the function rather than an iterator because we know a - # list will work. - revs = range(len(repo)) + revs = repo.revs('all()') else: revs = ['.']