bzr branch fails with "sprout() got an unexpected keyword argument 'source_branch'"

Bug #321695 reported by Ali Sabil
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Martin Pool

Bug Description

bzr fails when trying to branch from: http://repo.spacepants.org/bzr/plugins/graft/

with the following traceback:
Format <RepositoryFormat6> for http://repo.spacepants.org/bzr/plugins/graft/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
bzr: ERROR: exceptions.TypeError: sprout() got an unexpected keyword argument 'source_branch'

Traceback (most recent call last):
  File "/home/asabil/Development/Resources/bzr/bzr/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/asabil/Development/Resources/bzr/bzr/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/home/asabil/Development/Resources/bzr/bzr/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/asabil/Development/Resources/bzr/bzr/bzrlib/builtins.py", line 1043, in run
    source_branch=br_from)
TypeError: sprout() got an unexpected keyword argument 'source_branch'

bzr 1.12dev on python 2.5.2 (linux2)
arguments: ['/home/asabil/.local/bin/bzr', 'branch', 'http://repo.spacepants.org/bzr/plugins/graft/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  avahi /usr/lib/python2.5/site-packages/bzrlib/plugins/avahi [0.3dev]
  bisect /home/asabil/.bazaar/plugins/bisect [1.1.0.pre.0]
  builddeb /home/asabil/.bazaar/plugins/builddeb [2.1dev]
  bzrtools /home/asabil/.bazaar/plugins/bzrtools [1.11]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
  fastimport /home/asabil/.bazaar/plugins/fastimport [unknown]
  git /home/asabil/.bazaar/plugins/git [unknown]
  gnomeds /home/asabil/.bazaar/plugins/gnomeds [unknown]
  gnulog /home/asabil/.bazaar/plugins/gnulog.py [unknown]
  gtk /home/asabil/.bazaar/plugins/gtk [0.96.0.dev.1]
  launchpad /home/asabil/Development/Resources/bzr/bzr/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /home/asabil/Development/Resources/bzr/bzr/bzrlib/plugins/netrc_credential_store [unknown]
  qbzr /home/asabil/.bazaar/plugins/qbzr [0.9.6dev]
  rebase /home/asabil/.bazaar/plugins/rebase [0.4.3dev]
  search /home/asabil/.bazaar/plugins/search [1.7dev]
  stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn /home/asabil/.bazaar/plugins/svn [0.4.16]
*** 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
Robert Collins (lifeless) wrote :

were you using a local repository?

Revision history for this message
Ali Sabil (asabil) wrote :

no not at all, just directly branching into ~/.bazaar/plugins

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 321695] Re: bzr branch fails with "sprout() got an unexpected keyword argument 'source_branch'"

On Tue, 2009-01-27 at 00:04 +0000, Ali Sabil wrote:
> no not at all, just directly branching into ~/.bazaar/plugins

Thanks

-Rob

Revision history for this message
Martin Pool (mbp) wrote :

I encountered this too and have a fix.

Changed in bzr:
assignee: nobody → mbp
importance: Undecided → Medium
status: New → Confirmed
Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → 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.