Merge lp:~jelmer/bzr/diff-format into lp:bzr
Proposed by
Jelmer Vernooij
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ian Clatworthy | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~jelmer/bzr/diff-format | ||||
Merge into: | lp:bzr | ||||
Diff against target: |
193 lines (+65/-24) 4 files modified
NEWS (+3/-0) bzrlib/builtins.py (+13/-3) bzrlib/diff.py (+25/-21) bzrlib/tests/blackbox/test_diff.py (+24/-0) |
||||
To merge this branch: | bzr merge lp:~jelmer/bzr/diff-format | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Clatworthy | Approve | ||
Review via email: mp+22837@code.launchpad.net |
Description of the change
This adds support for a --format option to 'bzr diff', defaulting to the current DiffTree implementation in Bazaar.
bzr-git and bzr-svn already ship with custom DiffTree implementations to output diffs in the formats supported by Subversion and Git.
To post a comment you must log in.
I'd prefer to see the default diff format looked up using the registry API for getting the default. Otherwise, this looks fine by me.