Is there a way to list branches?

David Muir davidkmuir at gmail.com
Sun Oct 25 11:11:38 GMT 2009


Robert Collins wrote:
> On Sun, 2009-10-25 at 17:47 +0900, Stephen J. Turnbull wrote:
>   
>> Robert Collins writes:
>>  > On Sun, 2009-10-25 at 16:07 +0900, David Muir wrote:
>>  > > Is there a way to list branches that have been branched from a shared
>>  > > repository?
>>  > 
>>  > No, they could be anywhere in the world.
>>
>> You could log creation of *direct* branches somewhere, though.  Maybe
>> it's already logged, and you just need an API/UI to dig it out?
>>     
>
> Its not :). One could change things to log it, but it would be limited -
> write access would be required (so non smart-server branch operations
> wouldn't log creation), and it would only get direct branch operations,
> and most of the time the created branch would be useless
> (file:///home/$USER/src/foo). We could go further and have a chain of
> branches to notify backwards when new branches are made, to solve that,
> but - I don't think that 'branches made from a branch' are particularly
> interesting. *Much* more interesting is 'branches published for a
> project' - and for that we have a decent solution at the moment - hooks
> can notify/register (e.g. via cia.vc, launchpad, and other services) on
> push.
>
> -Rob
>   

Thanks for the tips. I'm more after listing branches in the shared repo 
than finding who's branched from me. So `bzr branches` seems to to work 
quite well. If I understand it correctly, it basically runs a recursive 
search for branches within the given directory, so it's not quite was I 
was after, but might actually be better anyway.

Cheers,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20091025/76a0612c/attachment-0001.htm 


More information about the bazaar mailing list