TypeError: merge_text() takes exactly 2 arguments (3 given)

Bug #515597 reported by Vincent Ladeuil
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Vincent Ladeuil

Bug Description

Once again, untested code is broken code:

  File "/home/vila/src/bzr/releases/2.1.0/bzrlib/merge.py", line 765, in __init__
    self.do_merge()
  File "/home/vila/src/bzr/releases/2.1.0/bzrlib/merge.py", line 775, in do_merge
    self._compute_transform()
  File "/home/vila/src/bzr/releases/2.1.0/bzrlib/merge.py", line 822, in _compute_transform
    file_status = self._do_merge_contents(file_id)
  File "/home/vila/src/bzr/releases/2.1.0/bzrlib/merge.py", line 1310, in _do_merge_contents
    hook_status, lines = hook.merge_contents(params)
  File "/home/vila/src/bzr/releases/2.1.0/bzrlib/merge.py", line 163, in merge_contents
    return self.merge_text(self, params)
TypeError: merge_text() takes exactly 2 arguments (3 given)

Fix available in the associated branch

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

Bah, sorry for the incomplete description: the fix is trivial, an unfortunate typo:

    return self.merge_text(self, params)

should be

    return self.merge_text(params)

It looks like I can't associate a branch to a bug anymore... weird. Anyway, the merge proposal is at https://code.edge.launchpad.net/~vila/bzr/2.1.0-fixes/+merge/18397

Changed in bzr:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Vincent Ladeuil (vila)
milestone: none → 2.1.0
John A Meinel (jameinel)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.