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

JavaHL: new fields missing from ConflictDescriptor.java

From: Mark Phippard <mphippard_at_collab.net>
Date: Mon, 26 Jan 2009 10:29:50 -0500

I was trying to recreate the output of svn info from JavaHL. When an
item has a tree conflict, the output shows something like this:

Source left: (none)
Source right: (file)

It appears to get these from:

  /** Info on the "merge-left source" or "older" version of incoming change.
   * @since New in 1.6. */
  svn_wc_conflict_version_t *src_left_version;

  /** Info on the "merge-right source" or "their" version of incoming change.
   * @since New in 1.6. */
  svn_wc_conflict_version_t *src_right_version;

  /* Remember to adjust svn_wc__conflict_description_dup()
   * if you add new fields to this struct. */
} svn_wc_conflict_description_t;

These last two fields in the svn_wc_conflict_description_t struct have
not been exposed to JavaHL in its ConflictDescriptor class. Could
they be? I am guessing we will need a new Java type created for
svn_wc_conflict_version_t in the process?

I am just worried that when we get to the point of trying to write
some GUI process to help people resolve conflicts we will run into
roadblocks if we do not have access to all of the data that is
potentially available.

Mark Phippard
Received on 2009-01-26 16:30:06 CET

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