Show More
@@ -364,9 +364,7 b' def verifylfiles(ui, repo, all=False, co' | |||
|
364 | 364 | matches the revision ID). With --all, check every changeset in |
|
365 | 365 | this repository.''' |
|
366 | 366 | if all: |
|
367 | # Pass a list to the function rather than an iterator because we know a | |
|
368 | # list will work. | |
|
369 | revs = range(len(repo)) | |
|
367 | revs = repo.revs('all()') | |
|
370 | 368 | else: |
|
371 | 369 | revs = ['.'] |
|
372 | 370 |
@@ -320,13 +320,21 b' from the working dir on a convert.' | |||
|
320 | 320 | Verify will fail (for now) if the usercache is purged before converting, since |
|
321 | 321 | largefiles are not cached in the converted repo's local store by the conversion |
|
322 | 322 | process. |
|
323 | $ cd largefiles-repo-hg | |
|
324 | $ cat >> .hg/hgrc <<EOF | |
|
325 | > [experimental] | |
|
326 | > evolution=createmarkers | |
|
327 | > EOF | |
|
328 | $ hg debugobsolete `hg log -r tip -T "{node}"` | |
|
329 | $ cd .. | |
|
330 | ||
|
323 | 331 | $ hg -R largefiles-repo-hg verify --large --lfa |
|
324 | 332 | checking changesets |
|
325 | 333 | checking manifests |
|
326 | 334 | crosschecking files in changesets and manifests |
|
327 | 335 | checking files |
|
328 | 336 | 9 files, 8 changesets, 13 total revisions |
|
329 |
searching |
|
|
337 | searching 7 changesets for largefiles | |
|
330 | 338 | changeset 0:d4892ec57ce2: large references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/2e000fa7e85759c7f4c254d4d9c33ef481e459a7 (glob) |
|
331 | 339 | changeset 1:334e5237836d: sub/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c (glob) |
|
332 | 340 | changeset 2:261ad3f3f037: stuff/maybelarge.dat references missing $TESTTMP/largefiles-repo-hg/.hg/largefiles/34e163be8e43c5631d8b92e9c43ab0bf0fa62b9c (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now