Inner repos
John A Meinel
john at arbash-meinel.com
Sat Dec 31 16:02:20 GMT 2005
Marco Canini wrote:
> Hi all, I'm new to bzr.
> I would like to know if bzr handles inner repositories?
> I mean if I have a parent repository can i have inside its directory other
> repositories as subdirs.
> Thanks
>
We would generally call these branches. But yes you can do so.
If I do:
$ mkdir a
$ cd a
$ bzr init
$ mkdir b
$ cd b
$ bzr init
$ cd ..
$ bzr status
unknown:
b/
Basically, you have a couple of options. 'b' is unknown because it looks
like a directory which is unversioned to the 'a' branch.
You can live with the unknown status, or you can ignore it:
bzr ignore ./b/
In the near future, we will add explicit support for nested branches. To
the effect that the parent branch can remember what revision the child
branch was at, and when you do a checkout, it can actually checkout the
child branches at the correct revision at the same time.
I'm not sure when that will happen, but it is on the todo list. Probably
in less than 1 year. I'm guessing before bzr hits 1.0.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051231/97761eee/attachment.pgp
More information about the bazaar
mailing list