Bound branches revisited

Robey Pointer robey at lag.net
Sun Jan 1 04:55:24 GMT 2006


On 31 Dec 2005, at 9:43, John A Meinel wrote:

> Kevin Smith wrote:
>>
>> To answer the specific question above, I would have to ask what would
>> happen if I did:
>>
>>   Bind A to B
>>   A commit
>>
>> If B's working directory would be updated by the commit, then I would
>> expect this:
>>
>>   A commit
>>   Bind A to B
>>
>> to do the same. If the first case doesn't touch B's working  
>> directory,
>> then neither should the second case.
>
> Yeah, that's what I ended up with. bind/commit/pull all do not update
> B's working directory. With the current system, there is no way to go
> into B and get it to merge the changes, so it is a little bit  
> broken. In
> the future, WorkingTree will keep track of its current revision, which
> will help with that.

Yeah, what I was about to suggest is that when A commits, B's branch  
is told "your working tree is now out of date" and B's working tree  
is turned into a checkout.  Is that basically what you're saying? :)   
(I haven't been following the working-tree threads closely.)

robey





More information about the bazaar mailing list