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

[merge tracking] Merge conflict resolution callback API

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-11-01 02:01:12 CET

For smoother merging on the merge-tracking branch, I'll be adding a
conflict resolution callback to the client API. This callback will be
used by svn_client_merge3() when a merge into an already-conflicted
file is encountered (eventually, I'll try to use it to whenever a
conflict occurs so that it can be resolved on-the-spot). Right now,
the API looks like this:

  typedef svn_error_t *(*svn_client_conflict_resolver_func_t)
    (const char *path,
     void *baton,
     apr_pool_t *pool);

Alternately, this API could return some sort of status indicating the
state of PATH after its resolution attempt, which could help keep the
code to actually perform the 'resolve' operation for a conflicted path
inside Subversion's core (instead of duplicated across client

Now, should this API be a member of svn_client_ctx_t? If so, I
believe that I have to rev that data structure.

Otherwise, I can make it a parameter to svn_client_merge3() and


  • application/pgp-signature attachment: stored
Received on Wed Nov 1 01:58:30 2006

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