KnitPack not compatible with Knit?

Matt Nordhoff mnordhoff at mattnordhoff.com
Wed Jun 11 00:03:05 BST 2008


Stefan Monnier wrote:
>    bzr clone http://people.samba.org/bzr/jelmer/bzr-rebase/trunk rebase
> 
> fails with
> 
>    bzr: ERROR: Repository KnitPackRepository('file:///home/monnier/src/bzr/.bzr/repository/') is not compatible with repository KnitRepository('http://people.samba.org/bzr/jelmer/bzr-rebase/.bzr/repository/')
> 
> So I cloned it into its own repository, and then tried to upgrade it:
> 
>    % bzr upgrade rebase 
>    starting upgrade of file:///home/monnier/tmp/rebase/
>    making backup of tree history
>    file:///home/monnier/tmp/rebase/.bzr has been backed up to file:///home/monnier/tmp/rebase/backup.bzr
>    if conversion fails, you can move this directory back to .bzr
>    if it succeeds, you can remove this directory if you wish
>    starting repository conversion
>    bzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack1>.  Does not support rich root data.
>    % 
> 
> Is that expected?
> 
> 
>         Stefan

That branch is in the dirstate-with-subtree format. Try using a
rich-root-pack repo (bzr init --rich-root-pack, bzr init-repo
--rich-root-pack, or bzr upgrade --rich-root-pack).
-- 



More information about the bazaar mailing list