Mercurial > hg
comparison tests/test-subrepo-recursion.t @ 37415:c2c8962a9465
simplestore: use a custom store for the simple store repo
Before, we used the default store, which was based on fncache
and dotencode. After attempting to port tests to work with the
simple store, I realized that fncache was more trouble than it is
worth.
This commit implements a proper store type for the simple repo -
one that isn't based off fncache.
This causes a number of new test failures because of tests
expecting the full fncache store filename encoding. I may
extend the store format in a subsequent commit to take the
filename encoding parts of fncache that we can take
(basically everything except hash encoding, since that isn't
reversible). But for now, let's use encoded store.
As part of this, we implement proper requirements support for
repos created with the simple store. This should have been
done from the beginning, as a requirement is needed to lock
out clients that don't understand a storage format.
A new hghave feature advertising the presence of fncache in repos
has been added. Most tests touching the fncache are now conditional
on that feature.
Other tests have added the optional repo requirement to output.
Differential Revision: https://phab.mercurial-scm.org/D3095
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 Apr 2018 14:09:02 -0700 |
parents | cbc4425e81b5 |
children | 06674aab2b4c |
comparison
equal
deleted
inserted
replaced
37414:2d965bfeb8f6 | 37415:c2c8962a9465 |
---|---|
464 linking [ <=> ] 8\r (no-eol) (esc) | 464 linking [ <=> ] 8\r (no-eol) (esc) |
465 linking [ <=> ] 9\r (no-eol) (esc) (reposimplestore !) | 465 linking [ <=> ] 9\r (no-eol) (esc) (reposimplestore !) |
466 linking [ <=> ] 10\r (no-eol) (esc) (reposimplestore !) | 466 linking [ <=> ] 10\r (no-eol) (esc) (reposimplestore !) |
467 linking [ <=> ] 11\r (no-eol) (esc) (reposimplestore !) | 467 linking [ <=> ] 11\r (no-eol) (esc) (reposimplestore !) |
468 linking [ <=> ] 12\r (no-eol) (esc) (reposimplestore !) | 468 linking [ <=> ] 12\r (no-eol) (esc) (reposimplestore !) |
469 linking [ <=> ] 13\r (no-eol) (esc) (reposimplestore !) | |
470 \r (no-eol) (esc) | 469 \r (no-eol) (esc) |
471 #else | 470 #else |
472 $ hg clone -U . ../empty | 471 $ hg clone -U . ../empty |
473 \r (no-eol) (esc) | 472 \r (no-eol) (esc) |
474 linking [ <=> ] 1 (no-eol) | 473 linking [ <=> ] 1 (no-eol) |
496 linking [ <=> ] 10\r (no-eol) (esc) (reposimplestore !) | 495 linking [ <=> ] 10\r (no-eol) (esc) (reposimplestore !) |
497 linking [ <=> ] 11\r (no-eol) (esc) (reposimplestore !) | 496 linking [ <=> ] 11\r (no-eol) (esc) (reposimplestore !) |
498 linking [ <=> ] 12\r (no-eol) (esc) (reposimplestore !) | 497 linking [ <=> ] 12\r (no-eol) (esc) (reposimplestore !) |
499 linking [ <=> ] 13\r (no-eol) (esc) (reposimplestore !) | 498 linking [ <=> ] 13\r (no-eol) (esc) (reposimplestore !) |
500 linking [ <=> ] 14\r (no-eol) (esc) (reposimplestore !) | 499 linking [ <=> ] 14\r (no-eol) (esc) (reposimplestore !) |
501 linking [ <=> ] 15\r (no-eol) (esc) (reposimplestore !) | |
502 \r (no-eol) (esc) | 500 \r (no-eol) (esc) |
503 \r (no-eol) (esc) | 501 \r (no-eol) (esc) |
504 archiving (foo) [ ] 0/3\r (no-eol) (esc) | 502 archiving (foo) [ ] 0/3\r (no-eol) (esc) |
505 archiving (foo) [===========> ] 1/3\r (no-eol) (esc) | 503 archiving (foo) [===========> ] 1/3\r (no-eol) (esc) |
506 archiving (foo) [=======================> ] 2/3\r (no-eol) (esc) | 504 archiving (foo) [=======================> ] 2/3\r (no-eol) (esc) |
513 linking [ <=> ] 4\r (no-eol) (esc) | 511 linking [ <=> ] 4\r (no-eol) (esc) |
514 linking [ <=> ] 5\r (no-eol) (esc) | 512 linking [ <=> ] 5\r (no-eol) (esc) |
515 linking [ <=> ] 6\r (no-eol) (esc) | 513 linking [ <=> ] 6\r (no-eol) (esc) |
516 linking [ <=> ] 7\r (no-eol) (esc) (reposimplestore !) | 514 linking [ <=> ] 7\r (no-eol) (esc) (reposimplestore !) |
517 linking [ <=> ] 8\r (no-eol) (esc) (reposimplestore !) | 515 linking [ <=> ] 8\r (no-eol) (esc) (reposimplestore !) |
518 linking [ <=> ] 9\r (no-eol) (esc) (reposimplestore !) | |
519 \r (no-eol) (esc) | 516 \r (no-eol) (esc) |
520 \r (no-eol) (esc) | 517 \r (no-eol) (esc) |
521 archiving (foo/bar) [ ] 0/1\r (no-eol) (esc) | 518 archiving (foo/bar) [ ] 0/1\r (no-eol) (esc) |
522 archiving (foo/bar) [================================>] 1/1\r (no-eol) (esc) | 519 archiving (foo/bar) [================================>] 1/1\r (no-eol) (esc) |
523 \r (no-eol) (esc) | 520 \r (no-eol) (esc) |