Mercurial > hg > easyhg
diff historywidget.cpp @ 305:7708149d252a
Avoid exception when incremental log is called for in a situation where the heads have not actually been determined yet -- we could end up adding all existing history as an incremental update and getting a duplicate changeset error
author | Chris Cannam |
---|---|
date | Sat, 26 Feb 2011 23:04:05 +0000 |
parents | 37f67999b661 |
children | 5b4aa1c24407 |
line wrap: on
line diff
--- a/historywidget.cpp Tue Feb 22 15:55:13 2011 +0000 +++ b/historywidget.cpp Sat Feb 26 23:04:05 2011 +0000 @@ -141,7 +141,8 @@ m_newIds.insert(cs->id()); } - DEBUG << "addChangesets: " << csets.size() << " new changesets" << endl; + DEBUG << "addChangesets: " << csets.size() << " new changesets have (" + << m_changesets.size() << " already)" << endl; csets << m_changesets; m_changesets = csets;