Rupesh
Rupesh

Reputation: 1

automate bzr diff and bzr pull

To automate bazaar version control system with any changes in version control system (server) branch it will automate pull to locale node to get the difference between branch created on version control system (server) and local node by

bzr diff

and then to pull code by using

bzr pull

but this make every day job to start how to automate this

Upvotes: 0

Views: 105

Answers (2)

janos
janos

Reputation: 124704

Maybe you want to use Bazaar in a centralized style. In Bazaar you can "bind" to a remote branch, which means that your commits in your local branch will be applied in the remote branch too.

bzr bind URL

... where URL is the branch you bzr branch or bzr pull from.

This way you can skip the everyday bzr push.

If you use the remote repository from multiple computers, you will still need to update the local branches before you start any work. (Well, you don't really "have" to, but if you prefer a simple workflow with no unintended diverged branches then you want to do this.) You can update bound branches with bzr up or bzr pull.

Upvotes: 0

AmanicA
AmanicA

Reputation: 5505

You can use your operating system's mechanism to schedule tasks. In Ubuntu/Linux you can add a crontab script.

Upvotes: 1

Related Questions