[pypy-svn] r69893 - pypy/trunk/py/impl/path

arigo at codespeak.net arigo at codespeak.net
Fri Dec 4 15:19:59 CET 2009


Author: arigo
Date: Fri Dec  4 15:19:58 2009
New Revision: 69893

Modified:
   pypy/trunk/py/impl/path/svnwc.py
Log:
Backport a fix from the hg trunk, needed for fixeol to work.


Modified: pypy/trunk/py/impl/path/svnwc.py
==============================================================================
--- pypy/trunk/py/impl/path/svnwc.py	(original)
+++ pypy/trunk/py/impl/path/svnwc.py	Fri Dec  4 15:19:58 2009
@@ -808,9 +808,11 @@
         def notsvn(path):
             return path.basename != '.svn' 
 
-        paths = [self.__class__(p, auth=self.auth) 
-                    for p in self.localpath.listdir()
-                        if notsvn(p) and (not fil or fil(p))]
+        paths = []
+        for localpath in self.localpath.listdir(notsvn):
+            p = self.__class__(localpath, auth=self.auth)
+            if notsvn(p) and (not fil or fil(p)):
+                paths.append(p)
         self._sortlist(paths, sort)
         return paths
 



More information about the Pypy-commit mailing list