test-subrepo-svn: fix strange svn behaviour on windows
authorPatrick Mezard <pmezard@gmail.com>
Mon, 10 May 2010 22:52:28 +0200
changeset 11142 0bf79efeaa20
parent 11141 df5d1d571d27
child 11144 ca46910dd9ea
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
tests/test-subrepo-svn
--- 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