##// 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-nested-repo.t
41 lines | 559 B | text/troff | Tads3Lexer
/ tests / test-nested-repo.t
Adrian Buehlmann
combine tests
r12279 $ hg init a
$ cd a
$ hg init b
$ echo x > b/x
Should print nothing:
$ hg add b
$ hg st
Should fail:
$ hg st b/x
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 abort: path 'b/x' is inside nested repo 'b' (glob)
Matt Mackall
tests: add exit codes to unified tests
r12316 [255]
Adrian Buehlmann
combine tests
r12279 $ hg add b/x
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 abort: path 'b/x' is inside nested repo 'b' (glob)
Matt Mackall
tests: add exit codes to unified tests
r12316 [255]
Adrian Buehlmann
combine tests
r12279
Should fail:
$ hg add b b/x
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 abort: path 'b/x' is inside nested repo 'b' (glob)
Matt Mackall
tests: add exit codes to unified tests
r12316 [255]
Adrian Buehlmann
combine tests
r12279 $ hg st
Should arguably print nothing:
$ hg st b
$ echo a > a
$ hg ci -Ama a
Should fail:
$ hg mv a b
Mads Kiilerich
tests: make (glob) on windows accept \ instead of /...
r15447 abort: path 'b/a' is inside nested repo 'b' (glob)
Matt Mackall
tests: add exit codes to unified tests
r12316 [255]
Adrian Buehlmann
combine tests
r12279 $ hg st
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913 $ cd ..