- Feb 01, 2016
-
-
Martin von Zweigbergk authored
The verify code is pretty poorly tested. It's easy to test missing revlogs and missing revlog entries, so let's add tests for that. Also add some more tests corrupting each type of revlog, so we test the messages presented when reading a revision fails. The pure and native implementations produce different error messages, so we have to use (glob) in the tests.
-
- Jun 21, 2015
-
-
Gregory Szorc authored
Corrupt fncache is now a recoverable operation. Inform the user how to recover from this warning.
-
- Jun 19, 2015
-
-
Matt Mackall authored
This is a message about cache corruption, not repository corruption or actually missing files. Fix message and reduce to a warning.
-
- Jun 08, 2015
-
-
Matt Mackall authored
$TESTDIR is added to the path, so this is superfluous. Also, inconsistent use of quotes means we might have broken on tests with paths containing spaces.
-
- Aug 21, 2012
-
-
Patrick Mézard authored
Before this change: $ hg init $ hg branch foo $ hg ci -m branchfoo $ hg verify checking changesets checking manifests 0: empty or missing manifest crosschecking files in changesets and manifests checking files 0 files, 1 changesets, 0 total revisions 1 integrity errors encountered! (first damaged changeset appears to be 0) [1]
-
- Jun 10, 2012
-
-
kiilerix authored
Some tests ended up in a directory several directories deeper than $TESTTMP, usually because some 'cd ..' had been forgotten between different test cases. Add 'cd ..' where they are missing so the tests get back where they started.
-
- Sep 17, 2010
-
-
Matt Mackall authored
-
- Sep 16, 2010
-
-
Matt Mackall authored
-
- Sep 06, 2010
-
-
Thomas Arendsen Hein authored
-
- Sep 05, 2010
-
-
Thomas Arendsen Hein authored
With revlog format v0 the .d files are empty if the only revision stored is an empty file. Since Mercurial can no longer create format v0 repositories, but still use it, add a script which creates a repository with a single empty file. This can be used in other tests if wanted.
-
- Aug 12, 2010
-
-
Nicolas Dumazet authored
-
- Nov 02, 2009
-
-
Sune Foldager authored
-
- Jun 04, 2009
-
-
Will Maier authored
'head -c' isn't supported on (at least) OpenBSD and is not part of SUSv3. Instead, use dd. See also: http://www.opengroup.org/onlinepubs/009695399/utilities/head.html
-
- Apr 26, 2009
-
-
Martin Geisler authored
The tests are executed with a .hgrc file which adds "-d '0 0'" by default.
-
- Apr 06, 2009
-
-
Benoit Boissinot authored
Initial patch and test thanks to Nicolas Dumazet.
-
- Aug 14, 2008
-
-
Matt Mackall authored
-
Adrian Buehlmann authored
-