If you configured your repository correctly, you can work similarly to git.
cd ~/dev bzr init-repo bzr reconfigure --with-no-trees mkdir branches bzr branch bzr+ssh://foo.com/repo branches/mainline bzr checkout --lightweight branches/mainline working
This will create a structure like this:
/dev /branches /mainline <other branches go here> /working <this is your working tree>
And if you want to create branches, you can do the following:
cd ~/dev/checkout bzr branch --switch ~/dev/branches/mainline ~/dev/branches/some-feature
and now you will be taken to some-feature branch, which will be at the same point as mainline.
source share