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

Problem with suggestMergeSources() API and getCopySource() removal

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-08-28 16:23:57 CEST

I came up with a scenario where the recent API change to add the new
suggestMergeSources API and possibly remove getCopySource has caused a
problem.

In the GUI merge client I am working on we recently added support to
merge to multiple projects at the same time. Basically, this is a UI
feature where we figure out the common root of the selected projects,
base the UI off that, and then run merge once for each selected
project.

Here are the problems:

1) The new API does not work with a URL. In our scenario, the common
local path is not a WC, so we need to use the common URL of the
selections to get the suggested merge information.

2) If we do not remove the getCopySource() API we could just go back
to using that since it did work OK with a URL. As of last night, the
plan was to remove this API as we did not see a need for it.

It does not matter to me which way we want to go with this. I think
that this is a valid scenario and suggestMergeSources probably ought
to be modified to support a URL.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 28 16:21:20 2007

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