On Nov 22, 2009, at 1:15 AM, Robert Bradshaw wrote:

> On Nov 21, 2009, at 10:18 AM, Mark Lodato wrote:
>>
>>
>> Here's a proof of concept.  I haven't tested it, and I don't know Hg
>> well, so this may not be good.  It might be better to turn this  
>> into a
>> Makefile target rather than a script.
>>
>> #!/bin/bash -x -e
>> tag=0.11.3
>> repo=http://hg.cython.org/cython-devel
>> tmpdir=`mktemp --tmpdir=. -d`
>> hg clone $repo $tmpdir
>> cd $tmpdir
>> hg update $tag
>> cd ..
>> mv $tmpdir/{.hg,.hgtags} .
>> rm -rf $tmpdir
>
> Thanks. I was hoping it wouldn't be anything messy, and that seems to
> do it (except that --tmpdir isn't a standard posix option). I agree,
> I'll turn this into a Makefile. Probably too big of a change to put
> into 0.12 at this point, but I'll turn this into a makefile.

http://trac.cython.org/cython_trac/ticket/458

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to