RFC: install_revisions -> install_deltas ?

Robert Collins robertc at robertcollins.net
Wed Oct 15 05:44:12 BST 2008


On Wed, 2008-10-15 at 13:43 +1100, Martin Pool wrote:

> This sounds reasonable to me.  I think this can be done without
> reworking commit at the time, but I would be at least tempted to look
> whether everything within commit could in principle be rewritten onto
> this interface.

Commit needs to infer file graph convergence; this interface is for
systems that already know whether such convergence has happened at this
point.

> >    Each delta is fetched incrementally; if the basis revision is not
> >    present then the tree object is used directly to obtain the content
> >    of the new revision being inserted.
> >
> 
> However, if the basis revision is present in the destination object
> then the delta must be supplied?  Is it OK to eg pass None as the
> basis_revision_id and no delta?

Not IMO :>.

-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/20081015/7fd87cc4/attachment.pgp 


More information about the bazaar mailing list