test-issue1438.t
23 lines
| 367 B
| text/troff
|
Tads3Lexer
/ tests / test-issue1438.t
Matt Mackall
|
r22046 | #require symlink | ||
Adrian Buehlmann
|
r12204 | |||
Matt Mackall
|
r26420 | https://bz.mercurial-scm.org/1438 | ||
Adrian Buehlmann
|
r12204 | |||
$ hg init | ||||
$ ln -s foo link | ||||
$ hg add link | ||||
$ hg ci -mbad link | ||||
$ hg rm link | ||||
$ hg ci -mok | ||||
$ hg diff -g -r 0:1 > bad.patch | ||||
$ hg up 0 | ||||
1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
$ hg import --no-commit bad.patch | ||||
applying bad.patch | ||||
$ hg status | ||||
R link | ||||
? bad.patch | ||||