Mercurial > hg
changeset 10791:48c8eb9de0c8 stable
test-subrepo-svn: properly escape the url, make it work for svn 1.5 again
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 31 Mar 2010 12:07:13 +0200 |
parents | 1b45468d3deb |
children | 3152f2732ef5 16df09a54113 |
files | tests/test-subrepo-svn |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-subrepo-svn Mon Mar 15 14:53:34 2010 -0500 +++ b/tests/test-subrepo-svn Wed Mar 31 12:07:13 2010 +0200 @@ -14,6 +14,7 @@ if [ $? -ne 0 ]; then escapedwd="/$escapedwd" fi +escapedwd=`python -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$escapedwd"` filterpath="s|$escapedwd|/root|" filtersvn='s/ in transaction.*/ is out of date/;s/Out of date: /File /' @@ -33,7 +34,7 @@ svn ci -m 'Add alpha' svn up cat > extdef <<EOF -externals -r1 "$SVNREPO/externals" +externals -r1 $SVNREPO/externals EOF svn propset -F extdef svn:externals src svn ci -m 'Setting externals'