Mercurial > hg > easyhg
comparison src/hgtabwidget.h @ 505:1c05e7576ea5
Fix bug #292: "Merge that results in no changes leaves interface in inconsistent state." Show uncommitted state whenever a merge is present, even if no file changes
author | Chris Cannam |
---|---|
date | Mon, 17 Oct 2011 16:25:02 +0100 |
parents | 896b7903e8f2 |
children | 470829a21f98 |
comparison
equal
deleted
inserted
replaced
504:d972f0cd61b3 | 505:1c05e7576ea5 |
---|---|
46 void addIncrementalLog(QString hgLogList); | 46 void addIncrementalLog(QString hgLogList); |
47 | 47 |
48 void setLocalPath(QString workFolderPath); | 48 void setLocalPath(QString workFolderPath); |
49 | 49 |
50 void setCurrent(QStringList ids, QString branch); | 50 void setCurrent(QStringList ids, QString branch); |
51 | |
52 void setHaveMerge(bool); | |
51 | 53 |
52 void updateFileStates(); | 54 void updateFileStates(); |
53 void updateHistory(); | 55 void updateHistory(); |
54 | 56 |
55 FileStates getFileStates() { return m_fileStates; } | 57 FileStates getFileStates() { return m_fileStates; } |
111 | 113 |
112 private: | 114 private: |
113 FileStatusWidget *m_fileStatusWidget; | 115 FileStatusWidget *m_fileStatusWidget; |
114 HistoryWidget *m_historyWidget; | 116 HistoryWidget *m_historyWidget; |
115 FileStates m_fileStates; | 117 FileStates m_fileStates; |
118 bool m_haveMerge; | |
116 | 119 |
117 Changesets parseChangeSets(QString changeSetsStr); | 120 Changesets parseChangeSets(QString changeSetsStr); |
118 }; | 121 }; |
119 | 122 |
120 #endif // HGTABWIDGET_H | 123 #endif // HGTABWIDGET_H |