changeset 151:c91445ee3d57

* Fix incremental log again (prune option requires number or hash, not compound id)
author Chris Cannam
date Thu, 02 Dec 2010 11:33:09 +0000
parents fb697ce0f625
children 2b997861174b
files mainwindow.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mainwindow.cpp	Thu Dec 02 11:31:42 2010 +0000
+++ b/mainwindow.cpp	Thu Dec 02 11:33:09 2010 +0000
@@ -204,7 +204,8 @@
     params << "log";
 
     foreach (QString p, prune) {
-        params << "--prune" << p;
+        QString number = p.split(':')[0];
+        params << "--prune" << number;
     }
         
     params << "--template";