Confused about the output of 'bzr log --f --limit=X'

Aaron Bentley aaron.bentley at utoronto.ca
Fri Dec 14 15:15:05 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adeodato Simó wrote:

> I definitely see an argument for changing it to "limit the output to the
> N *newest* revisions". I'd be glad to hear what the developers think about
> this.

Well, I agree that showing the N oldest revisions is rarely useful.  But
it is useful sometimes, like if you want to know when a file was added:

$ bzr log --forward --limit 1 bzrlib/merge.py
- ------------------------------------------------------------
revno: 493
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Sun 2005-05-15 12:36:04 +1000
message:
  - Merge aaron's merge command

That usage is unusual enough that I'd be prepared to sacrifice it for
improved usability.  Or else, we could just add the ability to limit to
the last N logs instead of the first.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYp350F+nu1YWqI0RAskRAJ4iBwUBRwyEMfn9jv2MQBbYFZuMqQCfVRli
iGHjLuJc3esF93T0IxHhU9M=
=No0J
-----END PGP SIGNATURE-----



More information about the bazaar mailing list