problem understanding "bzr split"

Asked by ToniMueller

I have a tree which I want to break up into smaller portions. Therefore, I ran "bzr split subdirectory". When I now go to the subdirectory and say "bzr inventory", everything looks fine. Now... I copied the whole subdirectory to a different place ("cp -a ..."), and specified that other place as the revision directory to redmine (www.redmine.org). Then I clicked on "Repository", and am shown the whole tree, including all parent and sibling directories and files, as if the split-out tree was instead a copy of the original tree. This is definitely not what I want, and it makes it impossible to rearrange a project into individual sub-projects, and ship them individually, to different users. What gives?

Is this question related to this bug: https://bugs.launchpad.net/bzr/+bug/368921 (I didn't really understand the bug report, so I can only guess)?

This is bzr 1.16.1 on Debian.

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Wouter van Heyst
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Best Wouter van Heyst (larstiq) said :
#3

On Mon, Aug 10, 2009 at 08:00:16AM -0000, ToniMueller wrote:

...

> When I move the tree rooted at "sub2" to a pristine directory and then
> import that into redmine and view it with their repository viewer, I get
> a tree rooted at "top", including "sub3" and "file1". I don't see how,
> or why, anything above or besides "sub2" should be visible in the split-
> out tree at all, and how I can prevent that without losing all the
> history pertaining to that sub-tree.

Did you commit after the split? If so, this to me sounds like a problem
with the Redmine repository viewer.

Wouter van Heyst