bzr split gives error

Asked by José Aliste

Hi, when trying to user bzr split to a directory of a branch I get:
>bzr: ERROR: To use this feature you must upgrade your branch at URL.

But if I use bzr upgrade in my shared repo I get:
>bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.

In bzr help split it says that the tree should use the dirstate-with-subtree format but I cant find this format on the list of formats.

My tree is in format pack-092 and I m using bzr-1.0 rc1

What should I do to my branch so I can use the split?
Thanks
J

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

It's hidden from the help output due to being experimental, but you can use 'bzr upgrade --pack-0.92-subtree'. (--dirstate-with-subtree is available too, but you're already using packs.)

Revision history for this message
Martin Pool (mbp) said :
#2

I filed https://bugs.launchpad.net/bugs/220067 regarding the documentation being unclear.

Revision history for this message
ToniMueller (support-oeko) said :
#3

The same thing happens with bzr 1.5. At which point can we hope to see subtrees no longer being marked experimental?

This is the problem:

$ bzr info
Standalone tree (format: pack-0.92-subtree)
Location:
  branch root: .

$ bzr split -v SalesAgent
bzr: ERROR: No WorkingTree exists for "file:///home/zope-data/scratch.2/SalesAgent/.bzr/checkout/".

Of course, there is a "SalesAgent" directory in that branch, and it also gets a new .bzr subdirectory, but there is no such file or directory as .../SalesAgent/.bzr/checkout/. Instead, the parent directory looks like this:

$ ls SalesAgent/.bzr/
./ ../ README branch-format branch-lock/ repository/

Revision history for this message
Vincenzo Ciancia (vincenzo-ml) said :
#4

The .bzr in the split point was created by mistake even if upgrade of the db format was needed. You have to delete the (broken) .bzr in the split point.

Can you help with this problem?

Provide an answer of your own, or ask José Aliste for more information if necessary.

To post a message you must log in.