Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
108:8ae3b44c0073 | 109:1721c580c10e |
---|---|
19 #define COMMON_H | 19 #define COMMON_H |
20 | 20 |
21 #include <QString> | 21 #include <QString> |
22 | 22 |
23 #define MY_ICON_SIZE 32 | 23 #define MY_ICON_SIZE 32 |
24 //!!!: | |
24 #define REPOMENU_TITLE "Repository actions" | 25 #define REPOMENU_TITLE "Repository actions" |
25 #define WORKFOLDERMENU_TITLE "Workfolder actions" | 26 #define WORKFOLDERMENU_TITLE "Workfolder actions" |
26 #define EXITOK(x) ((x)==0) | |
27 #define CHGSET "changeset: " | |
28 #define REQUIRED_CHGSET_DIFF_COUNT 2 | |
29 | |
30 #define WORKTAB 0 | |
31 #define HISTORYTAB 2 | |
32 #define HEADSTAB 3 | |
33 | |
34 #define HGSTAT_M_BIT 1U | |
35 #define HGSTAT_A_BIT 2U | |
36 #define HGSTAT_R_BIT 4U | |
37 #define HGSTAT_D_BIT 8U | |
38 #define HGSTAT_U_BIT 16U | |
39 #define HGSTAT_C_BIT 32U | |
40 #define HGSTAT_I_BIT 64U | |
41 | |
42 #define DEFAULT_HG_STAT_BITS (HGSTAT_M_BIT | HGSTAT_A_BIT | HGSTAT_R_BIT | HGSTAT_D_BIT | HGSTAT_U_BIT) | |
43 | 27 |
44 extern QString findExecutable(QString name); | 28 extern QString findExecutable(QString name); |
45 | 29 |
46 extern QString getSystem(); | 30 extern QString getSystem(); |
47 extern QString getHgDirName(); | 31 extern QString getHgDirName(); |