changeset 11142:0bf79efeaa20

test-subrepo-svn: fix strange svn behaviour on windows I got a full path when pusing the external like: Sending C:/foo/bar/test-subrepo-svn/sub/t/s/alpha instead of the relative path
author Patrick Mezard <pmezard@gmail.com>
date Mon, 10 May 2010 22:52:28 +0200
parents df5d1d571d27
children ca46910dd9ea
files tests/test-subrepo-svn
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-subrepo-svn	Mon May 10 22:46:16 2010 +0200
+++ b/tests/test-subrepo-svn	Mon May 10 22:52:28 2010 +0200
@@ -63,7 +63,8 @@
 echo % change file in svn and hg, commit
 echo a >> a
 echo alpha >> s/alpha
-hg commit -m 'Message!' | sed "$filterexternal"
+hg commit -m 'Message!' | sed "$filterexternal" \
+    | sed 's:Sending.*s/alpha:Sending        s/alpha:g'
 hg debugsub | sed "$filterpath"
 
 echo