Work around crash bug in subversion_repos probing for nonexistant paths. subvertpy-0.9.3 upstream/0.9.3
authorJelmer Vernooij <jelmer@jelmer.uk>
Sun, 23 Aug 2015 12:52:35 +0000 (12:52 +0000)
committerJelmer Vernooij <jelmer@jelmer.uk>
Sun, 23 Aug 2015 12:52:35 +0000 (12:52 +0000)
NEWS
setup.py
subvertpy/__init__.py
subvertpy/tests/test_repos.py

diff --git a/NEWS b/NEWS
index c18103def92c803e0134cfb1dbfa0e388c535f74..f3aa1377b31a33faba574b3a0364884ce98b4a30 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+0.9.3  2015-08-23
+
+  BUG FIXES
+
+   * Disable tests probing for nonexistant paths in FS, as this causes
+     a crash in newer versions of libsvn_repos.
+     (Jelmer Vernooij)
+
 0.9.2  2015-04-25
 
   BUG FIXES
index f79afc7801d707c49c7c1162f85c5015192f35cd..f62c28853a6c0616e4384b6a0cb3cb2658427fb2 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -380,7 +380,7 @@ def subvertpy_modules():
         ]
 
 
-subvertpy_version = (0, 9, 2)
+subvertpy_version = (0, 9, 3)
 subvertpy_version_string = ".".join(map(str, subvertpy_version))
 
 
index 66cf16c2ea81fe534be06dde2f49b9962315ceb2..d8b01ed6b56aaae4e1eb95548b335e6270f4ccb2 100644 (file)
@@ -17,7 +17,7 @@
 """Python bindings for Subversion."""
 
 __author__ = "Jelmer Vernooij <jelmer@jelmer.uk>"
-__version__ = (0, 9, 2)
+__version__ = (0, 9, 3)
 
 NODE_DIR = 2
 NODE_FILE = 1
index 30260cfff151d67eec31b0c1a651c173376eeea9..b0ca0bd7c1932426a3b2d250b08b0917cf8e532e 100644 (file)
@@ -121,13 +121,15 @@ class TestRepository(TestCaseInTempDir):
         repos.create(os.path.join(self.test_dir, "foo"))
         root = repos.Repository("foo").fs().revision_root(0)
         self.assertEqual(True, root.is_dir(""))
-        self.assertEqual(False, root.is_dir("nonexistant"))
+        # TODO(jelmer): Newer versions of libsvn_repos crash when passed a nonexistant path.
+        #self.assertEqual(False, root.is_dir("nonexistant"))
 
     def test_is_file(self):
         repos.create(os.path.join(self.test_dir, "foo"))
         root = repos.Repository("foo").fs().revision_root(0)
         self.assertEqual(False, root.is_file(""))
-        self.assertEqual(False, root.is_file("nonexistant"))
+        # TODO(jelmer): Newer versions of libsvn_repos crash when passed a nonexistant path.
+        #self.assertEqual(False, root.is_file("nonexistant"))
 
 
 class StreamTests(TestCase):