Merge lp:~nmb/bzr-keywords/after-2.6 into lp:bzr-keywords

Proposed by Neil Martinsen-Burrell
Status: Rejected
Rejected by: Jelmer Vernooij
Proposed branch: lp:~nmb/bzr-keywords/after-2.6
Merge into: lp:bzr-keywords
Diff against target: 15 lines (+5/-0)
1 file modified
README.txt (+5/-0)
To merge this branch: bzr merge lp:~nmb/bzr-keywords/after-2.6
Reviewer Review Type Date Requested Status
Jelmer Vernooij Pending
Review via email: mp+115257@code.launchpad.net

Description of the change

The change in r20 made the plugin work only with Bazaar versions after 2.6b2. This clarifies that requirement and tells people how to work around the problem.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Couldn't we just support both? Did one of my recent changes break compatibility with older versions of bzr?

Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

Yes, r20 of bzr-keywords broke compatibility with versions of bzr that
don't have r6498.5.1 (merged in r6517):

nmb@garble[~/src/bzr/bzr.all]$ bzr revert -r tag:bzr-2.5.1
[...]
nmb@garble[~/src/bzr/bzr.all]$ ./bzr selftest -s bp.keywords
'module' object has no attribute 'filter_stacks_registry'
----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

This came up on the mailing list recently and reverting to r19 fixed
the problem on bzr 2.5.0.

On Fri, Jul 20, 2012 at 8:01 AM, Jelmer Vernooij
<email address hidden> wrote:
> Couldn't we just support both? Did one of my recent changes break compatibility with older versions of bzr?
> --
> https://code.launchpad.net/~nmb/bzr-keywords/after-2.6/+merge/115257
> You are the owner of lp:~nmb/bzr-keywords/after-2.6.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

On Fri, Jul 20, 2012 at 01:16:18PM -0000, Neil Martinsen-Burrell wrote:
> Yes, r20 of bzr-keywords broke compatibility with versions of bzr that
> don't have r6498.5.1 (merged in r6517):

> nmb@garble[~/src/bzr/bzr.all]$ bzr revert -r tag:bzr-2.5.1
> [...]
> nmb@garble[~/src/bzr/bzr.all]$ ./bzr selftest -s bp.keywords
> 'module' object has no attribute 'filter_stacks_registry'
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s

> OK

> This came up on the mailing list recently and reverting to r19 fixed
> the problem on bzr 2.5.0.
Ah - thanks.

I've pushed a fix to fall back to the old registration function if the
new one isn't available.

Cheers,

jelmer

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is superseded by bzr-keywords now supporting older versions too.

Unmerged revisions

21. By Neil Martinsen-Burrell

Clarify version dependencies in README.txt

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.txt'
2--- README.txt 2008-07-18 16:23:12 +0000
3+++ README.txt 2012-07-17 01:02:18 +0000
4@@ -18,6 +18,11 @@
5 See http://bazaar-vcs.org/UsingPlugins for other options such as
6 using the BZR_PLUGIN_PATH environment variable.
7
8+The latest versions of this plugin are only compatible with Bazaar
9+2.6.0 and later. If you need to use an earlier version of Bazaar,
10+then you should use revision 19 of this plugin (bzr branch -r 19
11+lp:bzr-keywords ~/.bazaar/plugins/keywords).
12+
13
14 Testing
15 -------

Subscribers

People subscribed via source and target branches