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

Re: Auto-selection of merge source URL

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2007-12-07 22:54:44 CET

David James wrote:
> On Dec 4, 2007 8:50 PM, Troy Curtis Jr <troycurtisjr@gmail.com> wrote:
>>On Dec 4, 2007 9:40 AM, C. Michael Pilato <cmpilato@collab.net> wrote:
>>
>>>So ... what was the result of discussion regarding auto-selection of merge
>>>source URLs?
>>>
>>>A subthread about supporting mixed directions of merge ranges in a single
>>>invocation was launched, and I think it is trending towards disallowing
>>>mixed merge directions.

+1. Even without thinking about the details, my instinct says if everybody is
not totally clear on it being right to allow mixed directions and obvious what
the exact meaning is, then we should disallow it.

[...]
>>>Here's an idea. 'svn merge' has already become more interactive thanks to
>>>the conflict resolution stuff. Why not just present the user with a list of
>>>merge source options when they don't specify a source?
>>>
>>>In the typical case, where mergeinfo is pretty simple, you might see:
>>>
>>> $ svn merge -c 45
>>> Where would you like to merge from?
>>> (t) the target: http://.../
>>> (c) the copy source: http://.../
>>> ?
>>>
>>>If the target has some mergeinfo already from some sources, you'd get:
>>>
>>> $ svn merge -c 45
>>> Where would you like to merge from?
>>> (t) the target: http://.../
>>> (c) the copy source: http://.../
>>> (1) previous merge source: http://.../
>>> (2) previous merge source: http://.../
>>> ?
>>>[...]
>>>And if --non-interactive is passed, we flatly disallow sourceless-merges.
>>
>>Great idea! And I know that my users would love that!

Sounds nice.

> +1 here too. I really like this feature.
>
> (If we don't have time to implement the feature in time for 1.5,
> though, we should probably fall back and disallow sourceless-merges
> entirely, so as to leave room for this feature being implemented in
> the future.)

+1 to this. Can I urge you to do this first, because it is clearly defined and
unambiguously safe? Then the menu choice can be implemented at leisure.

(I'll never stop saying: premature defaults are Bad.)

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 7 22:55:01 2007

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.