remove support for subversion on Windows to prevent cmd windows from opening
This commit is contained in:
parent
98b9056c77
commit
f8b4c91ae6
1 changed files with 3 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue