record_iter_changes and subtrees

Jelmer Vernooij jelmer at vernstok.nl
Wed Mar 25 17:15:05 GMT 2009


On Wed, Mar 25, 2009 at 10:55:41AM -0400, Aaron Bentley wrote:
> > Note that the commit in the child trees should be "pending", until the
> > top level commit finishes. (A 2-phase commit sort of action.)

> I think that's an additional requirement for foreign branches that may
> be unworkable.  Jelmer?

I understand the idea would be to have a two-phase commit, where the
first phase would already return the revision id, and the second phase
would finish the commit ?

If so, this would indeed be an issue for foreign branches, Subversion
in particular. it wouldn't work for Subversion, as we don't know the final
Subversion revnum until the commit is finalized, and that revnum is a
part of the returned revision id. 

Cheers,

Jelmer



More information about the bazaar mailing list