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