[MERGE] special case the no-args version of revision-info

Michael Hudson michael.hudson at canonical.com
Thu Mar 13 22:04:10 GMT 2008


Reading this post:

http://blog.orebokech.com/2008/03/emacs-in-bzr-initial-impressions.html

I was prompted to look at the implementation of version-info.  It seems 
to be a bit whole-history happy: RevisionSpec.in_branch calls 
revsion_history() and the command implementation calls 
get_revid_to_revno_map().

This bundle just makes it really fast for the no-arg case.  Perhaps it 
would be better to improve the interpretation of "revno:-$SMALLINT".

Cheers,
mwh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-lXQifC.patch
Type: text/x-diff
Size: 2549 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080314/3ae23040/attachment.bin 


More information about the bazaar mailing list