##// END OF EJS Templates
run-tests: use regex when searching for $HGPORT in test output...
run-tests: use regex when searching for $HGPORT in test output This prevents spurious errors when a changeset hash happens to match the port number. Before, this invocation gave a test failure: $ ./run-tests.py test-log.t --port 24427 ERROR: /home/mg/src/mercurial-crew/tests/test-log.t output changed --- /home/mg/src/mercurial-crew/tests/test-log.t +++ /home/mg/src/mercurial-crew/tests/test-log.t.err @@ -626,12 +626,12 @@ $ hg log -b default changeset: 2:c3a4f03cc9a7 - parent: 0:24427303d56f + parent: 0:$HGPORT303d56f user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: commit on default ...

File last commit:

r12327:92e30e13 default
r12895:53cfde2b stable
Show More
test-remove-new.t
13 lines | 263 B | text/troff | Tads3Lexer
/ tests / test-remove-new.t
Nicolas Dumazet
tests: unify test-remove-new
r12100 test that 'hg commit' does not crash if the user removes a newly added file
$ hg init
$ echo This is file a1 > a
$ hg add a
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg commit -m "commit #0"
Nicolas Dumazet
tests: unify test-remove-new
r12100 $ touch b
$ hg add b
$ rm b
Martin Geisler
tests: remove unneeded -d flags...
r12156 $ hg commit -A -m"comment #1"
Nicolas Dumazet
tests: unify test-remove-new
r12100 removing b
nothing changed
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]