Reorganise repository layout

Adam Mercer ramercer at gmail.com
Fri Mar 16 15:59:33 GMT 2007


On 16/03/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> To start with, this does most of what you want:
>
> $ bzr branch repo project1
> $ cd project1
> $ bzr rm project2 project3
> $ bzr mv project1/* .
> $ bzr rm project1
> $ bzr commit -m "Splitting project1 into its own branch".
>
> (#repeat for the other 2 projects).
>
> At this point, you can "bzr branch project1" and it will only build the
> files for 'project1'.
>
> There is a small issue with it still pulling over some history for those
> other projects. (It won't copy *new* commits, but it will copy stuff
> that has already been committed, because that is part of the ancestry).

Thanks, I think thats the best option. As you can probably tell I
haven't been using bazaar that long and I'm still thinking in terms of
a centralised repository such as with subversion.

I'll put this down as a learning experience and move on. Thanks
everyone for the help.

Cheers

Adam



More information about the bazaar mailing list