##// END OF EJS Templates
histedit: more precise user message when changeset is missing...
histedit: more precise user message when changeset is missing Now that we explicitly detect duplicated changesets, we can explicitly detect missing ones. We cover the same cases as before, some others and we offer a better error message in all cases.

File last commit:

r16913:f2719b38 default
r19048:1163ff06 default
Show More
test-empty.t
55 lines | 840 B | text/troff | Tads3Lexer
Matt Mackall
tests: unify test-empty
r11743 Create an empty repo:
$ hg init a
$ cd a
Try some commands:
$ hg log
$ hg grep wah
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Matt Mackall
tests: unify test-empty
r11743 $ hg manifest
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
0 files, 0 changesets, 0 total revisions
Check the basic files created:
$ ls .hg
00changelog.i
requires
store
Should be empty:
$ ls .hg/store
Poke at a clone:
$ cd ..
$ hg clone a b
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd b
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
0 files, 0 changesets, 0 total revisions
$ ls .hg
00changelog.i
branch
dirstate
hgrc
requires
store
Should be empty:
$ ls .hg/store
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..