[Pkg-bazaar-maint] Bug#491829: bzr-svn: Hijacks HTTP protocol

Roland Mas lolando at debian.org
Tue Jul 22 08:56:33 UTC 2008


Package: bzr-svn
Version: 0.4.10-2
Severity: normal

It seems bzr-svn, when installed, causes bzr to believe every HTTP
remote branch is a Subversion repository, even when they're not:

,----
| roland at mirexpress /tmp $ bzr branch http://bzr.debian.org/~lolando/bzr/gforge/debian/sid/
| bzr: ERROR: svn.core.SubversionException: ("Repository moved permanently to 'http://bzr.debian.org/~lolando/bzr/gforge/debian/'; please relocate", 175011)
| 
| 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 916, in run
|     from_location)
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 790, in open_tree_or_branch
|     return bzrdir._get_tree_branch()
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 775, in _get_tree_branch
|     branch = self.open_branch()
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1371, in open_branch
|     return format.open(self, _found=True)
|   File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1213, in open
|     _repository=a_bzrdir.find_repository())
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 559, in find_repository
|     found_repo = self._find_containing(usable_repository)
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 535, in _find_containing
|     next_transport)[0]
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 750, in open_containing_from_transport
|     result = BzrDir.open_from_transport(a_transport)
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 709, in open_from_transport
|     return format.open(transport, _found=True)
|   File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1572, in open
|     return self._open(transport)
|   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/format.py", line 70, in _open
|     return remote.SvnRemoteAccess(transport, self)
|   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/remote.py", line 41, in __init__
|     _transport = get_svn_ra_transport(_transport)
|   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line 59, in get_svn_ra_transport
|     return SvnRaTransport(bzr_transport.base)
|   File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/errors.py", line 107, in convert
|     raise convert_error(e)
| SubversionException: ("Repository moved permanently to 'http://bzr.debian.org/~lolando/bzr/gforge/debian/'; please relocate", 175011)
| 
| bzr 1.5 on python 2.5.2 (linux2)
| arguments: ['/usr/bin/bzr', 'branch', 'http://bzr.debian.org/~lolando/bzr/gforge/debian/sid/']
| encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
| plugins:
|   bisect               /home/roland/.bazaar/plugins/bisect [1.1.0pre0]
|   bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
|   gtk                  /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.94.0]
|   launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
|   rebase               /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
|   svn                  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.10]
| *** Bazaar has encountered an internal error.
|     Please report a bug at https://bugs.launchpad.net/bzr/+filebug
|     including this traceback, and a description of what you
|     were doing when the error occurred.
| roland at mirexpress /tmp $ bzr --no-plugins branch http://bzr.debian.org/~lolando/bzr/gforge/debian/sid/
| Branched 5317 revision(s).                                                                                                                           
| roland at mirexpress /tmp $ 
`----


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-svn depends on:
ii  bzr                         1.5-1        easy to use distributed version co
ii  python                      2.5.2-1      An interactive high-level object-o
ii  python-central              0.6.8        register and build utility for Pyt
ii  python-pysqlite2            2.4.1-1      Python interface to SQLite 3
ii  python-subversion           1.5.0dfsg1-4 Python bindings for Subversion

Versions of packages bzr-svn recommends:
ii  bzr-rebase                    0.3-1.1    Rebase plugin for Bazaar

bzr-svn suggests no packages.

-- no debconf information

-- 
Roland Mas

Why did the tachyon cross the road?
Because it was on the other side.





More information about the Pkg-bazaar-maint mailing list