Bazaar does not support nested branches

Bug #267770 reported by Nicholas Allen
88
This bug affects 20 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
xaav
Breezy
In Progress
Wishlist
Jelmer Vernooij

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.

Revision history for this message
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?

Revision history for this message
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.

Revision history for this message
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)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: nested-trees subtrees
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
xaav (xaav)
Changed in bzr:
assignee: nobody → Xaav (xaav)
Revision history for this message
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.

Revision history for this message
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)
Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
Jelmer Vernooij (jelmer)
Changed in brz:
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.