Merge lp://qastaging/~maxb/bzr/fix-meliae-feature-use into lp://qastaging/bzr
Proposed by
Max Bowsher
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6104 |
Proposed branch: | lp://qastaging/~maxb/bzr/fix-meliae-feature-use |
Merge into: | lp://qastaging/bzr |
Diff against target: |
42 lines (+3/-4) 2 files modified
bzrlib/tests/features.py (+1/-2) bzrlib/tests/test__static_tuple.py (+2/-2) |
To merge this branch: | bzr merge lp://qastaging/~maxb/bzr/fix-meliae-feature-use |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Approve | ||
Review via email: mp+72353@code.qastaging.launchpad.net |
Commit message
Fix meliae test feature definitions.
Description of the change
Delete features.meliae, because it is a false friend which checks only for the
availability of the meliae pure python code, not the compiled extensions.
Update only user to use features.
unavailability of the compiled extensions.
---
This is especially important for Debian package builds, where the meliae compiled extensions may be available for the standard Python interpreter, but not be available for the debug interpreter.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8/21/2011 9:00 PM, Max Bowsher wrote: /code.launchpad .net/~maxb/ bzr/fix- meliae- feature- use/+merge/ 72353 meliae_ feature, which does catch
> Max Bowsher has proposed merging
> lp:~maxb/bzr/fix-meliae-feature-use into lp:bzr.
>
> Requested reviews: bzr-core (bzr-core)
>
> For more details, see:
> https:/
>
> Delete features.meliae, because it is a false friend which checks
> only for the availability of the meliae pure python code, not the
> compiled extensions.
>
> Update only user to use features.
> unavailability of the compiled extensions.
>
> ---
>
> This is especially important for Debian package builds, where the
> meliae compiled extensions may be available for the standard Python
> interpreter, but not be available for the debug interpreter.
I would rather just change it to:
- -meliae = ModuleAvailable Feature( 'meliae' ) Feature( 'meliae. scanner' ) Feature( 'meliae. scanner' )
+meliae = ModuleAvailable
...
- -meliae_feature = ModuleAvailable
I don't think "features. meliae_ feature" is a better way to spell it,
and if it is redundant, lets get rid of the ugly named one.
meliae_feature isn't in the 2.4 series anyway, so it is a relatively
new introduction, and thus safe to just get rid of.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk5 SOdIACgkQJdeBCY SNAAMRpQCeIHrV2 FmuhdE6a/ xonVR8Wbnl iCMpaCjrnQ7X3by tk
sD8AoIOzTcoyocK
=Z/ne
-----END PGP SIGNATURE-----