PyPy and bzr
Martin Pool
mbp at canonical.com
Thu May 12 07:34:55 UTC 2011
On 11 May 2011 20:08, INADA Naoki <songofacandy at gmail.com> wrote:
> I've modified _format_version_tuple and bzr mostly works with pypy.
>
> === modified file 'bzrlib/__init__.py'
> --- bzrlib/__init__.py 2011-04-28 14:12:08 +0000
> +++ bzrlib/__init__.py 2011-05-11 18:06:46 +0000
> @@ -101,7 +101,7 @@
> sub = version_info[4]
>
> # check they're consistent
> - if release_type == 'final' and sub == 0:
> + if release_type == 'final':
> sub_string = ''
> elif release_type == 'dev' and sub == 0:
> sub_string = 'dev'
>
> Is this patch acceptable?
Thanks for that. I think showing the serial number would be a bit
more useful, just in case there it's ever relevant to a bug, and (I'll
check) I don't think this patch would do that. But something a lot
like it would be good.
Martin
More information about the bazaar
mailing list