if os.path.exists(self.folder):
os.chdir(self.folder) # go into repository
subprocess.check_call(['svn', 'switch', self.svnPath]) # and update to the URL we got
if os.path.exists(self.folder):
os.chdir(self.folder) # go into repository
subprocess.check_call(['svn', 'switch', self.svnPath]) # and update to the URL we got