[PATCH] plan9: update util.py for cpython 2.7 build
Jeff Sickel
jas at corpus-callosum.com
Thu Jan 2 13:14:55 CST 2014
On Sep 14, 2013, at 6:28 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Fri, 2013-09-13 at 15:46 -0500, Jeff Sickel wrote:
>> # HG changeset patch
>> # User Jeff Sickel <jas at corpus-callosum.com>
>> # Date 1379104804 18000
>> # Fri Sep 13 15:40:04 2013 -0500
>> # Node ID 9fd088ed9cf59542387d09fac002d5ffc1ab0e74
>> # Parent 3de0893bdd5e12e91169bb820e49ead77940b877
>> plan9: update util.py for cpython 2.7 build
>
> Queued for default with a line length fix, thanks. Please run check-code
> in the future.
I’ve noticed that this patch didn’t make it into stable for the
2.8.x releases. Without it the new Plan 9 builds succeed, but
fail to generate the mercurial/__version__.py file:
% python setup.py
stderr from '/bin/python hg log -r . --template {tags}
':
<open file '<fdopen>', mode 'rb' at 0x5A2390>
stderr from '/bin/python hg id -i':
<open file '<fdopen>', mode 'rb' at 0x5A2498>
stderr from '/bin/python hg parents --template {latesttag}+{latesttagdistance}-':
<open file '<fdopen>', mode 'rb' at 0x5A25A0>
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
More information about the Mercurial-devel
mailing list