##// END OF EJS Templates
rhg: Enable `rhg status` in most tests...
rhg: Enable `rhg status` in most tests This subcommand is disabled by default because of bugs that make some test fail. Enable it in the rest of the tests in order to avoid regressing them. As with `RHG_ON_UNSUPPORTED`, an environment variable is used instead of a configuration file and `HGRCPATH` because some tests override `HGRCPATH`. Running `unset RHG_STATUS` at the start of a test restores the default of `rhg status` being disabled. Hopefully it can be increasingly removed from test files as bugs are fixed. Differential Revision: https://phab.mercurial-scm.org/D11756

File last commit:

r31941:ac552702 default
r49158:b7fde923 default
Show More
procutil.h
21 lines | 528 B | text/x-c | CLexer
Jun Wu
chg: add procutil.h...
r30693 /*
* Utilities about process handling - signal and subprocess (ex. pager)
*
* Copyright (c) 2011 Yuya Nishihara <yuya@tcha.org>
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2 or any later version.
*/
#ifndef PROCUTIL_H_
#define PROCUTIL_H_
#include <unistd.h>
void restoresignalhandler(void);
void setupsignalhandler(pid_t pid, pid_t pgid);
Jun Wu
chg: respect environment variables for pager...
r31941 pid_t setuppager(const char *pagercmd, const char *envp[]);
Jun Wu
chg: add procutil.h...
r30693 void waitpager(void);
#endif /* PROCUTIL_H_ */