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

Re: mergeinfo --show-revs eligible (is there a shorthand?)

From: Talden <talden_at_gmail.com>
Date: Sat, 15 Oct 2011 07:49:18 +1300

On Fri, Oct 14, 2011 at 11:58 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> On Fri, Oct 14, 2011 at 03:25:55PM +1300, Talden wrote:
>> Is there a short-hand for listing eligible revisions in a mergeinfo query?
>>
>> To avoid expensive (sometimes several minutes on <1.7) empty merge
>> calls, it is handy to find out whether merge would actually do
>> anything - the current command-line is pretty verbose for the task
>> though (needless to say I've wrapped it up in a script).
>>
>>          svn mergeinfo --show-revs eligible ^^/...
>>
>> Would a short-hand be out of the question?
>>
>>          svn mergeinfo --eligible ^^/...
>>
>> Or maybe even an alias command ala bazaar.
>>
>>          svn alias "eligible=mergeinfo --show-revs eligible"
>>          svn eligible ^^/...
>>
>> (I'd probably call it 'missing' myself since it lists missing
>> revisions and I'm used to that in another tool - guess which one)
>
> I hear ya.
> I think that 'svn mergeinfo' is very limited in its current implementation.
> There is a lot of potential to enhance its reporting capabilities.
> The current output is great for consumption by scripts, but not by humans.
> The current invocation syntax is not very nice.

Agreed on both counts and I've been following the output conversation on dev.

> However, we won't change output or command invocation in patch releases.
> So you'll have to rely on some wrapper script solution until a new
> release appears which ships 'svn mergeinfo' enhancements.
>
> There are some new ideas being worked on, see
> http://svn.haxx.se/dev/archive-2011-09/0562.shtml
> If you have any further input on the topic, please share it on the dev list.

Will do, though at this point I think my suggestions would just be 'me
toos' for ideas put forward by others. Good ideas too.

--
Talden
Received on 2011-10-14 20:49:50 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.