comparison mainwindow.cpp @ 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
comparison
equal deleted inserted replaced
150:fb697ce0f625 151:c91445ee3d57
202 { 202 {
203 QStringList params; 203 QStringList params;
204 params << "log"; 204 params << "log";
205 205
206 foreach (QString p, prune) { 206 foreach (QString p, prune) {
207 params << "--prune" << p; 207 QString number = p.split(':')[0];
208 params << "--prune" << number;
208 } 209 }
209 210
210 params << "--template"; 211 params << "--template";
211 params << Changeset::getLogTemplate(); 212 params << Changeset::getLogTemplate();
212 213