Comment 4 for bug 569934

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 569934] [NEW] version-info --python doesn't match version-info

On Mon, 2010-04-26 at 13:43 +0000, Dmitrijs Ledkovs wrote:
> >> Note that svn version-info tags are missing from the python formatter.
> > That's true, but I don't see otherwise how the two don't match. Or do
> > you consider the latter the bug?
> >
>
> I mean the bug is that python formatter doesn't pick up any tags added
> via RioFormatter hook. Hence the information you could get from $ bzr
> version-info --rio is not available when you access it via $ bzr
> version-info --python. I believe you should get same/all information
> you can via all formatters.
It works that way intentionally. The RioFormatter hooks is specifically
for that - the RioFormatter.

I don't think this is a bug but rather a wishlist item; the fix is
either to have both use the same hook (and rename that hook to not be
specific to Rio) or to add a different hook for the python formatter.

I'm not convinced they should be using the same values. It might make
more sense to generate proper Python values for the python formatter
rather than plain strings as are used for the rio formatter.

Cheers,

Jelmer