remove support for subversion on Windows to prevent cmd windows from opening

This commit is contained in:
Alan Hamlett 2013-10-14 21:50:22 -07:00
parent 98b9056c77
commit f8b4c91ae6

View file

@ -11,6 +11,7 @@
import logging import logging
import os import os
import platform
from subprocess import Popen, PIPE from subprocess import Popen, PIPE
from .base import BaseProject from .base import BaseProject
@ -62,6 +63,8 @@ class Subversion(BaseProject):
return info return info
def _find_project_base(self, path, found=False): def _find_project_base(self, path, found=False):
if platform.system() == 'Windows':
return False
path = os.path.realpath(path) path = os.path.realpath(path)
if os.path.isfile(path): if os.path.isfile(path):
path = os.path.split(path)[0] path = os.path.split(path)[0]