KnitPack not compatible with Knit?
John Arbash Meinel
john at arbash-meinel.com
Wed Jun 11 00:04:51 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt Nordhoff wrote:
| 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).
I'm not sure if upgrade works there, or if you have to init + pull.
- --dirstate-with-subtree is a bit of a black sheep of formats, hopefully we'll
get most of those moved over to --rich-root-pack.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhPCJMACgkQJdeBCYSNAAOchgCgxquopVwRc+EhJZcGkzC7NTyu
xBwAoMwtYcAHcGPEuhh1tMbQCNSXv+yd
=EZfQ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list