comparison tests/test-issue1438.t @ 12204:c55d69c5fb77

tests: unify test-issue1438 and test-issue2137
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 10 Sep 2010 17:59:17 +0200
parents tests/test-issue1438@2c5b2abfb8be
children b63f6422d2a7
comparison
equal deleted inserted replaced
12202:d346089095ac 12204:c55d69c5fb77
1 # http://mercurial.selenic.com/bts/issue1438
2
3 $ "$TESTDIR/hghave" symlink || exit 80
4
5 $ hg init
6
7 $ ln -s foo link
8 $ hg add link
9 $ hg ci -mbad link
10 $ hg rm link
11 $ hg ci -mok
12 $ hg diff -g -r 0:1 > bad.patch
13
14 $ hg up 0
15 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
16
17 $ hg import --no-commit bad.patch
18 applying bad.patch
19
20 $ hg status
21 R link
22 ? bad.patch
23