From 04482e4adc674697ef0155b4dc11fec33b515f23 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 8 Mar 2012 10:59:22 -0500 Subject: [PATCH] jsvn: ignore errors getting branch/tag list --- jsvn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsvn b/jsvn index a6e2a66..2e9610b 100755 --- a/jsvn +++ b/jsvn @@ -238,7 +238,7 @@ def getSVNBranchList(svn): colist = [] root = getSVNRoot(svn) lines = Popen([svn, 'ls', root + '/branches'], - stdout=PIPE).communicate()[0].split('\n') + stdout=PIPE, stderr=PIPE).communicate()[0].split('\n') for line in lines: if re.match(r'^\s*$', line) is None: colist.append(re.sub(r'/$', '', line)) @@ -248,7 +248,7 @@ def getSVNTagList(svn): colist = [] root = getSVNRoot(svn) lines = Popen([svn, 'ls', root + '/tags'], - stdout=PIPE).communicate()[0].split('\n') + stdout=PIPE, stderr=PIPE).communicate()[0].split('\n') for line in lines: if re.match(r'^\s*$', line) is None: colist.append(re.sub(r'/$', '', line))