I'm the only developer of a small project. I truck that project with bazaar. At the initial stages I did the following:
mkdir myProject
cd myProject
bzr init
bzr mkdir src
bzr mkdir data
bzr mkdir foo
....
I have had some progress with this project and it already contains couple of dozens of commits. Now I have realized that I need to create branches for this project. Something like
trunk
rel
testFeature1
testFeature2
...
What is the best way to accomplish this?
What I did was:
cd myProject
mkdir repo
mv .bzr repo
mv .bzrignore repo
del src data foo
mkdir trunk
cd trunk
bzr branch ../repo ./ --use-existing-dir
I'm pretty much satisfied with the result, except for the fact that bzr status
issued inside myProject/repo
complains about all those missing files.
Now to the questions: is my approach acceptable? What should I do about the missing files in the repo
directory?