view tests/test-issue1438 @ 9637:64425c5a9257

cmdutil: minor refactoring of changeset_printer._show - use ctx.branch() instead of directly accessing the extra field "branch" - move definitions of locals ('extra' and 'branch') down to where they are used
author Adrian Buehlmann <adrian@cadifra.com>
date Sat, 24 Oct 2009 19:01:40 +0200
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