On Mon, Mar 30, 2009 at 22:22, Hyrum K. Wright <hyrum_at_hyrumwright.org> wrote:
>...
> +++ trunk/subversion/libsvn_client/cat.c     Mon Mar 30 13:22:55 2009     (r36869)
> @@ -28,6 +28,7 @@
> Â #include "svn_subst.h"
> Â #include "svn_io.h"
> Â #include "svn_time.h"
> +#include "svn_dirent_uri.h"
> Â #include "svn_path.h"
> Â #include "svn_props.h"
> Â #include "client.h"
> @@ -181,8 +182,10 @@ svn_client_cat2(svn_stream_t *out,
> Â Â Â svn_wc_adm_access_t *adm_access;
>
> Â Â Â SVN_ERR(svn_wc_adm_open3(&adm_access, NULL,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â svn_path_dirname(path_or_url, pool), FALSE,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0, ctx->cancel_func, ctx->cancel_baton,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â svn_path_is_url(path_or_url)
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ? svn_uri_dirname(path_or_url, pool)
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â : svn_dirent_dirname(path_or_url, pool),
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â FALSE, 0, ctx->cancel_func, ctx->cancel_baton,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â pool));
Eesh... seriously. How can you pass a URL to svn_wc_adm_open3() ?
Were you looking at the variable name too much?
Or maybe missed the svn_path_is_url() call on the conditional for this
block of code?
:-P
/me ducks
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1486274
Received on 2009-03-30 23:19:18 CEST