crashes with 'branches_str' is not defined error

Bug #304675 reported by Ryo IGARASHI
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij

Bug Description

Hi,

When I try to branch svn repository with https access and authorization,
bzr crashes with following error.
(I'm sorry that the used svn repos is not public.

I uses bzr trunk and bzr-svn trunk(rev. 1961).

$ bzr branch --verbose https://<email address hidden>/svn/trunk
bzr: ERROR: exceptions.NameError: global name 'branches_str' is not defined

Traceback (most recent call last):
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/builtins.py", line 953, in run
    from_location)
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/bzrdir.py", line 889, in open_tree_or_branch
    return bzrdir._get_tree_branch()
  File "/home/rigarash/checkouts/bzr-dev/bzrlib/bzrdir.py", line 874, in _get_tree_branch
    branch = self.open_branch()
  File "/home/rigarash/.bazaar/plugins/svn/remote.py", line 181, in open_branch
    branch = SvnBranch(repos, self.branch_path)
  File "/home/rigarash/.bazaar/plugins/svn/branch.py", line 84, in __init__
    self.layout = self.repository.get_layout()
  File "/home/rigarash/.bazaar/plugins/svn/repository.py", line 332, in get_layout
    tags = self.get_config().get_tags()
  File "/home/rigarash/.bazaar/plugins/svn/config.py", line 89, in get_tags
    return filter(lambda b: b != "", branches_str.split(";"))
NameError: global name 'branches_str' is not defined

bzr 1.11dev on python 2.5.2 (linux2)
arguments: ['/home/rigarash/bin/bzr', 'branch', '--verbose', 'https://<email address hidden>/svn/trunk', 'trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ja_JP.UTF-8'
plugins:
  bzrtools /home/rigarash/.bazaar/plugins/bzrtools [1.10]
  fastimport /home/rigarash/.bazaar/plugins/fastimport [unknown]
  launchpad /home/rigarash/checkouts/bzr-dev/bzrlib/plugins/launchpad [unknown]
  rebase /home/rigarash/.bazaar/plugins/rebase [0.4.3dev]
  svn /home/rigarash/.bazaar/plugins/svn [0.5.0.exp.0]
*** 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.

Ryo IGARASHI (rigarash)
description: updated
Jelmer Vernooij (jelmer)
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.