Mercurial > hg > easyhg
comparison src/grapher.cpp @ 508:c43880dfdb78
Show closing commits as simple squares
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2011 11:10:20 +0100 |
parents | 470829a21f98 |
children | 6f371814509d |
comparison
equal
deleted
inserted
replaced
507:459aa20d3eee | 508:c43880dfdb78 |
---|---|
442 if (!m_items.contains(closedId)) continue; | 442 if (!m_items.contains(closedId)) continue; |
443 | 443 |
444 Changeset *cs = m_changesets[closedId]; | 444 Changeset *cs = m_changesets[closedId]; |
445 ChangesetItem *item = m_items[closedId]; | 445 ChangesetItem *item = m_items[closedId]; |
446 | 446 |
447 item->setClosingCommit(true); | |
448 | |
447 while (cs && item) { | 449 while (cs && item) { |
448 | 450 |
449 if (cs->children().size() > 1) { | 451 if (cs->children().size() > 1) { |
450 break; | 452 break; |
451 } | 453 } |