comparison mainwindow.cpp @ 130:9ae4cc0055e8

* Do full log after commit (so as to get the right tip tag)
author Chris Cannam
date Mon, 29 Nov 2010 20:58:50 +0000
parents 4986642800f0
children 2550aaa09240
comparison
equal deleted inserted replaced
129:4986642800f0 130:9ae4cc0055e8
1252 1252
1253 case ACT_QUERY_HEADS: 1253 case ACT_QUERY_HEADS:
1254 foreach (Changeset *cs, currentHeads) delete cs; 1254 foreach (Changeset *cs, currentHeads) delete cs;
1255 currentHeads = Changeset::parseChangesets(output); 1255 currentHeads = Changeset::parseChangesets(output);
1256 break; 1256 break;
1257
1258 case ACT_COMMIT:
1259 hgTabs->clearSelections();
1260 shouldHgStat = true;
1261 needNewLog = true; // naive incremental log will give us a duplicate tip tag
1262 break;
1257 1263
1258 case ACT_REMOVE: 1264 case ACT_REMOVE:
1259 case ACT_ADD: 1265 case ACT_ADD:
1260 case ACT_COMMIT:
1261 case ACT_REVERT: 1266 case ACT_REVERT:
1262 hgTabs->clearSelections(); 1267 hgTabs->clearSelections();
1263 shouldHgStat = true; 1268 shouldHgStat = true;
1264 break; 1269 break;
1265 1270