The changes don't look unreasonable. At a first glance, two notes: it would be nice to have a constant for the default number of context lines. Can you please add some basic tests for the new option?
Cheers,
Jelmer
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Patiencediff (used by default for "bzr diff" command) includes the ability to control how many lines of context to output for each changed section. I made this accessible as an option to bzr diff, as "--context" so an example would be "bzr diff -r-2 --context 6"
I have also made this accessible to Loggerhead which I will propose for merging if this goes in.
Hi Paul,
The changes don't look unreasonable. At a first glance, two notes: it would be nice to have a constant for the default number of context lines. Can you please add some basic tests for the new option?
Cheers,
Jelmer
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Paul <email address hidden> wrote:
Paul has proposed merging lp:~pauljnixon/bzr/context_in_diffs into lp:bzr.
Requested reviews:
bzr-core (bzr-core)
For more details, see: /code.launchpad .net/~pauljnixo n/bzr/context_ in_diffs/ +merge/ 113793
https:/
Patiencediff (used by default for "bzr diff" command) includes the ability to control how many lines of context to output for each changed section. I made this accessible as an option to bzr diff, as "--context" so an example would be "bzr diff -r-2 --context 6"
I have also made this accessible to Loggerhead which I will propose for merging if this goes in.
This is the first time I have proposed anything for merging, if I'm doing something wrong just let me know and I'll fix it. /code.launchpad .net/~pauljnixo n/bzr/context_ in_diffs/ +merge/ 113793
--
https:/
Your team Bazaar Codereview Subscribers is subscribed to branch lp:bzr.