Mercurial > public > mercurial-scm > hg
diff tests/test-import.t @ 12366:c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 21 Sep 2010 16:44:13 -0500 |
parents | 4134686b83e1 |
children | 4fee1fd3de9a |
line wrap: on
line diff
--- 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