Reorganise repository layout
Alexander Belchenko
bialix at ukr.net
Fri Mar 16 14:55:44 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adam Mercer пишет:
> My repository is currently organized as follows:
>
> repo:
> - .bzr
> - project_1
> - project_2
> - project_3
>
> i.e. I have a single repository containing multiple projects, it is
> possible to change my repository layout so that each project directory
> is a bzr repository with its own .bzr directory - yet still
> maintaining version history? i.e. I would like the layout to be
> something like
>
> root:
> - project_1:
> | - .bzr
> - project_2:
> | - .bzr
> - project_3:
> | - .bzr
Usually I did this manually. I don't know is there automatic tool
for such rare operation.
You need manually create repo for each project:
bzr init-repo project1
Then cd to project1 and make usual branch from old repo to new repo:
cd project1
bzr branch repo/project1 trunk
That's usually what you need. All history of your project
successfully propagate in new repo during branch clone operation.
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+q/vzYr338mxwCURAl6kAKCFAst4TBhnTmQiddkFjAtrtrZuGQCfcUYq
OzWYOpEoXdujtV186S/JhkQ=
=f5pw
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list