##// END OF EJS Templates
branching: merge stable into default...
branching: merge stable into default This show that the recent changes on default fixed the issue with transaction overwriting content in `test-transaction-wc-rollback-race.t`

File last commit:

r50885:ffd19d73 default
r51069:596a6b9b merge 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