API question: "Rendering" a Revision?

Magnus Therning magnus at therning.org
Fri Aug 26 07:30:40 BST 2005


I've been playing around a little with bzr lately and it's kind of fun.
To a large extent the API is obvious, even though Python lacking
explicit typing sometimes makes the exploration a little demanding.

There is one thing I don't know how to do though--render a revision.
I have a Branch object, I have a revision id (or a revno), how do I get
that revision to be "unpacked" and be the current revision in the
Branch?

The merge code must do it, but I've not managed to get deep enough into
that code to understand where/how it does it...

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Intellectual property (IP) has been driving the species for some five
million years. In the past 100 or so years, it's increasingly been saddled
with the chore of lining the pockets of middlemen and parasites who, sans
this lining, would lack sufficient intellect to open a can of beer.
     -- Tom Matrullo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050826/67c22981/attachment.pgp 


More information about the bazaar mailing list