meld r1073 - trunk/vc
- From: stevek svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1073 - trunk/vc
- Date: Thu, 16 Oct 2008 21:46:42 +0000 (UTC)
Author: stevek
Date: Thu Oct 16 21:46:41 2008
New Revision: 1073
URL: http://svn.gnome.org/viewvc/meld?rev=1073&view=rev
Log:
Bug 522864 â SVN errors if spaces in path (Neil Mayhew)
Modified:
trunk/vc/svn.py
Modified: trunk/vc/svn.py
==============================================================================
--- trunk/vc/svn.py (original)
+++ trunk/vc/svn.py Thu Oct 16 21:46:41 2008
@@ -24,6 +24,7 @@
import os
import re
import errno
+import subprocess
import _vc
class Vc(_vc.Vc):
@@ -54,7 +55,8 @@
while 1:
try:
- entries = os.popen('svn status -Nv "%s"'%directory).read()
+ entries = subprocess.Popen(["svn","status","-Nv",directory],
+ shell=False, stdout=subprocess.PIPE).stdout.read()
break
except OSError, e:
if e.errno != errno.EAGAIN:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]