test-dirstate-backup.t
21 lines
| 305 B
| text/troff
|
Tads3Lexer
/ tests / test-dirstate-backup.t
Mark Thomas
|
r34940 | Set up | ||
$ hg init repo | ||||
$ cd repo | ||||
r50885 | $ echo a > a | |||
$ hg add a | ||||
$ hg commit -m a | ||||
Mark Thomas
|
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
|
r46431 | [10] | ||
Mark Thomas
|
r34940 | |||
Mark Thomas
|
r34941 | No dirstate backups are left behind | ||
Mark Thomas
|
r34940 | |||
$ ls .hg/dirstate* | sort | ||||
.hg/dirstate | ||||