Branching over bzr+http fails with AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When branching using a HTTP transport to a smart server (bzr+http:// URL scheme) fails. The smart server configured at the server used below uses Apache + mod_wsgi + bzr-1.1; but the bug seems to be in the client part as no errors are shown in the Apache error_log.
I had some chat at #bzr in Freenode with james_w and poolie I tested the same bzr-1.3rc1, which fixed the problem. I am reporting the bug here for the sake of documentation.
Traceback for bzr-1.2 follows.
$ ./bzr branch bzr+http://
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
accelerator
File "/home/
revision_
File "/home/
dest_
File "/home/
return inter.fetch(
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
pb=pb, find_ghosts=
File "/home/
self.__fetch()
File "/home/
search = self._revids_
File "/home/
find_
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
revision_id, find_ghosts)
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
return self._walk_
File "/home/
next_revs, ghosts = searcher.
File "/home/
self._advance()
File "/home/
found, ghosts, next, parents = self._do_
File "/home/
parent_map = self._parents_
File "/home/
parent_map = self._get_
File "/home/
if not medium.
AttributeError: 'HttpTransport_
bzr 1.2.0 on python 2.5.1.final.0 (linux2)
arguments: ['./bzr', 'branch', 'bzr+http://
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /home/acastro/
Changed in bzr: | |
importance: | Undecided → Medium |
Hi,
Thanks for the bug report.
I'm marking it as closed in 1.3 as we know that
it is thanks to your testing.
Thanks,
James