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

sketchy patch for replacing adm_access in wc_diff_callback file_changed

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Wed, 2 Sep 2009 17:06:00 +0200

Hi!

On request from hwright, I'm supplying my current work for replacing
adm_access batons in the file_changed callback of the
wc_diff_callbacks4_t struct.

I haven't looked at it thoroughly, just sending it over as a check if
there is any use in continue on this track.

I have removed the parts I have #if 0:ed concerning svn patch. Since
svnpatch is going to be changed I did not do any changes there.

When creating the adm_access baton in libsvn_wc/deprecated.c I have no
write_locks. That is probaly not the way to go. Since writing this a
couple of weeks ago I have gained some more knowledge about what the
locking is for.

If the wrapping is alright I'm having issues retrieving the adm_access
baton for the dir of the changed file in libsvn_client/merge.c
(merge_file_changed). The baton exists in repos_diff.c (close_file) *the
caller* but I can not retrieve it from the wc_ctx in the receiver.

/Daniel

PS: Sorry about the mime-type. Still having trouble with tigris and mutt.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2390243

Received on 2009-09-02 17:06:29 CEST

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