tests/test-import.t
changeset 12366 c01dc9087d9a
parent 12316 4134686b83e1
child 12399 4fee1fd3de9a
--- 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