Crash when attempting to set branching scheme

Bug #230529 reported by Russ Brown
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

Repository URL is private...

$ bzr svn-branching-scheme --set svn://svn.example.com/
/usr/lib/python2.5/site-packages/bzrlib/plugins/email/__init__.py:57: DeprecationWarning: bzrlib.branch.BranchHooks.install_hook was deprecated in version 1.5.
  Branch.hooks.install_hook('post_commit', branch_commit_hook)
bzr: ERROR: exceptions.NameError: global name 'set_config_scheme' is not defined

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 841, 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 "/home/rbrown/.bazaar/plugins/svn/__init__.py", line 398, in run
    set_config_scheme(repos, scheme, mandatory=True)
NameError: global name 'set_config_scheme' is not defined

bzr 1.5rc1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'svn-branching-scheme', '--set', 'svn://svn.example.com/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bookmarks /home/rbrown/.bazaar/plugins/bookmarks [unknown]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.4.0]
  diffstat /home/rbrown/.bazaar/plugins/diffstat [unknown]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  extmerge /home/rbrown/.bazaar/plugins/extmerge [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /home/rbrown/.bazaar/plugins/loom [1.3.0]
  plugin_managment /home/rbrown/.bazaar/plugins/plugin_managment [unknown]
  pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.0.0dev0]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
  svn /home/rbrown/.bazaar/plugins/svn [0.4.11dev0]
*** 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.

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 230529] [NEW] Crash when attempting to set branching scheme

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  status fixcommitted

Fixed in bzr, including tests.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSCuQrwy0JeEGD2blAQJZrQP/XsMUtd3MZ76TtpQXVN+BWp7hAIrKlUfe
G+ye7Rx/b4aEhsCoD3XaLVWCmqCh9tWlkYN+hUlWqA9BbliqD5maVc47EPiUDtCn
tmeZsUjiMMPy/GUDZ742R+PP2LHLHTp89TodEXmoz+BYkdaVwEoVSkZJ0polOPC5
H8SMNXJwvh8=
=8qtL
-----END PGP SIGNATURE-----

Changed in bzr-svn:
status: New → Fix Committed
Revision history for this message
Russ Brown (pickscrape) wrote :

Confirmed that the fix works.

Thanks!

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
importance: Undecided → Low
milestone: none → 0.4.11
assignee: nobody → jelmer
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → 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.