Skip to content

Create a remote repository and branch with bzr

Create a shared remote bzr repository:

bzr init-repo --no-trees sftp://development@server.example.com/srv/bzr/project/
bzr init sftp://development@server.example.com/srv/bzr/project/trunk
bzr co sftp://development@server.example.com/srv/bzr/project/trunk project 

The docs all create a repos in /srv/bzr in which branches are created, but to me, it seems illogical to put all your projects in one repository. So, I create one per project.


    1 Comment ( Add comment / trackback )

    1. (permalink)
      Comment by halfgaar
      On November 14, 2013 at 16:03

      I think this is wrong. Why not do

      bzr new --feature-branches sftp://development@server.example.com/srv/bzr/project/ 

      ?