[Pkg-bazaar-maint] Bug#507887: bzr-svn: URL parsing bug: scheme://server//path
Paul Evans
leonerd at leonerd.org.uk
Fri Dec 5 15:07:32 UTC 2008
Package: bzr-svn
Version: 0.4.10-2
Severity: normal
This works fine:
bzr svn-branching-scheme svn+ssh://server/path/to/dir
This causes an error:
bzr svn-branching-scheme svn+ssh://server//path/to/dir
-----
bzr: ERROR: exceptions.AssertionError:
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/plugins/svn/__init__.py", line 382, in run
dir = BzrDir.open_containing(location)[0]
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 729, in open_containing
return BzrDir.open_containing_from_transport(transport)
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 52, in __init__
assert svn_url.startswith(self.svn_root_url)
AssertionError
bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'svn-branching-scheme', 'svn+ssh://svn//svn/users/paul/netviz/trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
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.
-----
The exact command seems not to matter; push does similar.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr-svn depends on:
ii bzr 1.5-1.1 easy to use distributed version co
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii python-subversion 1.5.1dfsg1-1 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
More information about the Pkg-bazaar-maint
mailing list