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

Re: RFC: svn mergeinfo improvements for 1.5

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Thu, 27 Mar 2008 14:21:33 -0400

A lot of this thread has focused on when to show logs (as opposed to
just the revision numbers), and on what interface to use to request
just eligible/blocked/merged revisions.

We seem to be approaching resoultion on those questions. But we still
haven't answered the question I posed in my earlier mail (and that Mike
raised before I did). Quoting from my earlier mail:

> So what happened to Mike's proposal of one rev per line?
>
> In practice, people are going to be piping through a pager or
> redirecting to a file, no matter what. Even with range compression,
> these lists only get bigger.
>
> So let's just think about it from a use case point of view. What are
> people trying to do? They're probably trying to figure out if a given
> revision has been merged and/or is eligible to be merged. The most
> useful thing would be if they could search the output *for that exact
> revision*.
>
> Also, if you do one rev per line, then filtering out no-op revisions
> really is guaranteed to shorten the output. Where as with ranges, then
> filtering out no-op revisions can increase the number of ranges, as Mike
> pointed out. Although the number of ranges will never be more than the
> number of revisions, of course, there is an inherent inconvenience in
> dealing with larger numbers of ranges -- if you're searching by eye to
> figure out what happened to a particular revision, that is.

Now, note that if we output revision ranges in 1.5.0, we can always
switch to individual revision numbers in 1.5.1 or later, since the
latter is a subset of the former anyway (unless we consider ourselves to
have promised to always use ranges where possible, but I don't think we
have promised that).

But it would be nice to offer just one, canonical output format from the
start. As you can tell, I think individual revs are much more useable.
Has anyone got an objection?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-27 19:21:51 CET

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