Macintosh installation
Martin Geisler
mg at lazybytes.net
Mon Jun 14 14:36:04 CDT 2010
David Champion <dgc at uchicago.edu> writes:
> This is somewhat tangential, but I've sat on it long enough. I've been
> automatically building and uploading nightlies and releases of the
> command-line kit here:
>
> http://macmercurial.bitbucket.org/
Nice! I think it would be good if you could include the latest tag and
the distance to the tag in the file name, just like setup.py does it:
cmd = [sys.executable, 'hg', 'id', '-i', '-t']
l = runcmd(cmd, env).split()
while len(l) > 1 and l[-1][0].isalpha(): # remove non-numbered tags
l.pop()
if len(l) > 1: # tag found
version = l[-1]
elif len(l) == 1: # no tag found
cmd = [sys.executable, 'hg', 'parents', '--template',
'{latesttag}+{latesttagdistance}-']
version = runcmd(cmd, env) + l[0]
> I haven't announced this previously because I'm still hoping to come
> up with a 10.6 machine so I can build for both OS versions, but I
> don't have time for working on that now.
Thanks for announcing it -- it seemed everybody used Macs at the Paris
sprint, so I'm sure someone here can help you. Heck, even I have a Mac
now (because of work) but it will take some time before I'm comfortable
building anything on it.
--
Martin Geisler
See my Mercurial presentation: http://vimeo.com/11497288
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100614/a9f2dfa7/attachment.pgp>
More information about the Mercurial-devel
mailing list