[PATCH stable] test-subrepo-svn: Fix test failure

Mads Kiilerich mads at kiilerich.com
Tue Mar 30 15:57:59 CDT 2010


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1269982612 -7200
# Branch stable
# Node ID 1c8e291022bb25d55a7592f4c92b1b58d0065bf9
# Parent  1b45468d3debdfe66625814939a4bf925d9a4dc8
test-subrepo-svn: Fix test failure

c52057614c72 introduced failures with ordinary paths on Debian lenny
(subversion 1.5.1 r32289) and squeeze (subversion 1.6.9 r901367) - though it
worked on Fedora 12 with subversion-1.6.9-1.

This patch reverts the quoting that caused the failure and has been tested to
work all 3 places with ordinary paths.

The test will thus fail again with spaces in the test path (though apparently
not on lenny).

diff --git a/tests/test-subrepo-svn b/tests/test-subrepo-svn
--- a/tests/test-subrepo-svn
+++ b/tests/test-subrepo-svn
@@ -33,7 +33,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'


More information about the Mercurial-devel mailing list