TypeError: merge_text() takes exactly 2 arguments (3 given)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
Once again, untested code is broken code:
File "/home/
self.do_merge()
File "/home/
self.
File "/home/
file_status = self._do_
File "/home/
hook_status, lines = hook.merge_
File "/home/
return self.merge_
TypeError: merge_text() takes exactly 2 arguments (3 given)
Fix available in the associated branch
Related branches
- Robert Collins (community): Approve
-
Diff: 183 lines (+88/-17)5 files modifiedNEWS (+3/-0)
bzrlib/merge.py (+12/-2)
bzrlib/tests/__init__.py (+1/-1)
bzrlib/tests/test_merge.py (+67/-10)
bzrlib/tests/test_merge_core.py (+5/-4)
- bzr-core: Pending requested
-
Diff: 272 lines (+88/-29) (has conflicts)6 files modifiedNEWS (+28/-0)
bzrlib/chk_map.py (+35/-14)
bzrlib/fetch.py (+1/-1)
bzrlib/merge.py (+12/-2)
bzrlib/tests/test_chk_map.py (+6/-6)
bzrlib/tests/test_merge.py (+6/-6)
Changed in bzr: | |
status: | Confirmed → Fix Released |
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