view tests/test-issue1438 @ 11299:05ac42e56452 stable

push/pull: fix bug in "--branch ." handling The branch wasn't expanded, so only the tip was operated on.
author Sune Foldager <cryo@cyanite.org>
date Mon, 07 Jun 2010 16:28:23 +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