[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/cvs
From:       Harald Fernengel <harry () kdevelop ! org>
Date:       2003-06-19 19:25:31
[Download RAW message or body]

CVS commit by harald: 

make cvs_rsh work for project import


  M +6 -2      cvspart.cpp   1.50


--- kdevelop/parts/cvs/cvspart.cpp  #1.49:1.50
@@ -252,11 +252,15 @@ void CvsPart::createNewProject( const QS
     // createNewProject() is called _before_ projectOpened() signal is emitted.
     g_tempEnvRsh = m_cvsConfigurationForm->cvs_rsh->text();
+    QString rsh;
+    if ( !g_tempEnvRsh.isEmpty() )
+        rsh = "CVS_RSH=" + KShellProcess::quote( g_tempEnvRsh );
+
 
     if (m_cvsConfigurationForm->init_check->isChecked())
     {
-        init = "cvs -d " + \
KShellProcess::quote(m_cvsConfigurationForm->root_edit->text()) + " init && "; +      \
init = rsh + " cvs -d " + \
KShellProcess::quote(m_cvsConfigurationForm->root_edit->text()) + " init && ";  }
     QString command = init + "cd " + KShellProcess::quote(dirName) +
-        " && " + cvs_rsh() +
+        " && " + rsh +
         " cvs -d " + KShellProcess::quote(m_cvsConfigurationForm->root_edit->text()) \
                +
         " import -m " + \
KShellProcess::quote(m_cvsConfigurationForm->message_edit->text()) + " " +


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic