[svk-users] SVK mirror sync problem - quoted spaces in url

Cheng-Lung Sung clsung at tw.freebsd.org
Mon May 19 03:55:30 EDT 2008


Hi, 
    will you add the following line:

    $args{url} =~ s/([^0-9A-Za-z%\-\/:_.!~*'()])/sprintf("%%%02X", ord($1))/eg if $args{url};

    in SVK/Mirror/Backend/SVNRa.pm, sub _new_ra().

    just before the

    "return SVN::Ra->new(
        url    => ..."

    lines?

    Sorry I can't provide the patch for you. Since there's uri_escape()/uri_unescape()
    in trunk/ now.

On Tue, Apr 29, 2008 at 09:51:40AM +0200, Fabian Walk wrote:
> Hello,
> 
> I have now time to test the complete work flow including
>   - syncing
>   - copy to local depot
>   - creating a working copy
>   - commit the changes
>   - push the changes back to the mirrored repository
> 
> While this test I find out that the svk command push and smerge 
> generates also the Bad URL passed to RA layer error. Maybe the URL 
> quoting patch must also added to that sub routines.
> 
> It would be great if one of the developers can take a look, because I'm 
> not so familiar with the svk source code.
> 
> Attached the output of the push and smerge command:
> 

-- 
Alan Cheng-Lung Sung - clsung@


More information about the svk-users mailing list