Merge lp:~abentley/launchpad/ignore-md-diff into lp:launchpad
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~abentley/launchpad/ignore-md-diff |
Merge into: | lp:launchpad |
Diff against target: |
51 lines 2 files modified
lib/lp/code/mail/codehandler.py (+1/-17) lib/lp/code/mail/tests/test_codehandler.py (+1/-1) |
To merge this branch: | bzr merge lp:~abentley/launchpad/ignore-md-diff |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Abel Deuring (community) | code | Approve | |
Review via email: mp+13491@code.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
This patch stops launchpad from storing the diffs in merge directives,
fixing bug #453010.
== Proposed fix ==
bzr has a bug in its patch parsing, but we are only exposed to it when
we process diffs that we don't get directly from bzrlib. When we
receive diffs via email, there's a chance that the mail client will
munge the newlines, which exposes us to this bug.
We are no longer using this type of diff at all, so there's no need to
be retrieving it from the merge directive.
So this patch simply stops attempting to store the diff from the merge eationJob, but eventually, we can shut that off too.
directive. For the time being, this means that it will be generated by
the MergeProposalCr
== Pre-implementation notes ==
This patch has no pre-implementation call.
== Implementation details ==
Nothing to add
== Tests ==
bin/test -v test_codehandler
== Demo and Q/A ==
Generate a merge directive. Convert its line endings to CRLF. Send it
as an attachment to <email address hidden>. Launchpad should not
report an OOPS (via email).
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: code/mail/ codehandler. py code/mail/ tests/test_ codehandler. py enigmail. mozdev. org
lib/lp/
lib/lp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr YqkkACgkQ0F+ nu1YWqI360gCdGS h7GtIj/ OjKgm1f76PkOZkk eA7HJ4izjFyD+ 9pJ/
piYAn1pfPDnOPUg
=xtLB
-----END PGP SIGNATURE-----