Mercurial > hg > easyhg
comparison src/changeset.cpp @ 510:c623ce6b3104
Refactor: make closed a changeset property (not a changeset item one)
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2011 11:30:00 +0100 |
parents | 69b2338c06e1 |
children | a17c06f773cd |
comparison
equal
deleted
inserted
replaced
509:6f371814509d | 510:c623ce6b3104 |
---|---|
19 #include "common.h" | 19 #include "common.h" |
20 #include "debug.h" | 20 #include "debug.h" |
21 | 21 |
22 #include <QVariant> | 22 #include <QVariant> |
23 | 23 |
24 Changeset::Changeset(const LogEntry &e) | 24 Changeset::Changeset(const LogEntry &e) : |
25 m_closed(false) | |
25 { | 26 { |
26 foreach (QString key, e.keys()) { | 27 foreach (QString key, e.keys()) { |
27 if (key == "parents") { | 28 if (key == "parents") { |
28 QStringList parents = e.value(key).split | 29 QStringList parents = e.value(key).split |
29 (" ", QString::SkipEmptyParts); | 30 (" ", QString::SkipEmptyParts); |