Mercurial > hg
comparison tests/test-issue1438 @ 7783:2c5b2abfb8be
patch: teach selectfile about symlinks (issue1438)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 16 Feb 2009 17:37:23 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
7782:140429276b63 | 7783:2c5b2abfb8be |
---|---|
1 #!/bin/sh | |
2 "$TESTDIR/hghave" symlink || exit 80 | |
3 | |
4 rm -rf a | |
5 hg init a | |
6 cd a | |
7 | |
8 ln -s foo link | |
9 hg add link | |
10 hg ci -mbad link | |
11 hg rm link | |
12 hg ci -mok | |
13 hg diff -g -r 0:1 > bad.patch | |
14 hg up 0 | |
15 hg import --no-commit bad.patch | |
16 hg st |