Mercurial > hg > easyhg
diff mainwindow.h @ 106:729438d70af8
* Retrieve and store current branch and heads; some refactoring
author | Chris Cannam |
---|---|
date | Thu, 25 Nov 2010 17:54:35 +0000 |
parents | 0bd32aedc6f6 |
children | 8ae3b44c0073 |
line wrap: on
line diff
--- a/mainwindow.h Thu Nov 25 17:21:32 2010 +0000 +++ b/mainwindow.h Thu Nov 25 17:54:35 2010 +0000 @@ -21,6 +21,7 @@ #include "hgtabwidget.h" #include "hgrunner.h" #include "common.h" +#include "changeset.h" #include <QMainWindow> #include <QListWidget> @@ -35,6 +36,7 @@ { ACT_NONE, ACT_PATHS, + ACT_BRANCH, ACT_STAT, ACT_HEADS, ACT_PARENTS, @@ -76,6 +78,8 @@ //Local repo is directory "./hg/" under work folder QString remoteRepoPath; QString workFolderPath; + QString currentBranch; + Changesets currentHeads; protected: void closeEvent(QCloseEvent *event); @@ -122,6 +126,7 @@ void fsFileChanged(QString); private: + void hgBranch(); void hgHeads(); void hgParents(); void hgLog();