[PLUGIN] bzr missing

John A Meinel john at arbash-meinel.com
Sun Jun 26 17:16:29 BST 2005


Aaron Bentley wrote:

>On Sat, Jun 25, 2005 at 09:57:16PM -0500, John A Meinel wrote:
>
>
>>It can be run in quiet mode, in which case you can check the return
>>value to see if you need to update, though you might get a bad return if
>>the branches have diverged as well.
>>
>>
>
>Cool.  The 'missing' functionality is something I've been missing.
>It looks as if it errors out when the branches have diverged, but
>it would be nice to know what changes have happened on the parent branch
>since they diverged.
>
>Aaron
>
>
>
Well, right now I just use branch.missing_revisions() which does not
handle diverged branches.

It also doesn't handle the case that the histories are different, and
just happen to be the same for one revision. Though I don't know that it
is possible, since each revision id is actually unique with a completely
unique history (at this point). Is there plans to change it such that a
given revision id has a variable parent. Because as long as all revision
ids have a unique (set of) parent(s), then a revid actually uniquely
defines the history as well. (X always points to Y always points to Z ...)

I can see your point. And actually it might be nice to have missing just
look at all the revision ids of other, and see what is not in local.
Because that might tell you that you want to do a 'merge'. Right now
missing only lets you do pull.

I will change that.

But I would hope that you might have some ideas about how to structure
the command line arguments so that you can supply both a local branch,
and a remote branch. For now, I'm just only allowing the local branch to
be '.'
John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050626/30eec174/attachment.pgp 


More information about the bazaar mailing list