diff -r 22f3353bcc36 -r c01dc9087d9a tests/test-import.t --- a/tests/test-import.t Tue Sep 21 16:00:02 2010 -0500 +++ b/tests/test-import.t Tue Sep 21 16:44:13 2010 -0500 @@ -380,7 +380,8 @@ added 1 changesets with 2 changes to 2 files updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ hg --cwd a export tip | sed -e 's/d1\/d2\///' > tip.patch + $ hg --cwd a export tip > tmp + $ sed -e 's/d1\/d2\///' < tmp > tip.patch $ dir=`pwd` $ cd b/d1/d2 2>&1 > /dev/null $ hg import ../../../tip.patch