Mercurial > hg > easyhg
diff common.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 | 1928f9b408e6 |
children | b6dd1ee0e486 |
line wrap: on
line diff
--- a/common.h Thu Nov 25 21:08:17 2010 +0000 +++ b/common.h Fri Nov 26 12:48:29 2010 +0000 @@ -21,25 +21,9 @@ #include <QString> #define MY_ICON_SIZE 32 +//!!!: #define REPOMENU_TITLE "Repository actions" #define WORKFOLDERMENU_TITLE "Workfolder actions" -#define EXITOK(x) ((x)==0) -#define CHGSET "changeset: " -#define REQUIRED_CHGSET_DIFF_COUNT 2 - -#define WORKTAB 0 -#define HISTORYTAB 2 -#define HEADSTAB 3 - -#define HGSTAT_M_BIT 1U -#define HGSTAT_A_BIT 2U -#define HGSTAT_R_BIT 4U -#define HGSTAT_D_BIT 8U -#define HGSTAT_U_BIT 16U -#define HGSTAT_C_BIT 32U -#define HGSTAT_I_BIT 64U - -#define DEFAULT_HG_STAT_BITS (HGSTAT_M_BIT | HGSTAT_A_BIT | HGSTAT_R_BIT | HGSTAT_D_BIT | HGSTAT_U_BIT) extern QString findExecutable(QString name);