Push committed changes from main project to all child branches

Martin Pool mbp at canonical.com
Thu Jan 20 18:48:00 UTC 2011


On 20 January 2011 11:19, Krilin Wantun <kwnz01 at yahoo.es> wrote:
> I need something to automathically push committed changes from main project
> to all child branches (which are located in separate directories).
>
> Is this plugin "push-and-update" for that purpose:
> https://launchpad.net/bzr-push-and-update?

Not exactly; I think you probably need to add a hook that runs those pushes.

> Also, what's the difference between "bzr push" and "bzr update"?

push
1- makes the destination branch revision pointer to be the same as the
source branch revision pointer;
2- then if the destination is local it updates the working tree.

bzr update
1- if the branch is bound to a master, it updates the bound branch
revision pointer to be the same as the master
2- it updates the working tree

-- 
Martin



More information about the bazaar mailing list