Mercurial > public > mercurial-scm > hg
diff contrib/chg/hgclient.h @ 28356:a5c773acb018
chg: implement validate in hgclient
This patch implements the corresponding validate method in hgclient.
It will return instruction strings as is without taking any real action.
author | Jun Wu <quark@fb.com> |
---|---|
date | Sun, 06 Mar 2016 14:21:52 +0000 |
parents | 726f8d6cc324 |
children | c66bc06f1bf6 |
line wrap: on
line diff
--- a/contrib/chg/hgclient.h Sun Mar 06 03:15:45 2016 +0530 +++ b/contrib/chg/hgclient.h Sun Mar 06 14:21:52 2016 +0000 @@ -20,6 +20,8 @@ pid_t hgc_peerpid(const hgclient_t *hgc); +const char **hgc_validate(hgclient_t *hgc, const char *const args[], + size_t argsize); int hgc_runcommand(hgclient_t *hgc, const char *const args[], size_t argsize); void hgc_attachio(hgclient_t *hgc); const char *hgc_getpager(hgclient_t *hgc, const char *const args[],