[MERGE] Implement lookups into the current working tree for bzr annotate, fixing bug 3439.

Robert Collins robertc at robertcollins.net
Thu Aug 7 01:39:10 BST 2008


On Wed, 2008-08-06 at 15:25 -0500, John Arbash Meinel wrote:

I'm not clear just what things I need to tweak. I've tried to list them:
 - use a revid-like constant for the show-ids test
 - add a pending merge test
 - change a comment ? [see below]

-Rob

> +    # Calculate the lengths of the various columns
> +    current_rev = Revision(CURRENT_REVISION)
> +    current_rev.parent_ids = tree.get_parent_ids()
> +    current_rev.committer = tree.branch.get_config().username()
> +    current_rev.message = "?"
> +    current_rev.timestamp = round(time.time(), 3)
> +    current_rev.timezone = osutils.local_time_offset()
> 
> ^- The comment here is wrong.

Perhaps to "simulate a revision representing what would happen if we
committed" ?

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080807/579191ac/attachment.pgp 


More information about the bazaar mailing list