can someone tell me if bzr has something like svn:externals or git submodules?

Asked by BjornW

I would like to have a repository with a library which call be pulled into other repositories for specific projects. Similar to who svn:externals works or as I've heard (not used!) Git submodules. Hope someone can tell me more :)

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Pool (mbp) said :
#1

Sorry for the terseness of this answer:

There are a few options
- bzr-scmproj <http://doc.bazaar.canonical.com/plugins/en/scmproj-plugin.html>
- 'bzr join' the substrees into the main one, then you will be able to continue merging from them in future <http://doc.bazaar.canonical.com/latest/en/user-reference/join-help.html>

Revision history for this message
BjornW (bjornw) said :
#2

Thanks for your concise answer.

I have the feeling the svn:externals of the dvcs world might be a lot harder to use than I initially thought. For now I will use separte trees and pull them into my projects as I see fit.

Revision history for this message
Marius Kruger (amanica) said :
#3

Another option is bzr-externals and I think it works more like svn:externals.
https://launchpad.net/bzr-externals