##// END OF EJS Templates
tests: stabilize `test-merge-partial-tool.t` on Windows...
tests: stabilize `test-merge-partial-tool.t` on Windows The test was previously failing because it was opening the shell scripts being used as an executable in a text editor, and problems cascaded from there.

File last commit:

r50885:ffd19d73 default
r52838:4ee2505f default
Show More
test-dirstate-backup.t
21 lines | 305 B | text/troff | Tads3Lexer
/ tests / test-dirstate-backup.t
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940 Set up
$ hg init repo
$ cd repo
test: create some history in test-dirstate-backup...
r50885 $ echo a > a
$ hg add a
$ hg commit -m a
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940
Try to import an empty patch
$ hg import --no-commit - <<EOF
> EOF
applying patch from stdin
abort: stdin: no diffs found
Martin von Zweigbergk
errors: introduce InputError and use it from commands and cmdutil...
r46431 [10]
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940
Mark Thomas
dirstate: clean up when restoring identical backups...
r34941 No dirstate backups are left behind
Mark Thomas
tests: add a test demonstrating failure to clean up dirstate backups...
r34940
$ ls .hg/dirstate* | sort
.hg/dirstate