[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix for failing switch_tests.py:relocate_beyond_repos_root for svn+ssh urls

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-02-07 15:08:24 CET

On Tue, 7 Feb 2006, Kamesh Jayachandran wrote:

> Hi All,
> Find the attached patch.
>
> With regards
> Kamesh Jayachandran
>
> [[[
> Fix for failing switch_tests.py:relocate_beyond_repos_root for svn+ssh urls
>
> Patch by: Kamesh Jayachandran <kamesh@collab.net>
>
> * subversion/tests/cmdline/switch_tests.py
> (relocate_beyond_repos_root):
> The '+' character in svn+ssh url causes the regex to fail so escaping it.
> ]]]
>
>
OK, seems like you're escaping the whole string, not just the URLs. The
problem is that the ^ operator would get escaped by re.escape.

Please try re.escape on the individual URLs. I like that better because
it can be used in other places as well.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 7 15:10:20 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.