##// END OF EJS Templates
py3: use '%d' for integers instead of '%s'...
py3: use '%d' for integers instead of '%s' Differential Revision: https://phab.mercurial-scm.org/D3277

File last commit:

r34941:c2b30348 stable
r37597:ce566e0f default
Show More
test-dirstate-backup.t
18 lines | 259 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
Try to import an empty patch
$ hg import --no-commit - <<EOF
> EOF
applying patch from stdin
abort: stdin: no diffs found
[255]
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