From 2514b8faafff507be2c4e2b46c1638a292703289 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 30 Jul 2009 21:31:31 +0200 Subject: [PATCH] fix a svn-1.6 issue --HG-- branch : 1.0.x --- CHANGELOG | 3 +++ py/path/svn/wccommand.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 3b36188d5..eb1270d92 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ Changes between 1.0.0b8 and 1.0.0b9 ===================================== +* fix svn-1.6 compat issue with py.path.svnwc().versioned() + (thanks Wouter Vanden Hove) + * dist-testing: properly handle test items that get locally collected but cannot be collected on the remote side - often due to platform/dependency reasons diff --git a/py/path/svn/wccommand.py b/py/path/svn/wccommand.py index 558d32cb5..ae6245160 100644 --- a/py/path/svn/wccommand.py +++ b/py/path/svn/wccommand.py @@ -454,6 +454,8 @@ recursively. """ except py.process.cmdexec.Error, e: if e.err.find('is not a working copy')!=-1: return False + if e.err.lower().find('not a versioned resource') != -1: + return False raise else: return True