can't stack rich-root-pack repos

Bug #252212 reported by Benjamin Peterson
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
John A Meinel

Bug Description

I just tried to get a stacked branch from a project of mine:

$ bzr branch --stacked bzr+ssh://<email address hidden>/python/users/benjamin.peterson/new_testing/main stack
Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.)
using <bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack5 object at 0x2082510> for stacking
Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.)
bzr: ERROR: Repository RemoteRepository(bzr+ssh://<email address hidden>/python/.bzr/) is not compatible with repository KnitPackRepository('file:///temp/m/stack/.bzr/repository/')

Here's the log:

0.919 encoding stdout as sys.stdout encoding 'US-ASCII'
0.925 bzr arguments: [u'branch', u'--stacked', u'bzr+ssh://<email address hidden>/python/users/benjamin.peterson/new_testing/main', u'stack']
0.926 looking for plugins in /Users/erikpeterson/.bazaar/plugins
1.981 looking for plugins in /temp/bzr/bzr.dev/bzrlib/plugins
1.984 Plugin name __init__ already loaded
1.984 Plugin name __init__ already loaded
2.006 looking for plugins in /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins
2.018 encoding stdout as sys.stdout encoding 'US-ASCII'
2.459 ssh implementation is OpenSSH
[ 445] 2008-07-26 17:47:34.265 WARNING: Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.)
[ 445] 2008-07-26 17:47:43.949 INFO: using <bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack5 object at 0x2082510> for stacking
15.810 creating repository in file:///temp/m/stack/.bzr/.
[ 445] 2008-07-26 17:47:47.457 WARNING: Server does not understand Bazaar network protocol 3, reconnecting. (Upgrade the server to avoid this.)
25.349 Traceback (most recent call last):
  File "/temp/bzr/bzr.dev/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/temp/bzr/bzr.dev/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/temp/bzr/bzr.dev/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/temp/bzr/bzr.dev/bzrlib/builtins.py", line 852, in run
    hardlink=hardlink, stacked=stacked)
  File "/temp/bzr/bzr.dev/bzrlib/bzrdir.py", line 1082, in sprout
    result_repo = repository_policy.acquire_repository()
  File "/temp/bzr/bzr.dev/bzrlib/bzrdir.py", line 2912, in acquire_repository
    self._add_fallback(repository)
  File "/temp/bzr/bzr.dev/bzrlib/bzrdir.py", line 2850, in _add_fallback
    repository.add_fallback_repository(stacked_repo)
  File "/temp/bzr/bzr.dev/bzrlib/repository.py", line 534, in add_fallback_repository
    raise errors.IncompatibleRepositories(self, repository)
IncompatibleRepositories: Repository RemoteRepository(bzr+ssh://<email address hidden>/python/.bzr/) is not compatible with repository KnitPackRepository('file:///temp/m/stack/.bzr/repository/')

25.350 return code 3

Revision history for this message
Martin Pool (mbp) wrote :

I'll investigate this. Could you please retry with the current bzr.dev?

Changed in bzr:
assignee: nobody → mbp
importance: Undecided → High
Revision history for this message
Benjamin Peterson (benjaminp) wrote :

This still happens on r3581 of bzr.dev.

Martin Pool (mbp)
Changed in bzr:
milestone: none → 1.6
Revision history for this message
Benjamin Peterson (benjaminp) wrote :

Could this be fixed for 1.6?

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 252212] Re: can't stack rich-root-pack repos

On Fri, 2008-08-15 at 22:02 +0000, Benjamin Peterson wrote:
> Could this be fixed for 1.6?

Hi, sorry I didn't get time to answer on IRC, too many things happening
at once.

Do you know the version of bzr on the server?

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Revision history for this message
Benjamin Peterson (benjaminp) wrote :

Not for sure. Here's a log from the server if that helps your identify the version: http://www.python.org/ftp/python/bzr.log. Otherwise, Barry Warsaw would know.

Revision history for this message
Barry Warsaw (barry) wrote :

code.python.org's running bzr 1.2.0

Revision history for this message
Barry Warsaw (barry) wrote :

And now running 1.5.0, the problem seems to have gone away.

Revision history for this message
John A Meinel (jameinel) wrote :

According to barry, this has been fixed. It is probably a bug in 1.6, but should be fixed in 1.6.1. (At least, we had a bug I fixed, which is why we have the --1.6.1-rich-root format.)

Changed in bzr:
assignee: mbp → jameinel
milestone: 1.6 → 1.6.1
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.