Repository KnitPackRepository('…') is not compatible with repository RemoteRepository('…')
Ben Finney
ben at benfinney.id.au
Mon Mar 9 01:31:37 GMT 2009
Howdy all,
I have not upgraded Bazaar for some time (and am not in a good
position to do so), but today I'm getting failures on trying to work
with a checkout of a remote repository.
=====
$ bzr version
Bazaar (bzr) 1.5
Python interpreter: /usr/bin/python 2.5.4
Python standard library: /usr/lib/python2.5
bzrlib: /usr/lib/python2.5/site-packages/bzrlib
Bazaar configuration: /home/bignose/.bazaar
Bazaar log file: /home/bignose/.bzr.log
[…]
$ bzr checkout bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/bignose/roaming-profile/ spam/
bzr: ERROR: Repository KnitPackRepository('file:///home/bignose/spam/.bzr/repository/') is not compatible with repository RemoteRepository(bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/.bzr/)
=====
An existing checkout, which has been working fine for many months,
gives the same error now:
=====
$ cd .roam/
$ bzr info
Checkout (format: pack-0.92)
Location:
checkout root: .
checkout of branch: bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/bignose/roaming-profile/
Related branches:
push branch: bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/bignose/roaming-profile/
parent branch: /media/sdb1/bazaar/roaming-profile
submit branch: bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/bignose/roaming-profile/
$ bzr update
bzr: ERROR: Repository KnitPackRepository('file:///home/bignose/.roam/.bzr/repository/') is not compatible with repository RemoteRepository(bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/.bzr/)
=====
The remote machine, ‘delrosa.madmonks.org’, is running the same version of Bazaar:
=====
$ $ bzr --version
Bazaar (bzr) 1.5
Python interpreter: /usr/bin/python 2.5.2
Python standard library: /usr/lib/python2.5
bzrlib: /usr/lib/python2.5/site-packages/bzrlib
Bazaar configuration: /home/bignose/.bazaar
Bazaar log file: /home/bignose/.bzr.log
[…]
=====
The log shows a traceback:
=====
0.135 encoding stdout as sys.stdout encoding 'UTF-8'
0.135 bzr arguments: [u'checkout', u'bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/bignose/roaming-profile/', u'spam/']
0.135 looking for plugins in /home/bignose/.bazaar/plugins
0.282 looking for plugins in /usr/lib/python2.5/site-packages/bzrlib/plugins
0.283 Plugin name __init__ already loaded
0.283 Plugin name __init__ already loaded
0.324 bzr-svn: using Subversion 1.5.1 (/var/lib/python-support/python2.5/svn/core.pyc)
0.362 encoding stdout as sys.stdout encoding 'UTF-8'
0.462 ssh implementation is OpenSSH
10.759 created control directory in file:///home/bignose/spam/
10.872 creating repository in file:///home/bignose/spam/.bzr/.
10.897 creating branch <bzrlib.branch.BzrBranchFormat6 object at 0x1064ac30> in file:///home/bignose/spam/.bzr/
11.507 Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1024, in run
accelerator_tree, hardlink)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 763, in create_checkout
checkout_branch.pull(self, stop_revision=revision_id)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1766, in pull
run_hooks=run_hooks)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1569, in pull
self.update_revisions(source, stop_revision, overwrite=overwrite)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1520, in update_revisions
self.fetch(other, stop_revision)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 265, in fetch
pb=nested_pb)
File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 955, in fetch
raise errors.IncompatibleRepositories(source, self)
IncompatibleRepositories: Repository KnitPackRepository('file:///home/bignose/spam/.bzr/repository/') is not compatible with repository RemoteRepository(bzr+ssh://delrosa.madmonks.org//srv/bzr/whitetree/public/.bzr/)
=====
More information about the bazaar
mailing list