On Sat, 03 Feb 2007, Martin Hauner wrote:
> Hi,
>
> Daniel Rall wrote:
> >>MONTEUX Eric wrote:
> >>>I am currently developping a subversion client in C++.
> >>>I have a problem with blank characters existing in my file names.
> >>>The svn api says the url of such files is malformed.
> >>>
> >[..]
> >
> >From svn_path.h:
> >
> >/** Return a URI-encoded copy of @a path, allocated in @a pool. */
> >const char *svn_path_uri_encode(const char *path, apr_pool_t *pool);
>
> I had a similar problem in subcommander and found that there is code
> hidden in svn_opt_args_to_target_array2 (which is duplicated in other
> svn tools) to prepare a string for an svn api call (path or url).
>
> I created a patch last november (thread "preparing a path or url for
> an svn api call....") which moved this code to a public api function.
> Unfortunately, the patch was never reviewed and ended up in the issue
> tracker as issue 2676.
+1, this looks like a good idea to me.
- application/pgp-signature attachment: stored
Received on Sat Feb 10 01:48:11 2007