Skip to content
Snippets Groups Projects
Commit 2c80a864 authored by Mark Thomas's avatar Mark Thomas
Browse files

tests: add a test demonstrating failure to clean up dirstate backups

Differential Revision: https://phab.mercurial-scm.org/D1200
parent aa05b959
No related branches found
No related tags found
No related merge requests found
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]
A dirstate backup is left behind
$ ls .hg/dirstate* | sort
.hg/dirstate
.hg/dirstate.backup.import.* (glob)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment