Author: Antonio Cuni <anto.c...@gmail.com> Branch: Changeset: r63139:1f99f6cb2850 Date: 2013-04-08 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/1f99f6cb2850/
Log: download the nightly of the current branch diff --git a/pypy/goal/getnightly.py b/pypy/goal/getnightly.py --- a/pypy/goal/getnightly.py +++ b/pypy/goal/getnightly.py @@ -13,8 +13,13 @@ if sys.maxint == 2**63 - 1: arch += '64' +hg = py.path.local.sysfind('hg') +branch = hg.sysexec('branch').strip() +if branch == 'default': + branch = 'trunk' + filename = 'pypy-c-jit-latest-%s.tar.bz2' % arch -url = 'http://buildbot.pypy.org/nightly/trunk/%s' % filename +url = 'http://buildbot.pypy.org/nightly/%s/%s' % (branch, filename) tmp = py.path.local.mkdtemp() mydir = tmp.chdir() print 'Downloading pypy to', tmp _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit