[MERGE] Deprecate last-revision and pending_merges.
Martin Pool
mbp at canonical.com
Wed Sep 6 05:47:07 BST 2006
On 5 Sep 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> Robert Collins wrote:
> > basis_revision might be nice, but I'd want it to throw if there is no
> > left most parent - to avoid this inconsistency where we consider there
> > to be an implicit tree sometimes and not others. (Thats another thing I
> > dislike about last_revision).
So it would throw if you asked it for the basis of the first revision of
a branch, or of a working tree in a newly-created branch? Why?
> The way I see it, last_revision is consistent, but when the
> last_revision is the null revision, different bits of the code behave in
> different ways. If it returned 'empty:' or 'null:' instead, you'd still
> get that.
Again, I agree with that.
--
Martin
More information about the bazaar
mailing list