bzr update from subversion repository crashes

Bug #664032 reported by Luca Pireddu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

I have a local bzr working copy of a subversion repository that I access via http. I just did an update which resulted in a crash

$ bzr update
bzr: ERROR: exceptions.TypeError: update() got an unexpected keyword argument 'revision'

I have attached the crash file. Below is the trace from .bzr.log

Wed 2010-10-20 19:04:01 +0200
0.055 bazaar version: 2.1.1
0.055 bzr arguments: [u'update']
0.076 looking for plugins in /home/pireddu/.bazaar/plugins
0.164 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.165 Plugin name svn already loaded
0.246 encoding stdout as sys.stdout encoding 'UTF-8'
0.285 bzr-svn: using Subversion 1.6.6 ()
1.648 potential branching layouts: [('trunk2', 198), ('root', 14)]
1.648 Guessed repository layout: TrunkLayout(2), guess layout to use: RootLayout()
3.643 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1427, in run
    old_tip=old_tip)
TypeError: update() got an unexpected keyword argument 'revision'

3.711 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugin.py", line 471, in _get__version__
    version_string = _format_version_tuple(version_info)
  File "/usr/lib/python2.6/dist-packages/bzrlib/__init__.py", line 107, in _format_version_tuple
    raise ValueError("version_info %r not valid" % (version_info,))
ValueError: version_info (0, 98, 0, 'final', 1) not valid

3.793 Transferred: 19KiB (7.7K/s r:0K w:0K u:19K)
3.793 return code 4

Revision history for this message
Luca Pireddu (pireddu) wrote :
tags: added: subversion
Revision history for this message
Luca Pireddu (pireddu) wrote :

I just did a bzr pull of the same repository I had checked out (e.g. bzr pull http://svn.myserver/myproject/), then bzr update, and this time it didn't crash.

If it matters, it's a Lightweight checkout (format: subversion-wc) .

Revision history for this message
Martin Packman (gz) wrote :

Updating your bzr-svn plugin should resolve this, and the latest bzr 2.1 wouldn't hurt either.

affects: bzr → bzr-svn
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.