[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: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 14 Oct 2011 12:58:45 +0200

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.

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.
Thanks.
Received on 2011-10-14 12:59:21 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.