view tests/test-issue1438 @ 10480:3076b39d7f3e stable

mq: unify implementation of qinit and init -Q
author Brendan Cully <brendan@kublai.com>
date Mon, 15 Feb 2010 00:16:59 -0800
parents 2c5b2abfb8be
children
line wrap: on
line source

#!/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