##// END OF EJS Templates
tests: remove unneeded -d flags...
tests: remove unneeded -d flags Many tests fixed the commit date of their changesets at '1000000 0' or similar. However testing with "Mon Jan 12 13:46:40 1970 +0000" is not better than testing with "Thu Jan 01 00:00:00 1970 +0000", which is the default run-tests.py installs. Removing the unnecessary flag removes some clutter and will hopefully make it clearer what the tests are really trying to test. Some tests did not even change their output when the dates were changed, in which case the -d flag was truly irrelevant. Dates used in sequence (such as '0 0', '1 0', etc...) were left alone since they may make the test easier to understand.

File last commit:

r11200:12e5149c default
r12156:4c94b6d0 default
Show More
test-repair-strip.out
92 lines | 2.5 KiB | text/plain | TextLexer
/ tests / test-repair-strip.out
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 % before update 0, strip 2
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 changeset: 0:cb9a9f314b8b
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: a
Matt Mackall
strip: improve full backup message
r11200 saved backup bundle
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 transaction abort!
failed to truncate data/b.i
rollback failed - please run hg recover
Matt Mackall
strip: be quiet about temporary internal bundle
r11197 strip failed, full bundle
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 abort: Permission denied .hg/store/data/b.i
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 % after update 0, strip 2
Sune Foldager
verify: report existence of journal
r9690 abandoned transaction found - run hg recover
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 b@?: rev 1 points to nonexistent changeset 2
(expected 1)
b@?: 736c29771fba not in manifests
Henrik Stuart
transaction: refactor transaction.abort and rollback to use the same code...
r8294 warning: orphan revlog 'data/c.i'
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 2 files, 2 changesets, 3 total revisions
Henrik Stuart
transaction: refactor transaction.abort and rollback to use the same code...
r8294 2 warnings encountered!
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 2 integrity errors encountered!
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 % journal contents
00changelog.i
00manifest.i
data/b.i
data/c.i
rolling back interrupted transaction
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 2 files, 2 changesets, 2 total revisions
% before update 0, strip 2
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 changeset: 0:cb9a9f314b8b
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: a
abort: Permission denied .hg/store/data/b.i
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 % after update 0, strip 2
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 3 files, 4 changesets, 4 total revisions
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 % journal contents
Mads Kiilerich
test-repair-strip: Don't rely on cat error message
r9284 (no journal)
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 % before update 0, strip 2
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 changeset: 0:cb9a9f314b8b
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: a
Matt Mackall
strip: improve full backup message
r11200 saved backup bundle
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 transaction abort!
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 failed to truncate 00manifest.i
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 rollback failed - please run hg recover
Matt Mackall
strip: be quiet about temporary internal bundle
r11197 strip failed, full bundle
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 abort: Permission denied .hg/store/00manifest.i
% after update 0, strip 2
Sune Foldager
verify: report existence of journal
r9690 abandoned transaction found - run hg recover
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 checking changesets
checking manifests
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 manifest@?: rev 2 points to nonexistent changeset 2
Peter Arrenbrecht
verify: detect manifest revs not in any changeset
r8394 manifest@?: 3362547cdf64 not in changesets
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 manifest@?: rev 3 points to nonexistent changeset 3
Peter Arrenbrecht
verify: detect manifest revs not in any changeset
r8394 manifest@?: 265a85892ecb not in changesets
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 crosschecking files in changesets and manifests
Henrik Stuart
transaction: refactor transaction.abort and rollback to use the same code...
r8294 c@3: in manifest but not in changeset
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 checking files
Henrik Stuart
transaction: refactor transaction.abort and rollback to use the same code...
r8294 b@?: rev 1 points to nonexistent changeset 2
(expected 1)
c@?: rev 0 points to nonexistent changeset 3
3 files, 2 changesets, 4 total revisions
1 warnings encountered!
Peter Arrenbrecht
verify: detect manifest revs not in any changeset
r8394 7 integrity errors encountered!
Henrik Stuart
transaction: refactor transaction.abort and rollback to use the same code...
r8294 (first damaged changeset appears to be 3)
Henrik Stuart
strip: make repair.strip transactional to avoid repository corruption...
r8073 % journal contents
00changelog.i
00manifest.i
data/b.i
data/c.i
rolling back interrupted transaction
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Henrik Stuart
test: change repair strip test to illustrate manifest errors
r8293 2 files, 2 changesets, 2 total revisions