Mercurial > hg > easyhg
diff hgtabwidget.h @ 109:1721c580c10e
* Add a queueing mechanism for Hg actions, instead of refusing to start an action if something else is already happening. This is essential now that actions can be prompted by asynchronous events (e.g. filesystem watcher).
* Make Revert behave sensibly
author | Chris Cannam |
---|---|
date | Fri, 26 Nov 2010 12:48:29 +0000 |
parents | 729438d70af8 |
children | 78374cefa10f |
line wrap: on
line diff
--- a/hgtabwidget.h Thu Nov 25 21:08:17 2010 +0000 +++ b/hgtabwidget.h Fri Nov 26 12:48:29 2010 +0000 @@ -48,6 +48,7 @@ FileStates getFileStates() { return fileStates; } bool canCommit() const; + bool canRevert() const; bool canAdd() const; bool canRemove() const; bool canDoDiff() const; @@ -57,6 +58,9 @@ QStringList getSelectedCommittableFiles() const; QStringList getAllCommittableFiles() const; + QStringList getSelectedRevertableFiles() const; + QStringList getAllRevertableFiles() const; + QStringList getSelectedAddableFiles() const; QStringList getAllAddableFiles() const;