[pypy-svn] r18908 - pypy/dist/pypy/tool

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Oct 25 10:39:26 CEST 2005


Author: cfbolz
Date: Tue Oct 25 10:39:25 2005
New Revision: 18908

Modified:
   pypy/dist/pypy/tool/statistic_over_time.py
Log:
bugfix. there is another problem, though: I cannot easily check out an old
version since there is an old external that points to a repository that does
not exist any more.


Modified: pypy/dist/pypy/tool/statistic_over_time.py
==============================================================================
--- pypy/dist/pypy/tool/statistic_over_time.py	(original)
+++ pypy/dist/pypy/tool/statistic_over_time.py	Tue Oct 25 10:39:25 2005
@@ -12,13 +12,10 @@
 
 tempdir = py.path.svnwc(py.test.ensuretemp("pypy-dist"))
 print "checking out"
-tempdir.checkout(URL)
+tempdir.checkout(URL, 8500)
 print "done"
 pypy = tempdir.join('pypy')
 
-class DailyStatistic(object):
-    pass
-
 statistic = []
 
 curr_rev = tempdir.info().rev
@@ -43,14 +40,14 @@
             except:
                 tempdir.localpath.remove(1)
                 tempdir.localpath.mkdir()
-                if curr_rev < 8359:
-                    URL = "http://codespeak.net/svn/pypy/trunk"
                 while 1:
+		    if curr_rev < 8359:
+                        URL = "http://codespeak.net/svn/pypy/trunk"
                     try:
                         tempdir.checkout(URL, rev=curr_rev - 1)
                     except KeyboardInterrupt:
                         raise
-                    except:
+                    except Exception, e:
                         curr_rev -= 1
                     else:
                         break



More information about the Pypy-commit mailing list