Merge lp:~abentley/launchpad/parse-binary into lp:launchpad
Proposed by
Aaron Bentley
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Brad Crittenden | ||||||||
Approved revision: | no longer in the source branch. | ||||||||
Merged at revision: | not available | ||||||||
Proposed branch: | lp:~abentley/launchpad/parse-binary | ||||||||
Merge into: | lp:launchpad | ||||||||
Diff against target: |
55 lines 3 files modified
lib/lp/code/model/diff.py (+3/-1) lib/lp/code/model/tests/test_diff.py (+5/-0) versions.cfg (+3/-3) |
||||||||
To merge this branch: | bzr merge lp:~abentley/launchpad/parse-binary | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Brad Crittenden (community) | code | Approve | |
Review via email: mp+13600@code.launchpad.net |
Commit message
Diffstat generation handles binaries
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
Fix bugs 436325 and 436794 by updating bzr and diffstat generation
== Proposed fix ==
Skip binary files when generating diffstats
== Pre-implementation notes ==
No pre-implementation was done, but the bzr changes were approved by vila.
== Implementation details ==
bzr was updated to 2.0-lp-2, which correctly parses binary sections, and
permits unicode filenames.
The diffstat generation was updated to skip binary patch sections.
== Tests == ceptsBinary
bin/test -v test_fromFileAc
== Demo and Q/A ==
Create a branch containing a binary file with a unicode filename.
Branch it, and modify the file.
Propose the second branch for merging into the first.
A diff should be generated, with no OOPs.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: code/model/ diff.py code/model/ tests/test_ diff.py
versions.cfg
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ code/model/ diff.py enigmail. mozdev. org
17: [F0401] Unable to import 'lazr.delegates' (No module named
delegates)
166: [W0703, Diff.fromFile] Catch "Exception"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEUEARECAAYFAkr c3IkACgkQ0F+ nu1YWqI2O4QCfW8 sxKPICQKsX64QwD /Z47KPk z/qEj5hou0DXo7g 4=
zbAAljW1R0JwgNq
=5cev
-----END PGP SIGNATURE-----