Mercurial > hg > easyhg
diff changeset.h @ 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 | 8ae3b44c0073 |
children | 63c2f3f61c79 |
line wrap: on
line diff
--- a/changeset.h Mon Nov 29 11:14:29 2010 +0000 +++ b/changeset.h Mon Nov 29 11:18:27 2010 +0000 @@ -57,8 +57,13 @@ qulonglong timestamp() const { return m_timestamp; } QString age() const { return m_age; } QStringList parents() const { return m_parents; } + QString comment() const { return m_comment; } + + /** + * The children property is not obtained from Hg, but set in + * Grapher::layout() based on reported parents + */ QStringList children() const { return m_children; } - QString comment() const { return m_comment; } int number() const { return id().split(':')[0].toInt();