[MERGE] Fix bug #248427 by adding a --change option to log.

James Westby jw+debian at jameswestby.net
Wed Sep 24 15:29:52 BST 2008


On Wed, 2008-09-24 at 15:48 +0200, Vincent Ladeuil wrote:
> Aaron said:
>  > log uses an inclusive set, so log -r 1..2 displays the log
>  > messages for revisions 1 and 2. diff -r 1..2 displays only the
>  > changes introduced by 2. diff -c 2 is equivalent to "diff -r
>  > 1..2".
> 
> In order to be consistent, from an *UI* POV, log -c 2 should
> therefore display the logs for revision 2 only.
> 
> That requires defining a 'change' option *specific* to log.

Can we make log exclusive so that the inconsistency with diff
is removed?

It would break compatibility with old versions, and would mean
that we would have to decide what to do with "bzr log -rx"

I don't see why it has to be inclusive, and there have been
a few requests for some way to make it exclusive. "before:"
would allow you to make it inclusive much more easily than
it is to make the current one exclusive as well I believe.

Thanks,

James




More information about the bazaar mailing list