Check-out in the local openerp-server folder the 6.0 branch of the OpenERP server project from Launchpad:
1
$ bzr branch lp:openobject-server/6.0 openerp-server
Same command as above, but fetch a particular revision:
1
$ bzr branch lp:openobject-server/6.0 -r 3425 openerp-server
Check-out the current head of a branch, without its history. This is particularly useful when working on large repositories with huge history (source):
1
$ bzr checkout --lightweight lp:openobject-addons/7.0 addons
Export a copy of a branch, without any Bazaar metadata:
1
$ bzr export addons lp:openobject-addons/7.0
Get revision number of the local copy we sit in:
1
$ bzr revno ./
Change the repository to a previous revision:
1
$ bzr revert -r 1234
Remove lock file on the current repository:
1
$ bzr break-lock
Produce a patch from uncommitted local changes with absolute path:
1
$ bzr diff --prefix=`pwd`/:`pwd`/ > server.patch