bzr: ERROR: exceptions.TypeError: run() got an unexpected keyword argument 'new'

Bug #238867 reported by Wesley J. Landaker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Difftools Plugin
Confirmed
Undecided
Unassigned

Bug Description

While testing difftools with a branch of difftools, I encountered a bug. Looks like --using and --new don't work together:

I'm just diffing against the only other public difftools branch for example:

$ bzr diff --new http://repo.spacepants.org/bzr/plugins/difftools | diffstat
 controller.py | 44 +++++++++++++--------------
 difftool.py | 92 +++++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 84 insertions(+), 52 deletions(-)

That works okay. Now, let's try it with "--using kompare":

$ bzr diff --new http://repo.spacepants.org/bzr/plugins/difftools --using kompare
bzr: ERROR: exceptions.TypeError: run() got an unexpected keyword argument 'new'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, 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/wjlanda/.bazaar/plugins/difftools/__init__.py", line 78, in run
    return Controller().run(*args, **kwargs)
TypeError: run() got an unexpected keyword argument 'new'

bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'diff', '--new', 'http://repo.spacepants.org/bzr/plugins/difftools', '--using', 'kompare']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bisect /home/wjlanda/.bazaar/plugins/bisect [1.1.0pre0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
  cvsps /home/wjlanda/.bazaar/plugins/cvsps [unknown]
  difftools /home/wjlanda/.bazaar/plugins/difftools [0.91.0]
  gtk /home/wjlanda/.bazaar/plugins/gtk [0.95.0dev1]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /home/wjlanda/.bazaar/plugins/loom [1.4.0dev0]
  rebase /home/wjlanda/.bazaar/plugins/rebase [0.4.0dev0]
  stats /home/wjlanda/.bazaar/plugins/stats [unknown]
  svn /home/wjlanda/.bazaar/plugins/svn [0.4.11dev0]
  update_mirrors /home/wjlanda/.bazaar/plugins/update_mirrors [unknown]
*** 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.

Changed in bzr-difftools:
assignee: nobody → garyvdm
Changed in bzr-difftools:
assignee: Gary van der Merwe (garyvdm) → nobody
Jelmer Vernooij (jelmer)
Changed in bzr-difftools:
status: New → Confirmed
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.