I have been using Bzr for version control of my project over the last few months. I am the sole developer, and currently I just have everything in a single local project directory, to which I commit and which I sync to DriveHQ.
I now have some large-scale experiments in mind which would likely break this main line, so I've been looking into the concepts of branches and shared repositories. So my question is, basically: how should I go about creating a new, shared repository from this already-version-controlled base?
I am familiar with the SVN project structure of trunk, branches and tags, and I'm going to adopt this structure. My plan is to just go ahead and do a fresh init-repo, and copy all my code (plus .bzr) over into the trunk folder. So is this OK? Or is there some way to convert what I have already into a shared repository?
Many thanks in advance for any help.
Christopher
cd /path/to/repo
, where I typebzr info
and getShared repository with trees (format: 2a)
(newline)Location:
(newline)shared repository: .
. And then I typebzr info trunk
which givesRepository tree (format: 2a)
(newline)Location:
(newline)shared repository: .
(newline)repository branch: trunk
. Thanks @bialix! – Stokeontrent