crash on "bzr co .,"

Bug #324628 reported by Wesley J. Landaker
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij

Bug Description

I was checking out a tree from a treeless branch, an instead of trying "bzr co ." I accidentally typed "bzr co .," which caused this failure in the bzr-svn plugin:

bzr: ERROR: exceptions.NameError: global name 'self' is not defined

Traceback (most recent call last):
  File "/home/wjlanda/lib/python/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/wjlanda/lib/python/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/home/wjlanda/lib/python/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/wjlanda/lib/python/bzrlib/builtins.py", line 1120, in run
    branch_location)
  File "/home/wjlanda/lib/python/bzrlib/bzrdir.py", line 904, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/home/wjlanda/lib/python/bzrlib/bzrdir.py", line 791, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/home/wjlanda/lib/python/bzrlib/bzrdir.py", line 819, in open_from_transport
    redirected)
  File "/home/wjlanda/lib/python/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/home/wjlanda/lib/python/bzrlib/transport/__init__.py", line 1680, in do_catching_redirections
    return action(transport)
  File "/home/wjlanda/lib/python/bzrlib/bzrdir.py", line 806, in find_format
    transport, _server_formats=_server_formats)
  File "/home/wjlanda/lib/python/bzrlib/bzrdir.py", line 1645, in find_format
    return format.probe_transport(transport)
  File "/home/wjlanda/.bazaar/plugins/svn/format.py", line 86, in probe_transport
    self._check_versions()
NameError: global name 'self' is not defined

bzr 1.12dev on python 2.5.2 (linux2)
arguments: ['/home/wjlanda/bin/bzr', 'co', '.,']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bisect /home/wjlanda/.bazaar/plugins/bisect [1.1.0.pre.0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.11]
  cvsps_import /usr/lib/python2.5/site-packages/bzrlib/plugins/cvsps_import [unknown]
  gtk /home/wjlanda/.bazaar/plugins/gtk [0.96.0.dev.1]
  hg /home/wjlanda/.bazaar/plugins/hg [unknown]
  launchpad /home/wjlanda/lib/python/bzrlib/plugins/launchpad [unknown]
  loom /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4dev]
  netrc_credential_store /home/wjlanda/lib/python/bzrlib/plugins/netrc_credential_store [unknown]
  qbzr /home/wjlanda/.bazaar/plugins/qbzr [0.9.7dev]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.2]
  search /usr/lib/python2.5/site-packages/bzrlib/plugins/search [1.7dev]
  stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn /home/wjlanda/.bazaar/plugins/svn [0.5rc1]
  upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [0.1]
*** 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.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks for the bug report. This bug was already fixed a couple of days ago.

Changed in bzr-svn:
assignee: nobody → jelmer
milestone: none → 0.5.0
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.