[prev in list] [next in list] [prev in thread] [next in thread]
List: pypy-svn
Subject: Re: [pypy-svn] r53194 - pypy/branch/jit-hotpath/pypy/tool
From: Maciek Fijalkowski <fijal () genesilico ! pl>
Date: 2008-03-31 15:23:52
Message-ID: 47F10208.2030500 () genesilico ! pl
[Download RAW message or body]
arigo@codespeak.net wrote:
> Author: arigo
> Date: Mon Mar 31 10:51:44 2008
> New Revision: 53194
>
> Modified:
> pypy/branch/jit-hotpath/pypy/tool/udir.py
> Log:
> This logic seems slightly broken - I end up with tons of different
> usession names in my /tmp, not just branch names. Anyway I prefer
> the old behavior by far, so with this checkin I can set
> PYPY_USESSION_BASENAME to a simple '-' and get it back.
>
>
> Modified: pypy/branch/jit-hotpath/pypy/tool/udir.py
> ==============================================================================
> --- pypy/branch/jit-hotpath/pypy/tool/udir.py (original)
> +++ pypy/branch/jit-hotpath/pypy/tool/udir.py Mon Mar 31 10:51:44 2008
> @@ -17,9 +17,11 @@
> else:
> return basename.split('/')[-2]
>
> -try:
> - basename = '-' + svn_info(py.path.svnwc(py.magic.autopath().dirpath()).info().url) + '-'
> -except:
> - basename = '-'
> +basename = os.environ.get('PYPY_USESSION_BASENAME')
> +if not basename:
> + try:
> + basename = '-' + svn_info(py.path.svnwc(py.magic.autopath().dirpath()).info().url) + '-'
> + except:
> + basename = '-'
>
> udir = local.make_numbered_dir(prefix='usession' + basename, keep=3)
> _______________________________________________
> pypy-svn mailing list
> pypy-svn@codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-svn
>
> :.
>
>
That's because it contained tons of bugs and over checkins you got
different dirs :-( I hope it's fixed by now
:.
_______________________________________________
pypy-svn mailing list
pypy-svn@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic