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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/subversion
From:       Hamish Rodda <rodda () kde ! org>
Date:       2008-12-17 14:09:02
Message-ID: 1229522942.126794.757.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 898137 by rodda:

Don't leave the diff job in limbo forever when there's no difference found, return \
and present the blank diff to the user.

 M  +6 -0      svndiffjob.cpp  


--- trunk/KDE/kdevplatform/plugins/subversion/svndiffjob.cpp #898136:898137
@@ -347,6 +347,12 @@
         pos += fileRe.matchedLength();
     }
 
+    if (paths.isEmpty()) {
+        internalJobDone( m_job );
+        emit resultsReady( this );
+        return;
+    }
+
     foreach( const QString &s, paths )
     {
         if( !s.isEmpty() )


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

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