Re: [PATCH] Update and switch APIs call conflict resolver at end of operation
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 27 Mar 2013 16:22:29 +0000 (GMT)
Discussing the behaviour of the backward-compatibility APIs:
Bert wrote:
I am not concerned specifically about the *order* of the notifications, but rather the *kind* of notifications. The notification callbacks are now going to have their status field set to (the API representation of) 'conflicted', like this (showing the output from 'svn' just as a way to represent what happens in the API):
$ svn update --accept=mf
An old client expecting notification status 'updated' or 'merged', like this:
$ svn update --accept=mf
... may be confused if it actually looks at the notification status rather than merely displaying it to the user.
Bert clarified on IRC [1] that he feels typical clients won't care about this sort of change, and that we've already made comparable changes for 1.8 and in earlier minor-version releases, and that it would be unreasonably difficult to avoid any changes to notifications. The implication is it's not really worth making the effort to keep the notifications exactly the same in the backward-compatibility APIs. Bert, please correct me if I misrepresented your views.
Mark Phippard said that for Subclipse, he would probably need to make some changes to support 1.8, but that the backward compatibility issue doesn't matter because each version of Subclipse is tied to exactly one minor version of the Subversion libraries.
Advantages of putting compatibility code in to call the resolver function at the old times and thus give the old notifications:
- Back-compat.
Advantages of not putting the extra compatibility in:
- Simplicity.
Anyone else have a view?
For now I'll commit what I have, and if we want the extra compatibility I'll add it later.
- Julian
[1] #svn-dev IRC channel, today, logged at <http://colabti.org/irclogger/irclogger_log/svn-dev?date=2013-03-27#l247>.
> Julian Foad wrote:
|
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.