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

RE: Trouble replacing adm_access in libsvn_client/merge.c (merge_file_changed)

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Tue, 25 Aug 2009 14:46:30 +0200

> -----Original Message-----
> From: Daniel Näslund [mailto:daniel_at_longitudo.com]
> Sent: dinsdag 25 augustus 2009 14:17
> To: dev_at_subversion.tigris.org
> Subject: Re: Trouble replacing adm_access in libsvn_client/merge.c
> (merge_file_changed)
>
> Thanks Julian for your answers.
>
> As I see it, this is the situation:
>
> It's not an option to close an adm_access baton and reopen it.
> To retrieve an already created adm_access baton I need another
> associated with it or a wc_ctx. Ultimately it's the db I need.
> BUT the db is not allowed to be known outside of libsvn_wc, not even
> for
> this temporary fix.
>
> Can I create a function svn_wc_adm_retrieve_with_wc_ctx() or something
> similar? Right now I can only get a new adm_access from a wc_ctx when
> outside of libsvn_wc. I can not retrieve an already created adm_access
> from a wc_ctx.

Yes, please add a svn_wc__adm_retrieve_(with/via/...?)_context() helper.

I think that would be a useful helper in more places of libsvn_client, until libsvn_wc accepts wc_ctx, abspath everywhere.

Thanks for your help,

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2387054
Received on 2009-08-26 23:56:21 CEST

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.