[PATCH] bzr log --revision allows ranges

John Arbash Meinel john at arbash-meinel.com
Sat May 14 15:42:45 BST 2005


I updated bzr log so that you could supply a range of revisions to
print. At the same time, I updated -r so that it can take a colon
separated list of revisions.

I'm willing to write up some test cases, but it would be nice if my
earlier test work was merged first. (So that I can have
create_simple_project).

Basically the format looks like:

    bzr log -r 492       # Only print log number 492
    bzr log -r 490:492   # Print 490,491,492
    bzr log -r :5        # Print 1,2,3,4,5
    bzr log -r 490:      # Print 490 to the end
    bzr log -r :         # Print all logs (side-effect)

In the future I think it would be good to support:

    bzr log -r uuid:blah-blah-blah
    bzr log -r hash:blahblahblah
    bzr log -r tag:blah

This code was created off of bzr.dev revno=492

John
=:->

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: revision_takes_range.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050514/a3e94166/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050514/a3e94166/attachment.pgp 


More information about the bazaar mailing list