Show More
@@ -273,7 +273,7 b' def rebuildfncache(ui, repo):' | |||
|
273 | 273 | |
|
274 | 274 | ui.progress(_('changeset'), None) |
|
275 | 275 | |
|
276 | if 'treemanifest' in repo: # safe but unnecessary otherwise | |
|
276 | if 'treemanifest' in repo.requirements: # safe but unnecessary otherwise | |
|
277 | 277 | for dir in util.dirs(seenfiles): |
|
278 | 278 | i = 'meta/%s/00manifest.i' % dir |
|
279 | 279 | d = 'meta/%s/00manifest.d' % dir |
@@ -465,6 +465,39 b' Add some more changes to the deep repo' | |||
|
465 | 465 | $ echo troz >> b/bar/orange/fly/gnat.py |
|
466 | 466 | $ hg ci -m troz |
|
467 | 467 | |
|
468 | Verify works | |
|
469 | $ hg verify | |
|
470 | checking changesets | |
|
471 | checking manifests | |
|
472 | crosschecking files in changesets and manifests | |
|
473 | checking files | |
|
474 | 8 files, 3 changesets, 10 total revisions | |
|
475 | ||
|
476 | Dirlogs are included in fncache | |
|
477 | $ grep meta/.A/00manifest.i .hg/store/fncache | |
|
478 | meta/.A/00manifest.i | |
|
479 | ||
|
480 | Rebuilt fncache includes dirlogs | |
|
481 | $ rm .hg/store/fncache | |
|
482 | $ hg debugrebuildfncache | |
|
483 | adding data/.A/one.txt.i | |
|
484 | adding data/.A/two.txt.i | |
|
485 | adding data/b/bar/fruits.txt.i | |
|
486 | adding data/b/bar/orange/fly/gnat.py.i | |
|
487 | adding data/b/bar/orange/fly/housefly.txt.i | |
|
488 | adding data/b/foo/apple/bees/flower.py.i | |
|
489 | adding data/c.txt.i | |
|
490 | adding data/d.py.i | |
|
491 | adding meta/.A/00manifest.i | |
|
492 | adding meta/b/00manifest.i | |
|
493 | adding meta/b/bar/00manifest.i | |
|
494 | adding meta/b/bar/orange/00manifest.i | |
|
495 | adding meta/b/bar/orange/fly/00manifest.i | |
|
496 | adding meta/b/foo/00manifest.i | |
|
497 | adding meta/b/foo/apple/00manifest.i | |
|
498 | adding meta/b/foo/apple/bees/00manifest.i | |
|
499 | 16 items added, 0 removed from fncache | |
|
500 | ||
|
468 | 501 | Test cloning a treemanifest repo over http. |
|
469 | 502 | $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --errorlog=errors.log |
|
470 | 503 | $ cat hg.pid >> $DAEMON_PIDS |
General Comments 0
You need to be logged in to leave comments.
Login now