Mercurial > hg
annotate contrib/chg/procutil.h @ 46096:4d5e2fd53707
singlehead: introduce option to restrict to public changes
The new experimental.single-head-per-branch:public-changes-only option
restricts the single-head-per-branch filter to public changesets. This
is useful when serving one repository with different views as publishing
and non-publishing repository.
Differential Revision: https://phab.mercurial-scm.org/D9525
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Sat, 05 Dec 2020 23:35:55 +0100 |
parents | ac5527021097 |
children |
rev | line source |
---|---|
30693 | 1 /* |
2 * Utilities about process handling - signal and subprocess (ex. pager) | |
3 * | |
4 * Copyright (c) 2011 Yuya Nishihara <yuya@tcha.org> | |
5 * | |
6 * This software may be used and distributed according to the terms of the | |
7 * GNU General Public License version 2 or any later version. | |
8 */ | |
9 | |
10 #ifndef PROCUTIL_H_ | |
11 #define PROCUTIL_H_ | |
12 | |
13 #include <unistd.h> | |
14 | |
15 void restoresignalhandler(void); | |
16 void setupsignalhandler(pid_t pid, pid_t pgid); | |
17 | |
31941
ac5527021097
chg: respect environment variables for pager
Jun Wu <quark@fb.com>
parents:
30693
diff
changeset
|
18 pid_t setuppager(const char *pagercmd, const char *envp[]); |
30693 | 19 void waitpager(void); |
20 | |
21 #endif /* PROCUTIL_H_ */ |