Bazaar does not support nested branches

Bug #267770 reported by Nicholas Allen on 2008-09-08
84
This bug affects 19 people
Affects Status Importance Assigned to Milestone
Bazaar
Wishlist
xaav
Breezy
Wishlist
Unassigned

Bug Description

I would like to be able to add a branch inside of another branch.This would allow each library, module etc to be separate branches with one master branch that ties them altogether. The master branch would remember the revision of nested branches when commiting to it.

Related branches

Florian Kisser (flok) wrote :

I've read into that topic, as I'll need nested branches myself. For me it seems like bzr split/join or simply branching into a working tree provide that feature, but I'm not sure, as the documentation is quite bad on that one. Am I right?

Jelmer Vernooij (jelmer) wrote :

join/ merges in the other branch rather than adding just a pointer to the other branch, which is what the submitter was asking for.

Russel Winder (russel) wrote :

My use case is for LaTeX books (one branch) where the source code is in a subdirectory (SourceCode) which is an hierarchy where some of them may actually be complete projects in themselves that need to be version controlled separately from the book.

Clearly I could use symbolic links with completely separate branches but having the option of fully nested branches would be useful.

Jelmer Vernooij (jelmer) on 2009-06-18
Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: nested-trees subtrees
Martin Pool (mbp) on 2010-03-19
Changed in bzr:
status: Triaged → Confirmed
xaav (xaav) on 2011-07-11
Changed in bzr:
assignee: nobody → Xaav (xaav)
xaav (xaav) wrote :

As I have found a simpler way to do this that uses much less code than I would have had to write to integrate this with bzr, I might not get to this bug for a while.

Sam Bull (dreamsorcerer) wrote :

Is there any progress on this? The --nested option is still not available on the branch/join commands, as shown in this spec: http://doc.bazaar.canonical.com/developers/nested-trees.html#nesting-an-external-project

Jelmer Vernooij (jelmer) on 2017-06-19
Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions