Mercurial > hg > easyhg
diff historywidget.cpp @ 123:3afa1ce339ec
* Another fix to incremental log -- ensure children are not duplicated in changeset
author | Chris Cannam |
---|---|
date | Mon, 29 Nov 2010 11:18:27 +0000 |
parents | c3e8342d2de9 |
children | fcaf09ee825d |
line wrap: on
line diff
--- a/historywidget.cpp Mon Nov 29 11:14:29 2010 +0000 +++ b/historywidget.cpp Mon Nov 29 11:18:27 2010 +0000 @@ -105,6 +105,10 @@ { for (int i = 0; i+1 < m_changesets.size(); ++i) { Changeset *cs = m_changesets[i]; + // Need to reset this, as Grapher::layout will recalculate it + // and we don't want to end up with twice the children for + // each parent... + cs->setChildren(QStringList()); if (cs->parents().empty()) { QStringList list; list.push_back(m_changesets[i+1]->id());