[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)
file:///blah/MyRepository/trunk/MyProject/filename.txt_at_160
Source right: (file)
file:///blah/MyRepository/trunk/MyProject/filename.txt_at_161

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.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1054999
Received on 2009-01-26 16:30:06 CET

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.