branch | stable |
changeset 34939 | 2c80a864e83e |
child 34940 | c2b30348930f |
34938:aa05b95949fe | 34939:2c80a864e83e |
---|---|
1 Set up |
|
2 |
|
3 $ hg init repo |
|
4 $ cd repo |
|
5 |
|
6 Try to import an empty patch |
|
7 |
|
8 $ hg import --no-commit - <<EOF |
|
9 > EOF |
|
10 applying patch from stdin |
|
11 abort: stdin: no diffs found |
|
12 [255] |
|
13 |
|
14 A dirstate backup is left behind |
|
15 |
|
16 $ ls .hg/dirstate* | sort |
|
17 .hg/dirstate |
|
18 .hg/dirstate.backup.import.* (glob) |
|
19 |