[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-08 13:46:54
[Download RAW message or body]

CVS commit by harald: 

output the correct message in "cvs diff" if local file is not modified


  M +7 -2      cvspart.cpp   1.42


--- kdevelop/parts/cvs/cvspart.cpp  #1.41:1.42
@@ -643,6 +643,11 @@ void CvsPart::processExited()
         core()->running( this, false );
 
-        if ( proc->normalExit() )
+        if ( proc->normalExit() ) {
+                // no output
+                if ( stdOut.isNull() && ( proc->exitStatus() == 0 ) ) {
+                     stdOut = QString( "" );
+                }
                 diffFinished( stdOut, stdErr );
+        }
 
         stdOut = QString::null;


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

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