mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
17 lines
215 B
Plaintext
17 lines
215 B
Plaintext
|
#!/bin/sh
|
||
|
"$TESTDIR/hghave" symlink || exit 80
|
||
|
|
||
|
rm -rf a
|
||
|
hg init a
|
||
|
cd a
|
||
|
|
||
|
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
|
||
|
hg import --no-commit bad.patch
|
||
|
hg st
|