diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-issue1438	Mon Feb 16 17:37:23 2009 -0600
@@ -0,0 +1,16 @@
+#!/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