Mercurial > hg-stable
diff contrib/chg/hgclient.c @ 28535:aa082a8125da
chgserver: add an explicit "reconnect" instruction to validate
In some rare cases (next patch), we may want validate to do "unlink" without
forcing the client reconnect. This patch addes a new "reconnect" instruction
and makes "unlink" not to reconnect by default.
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 14 Mar 2016 13:48:33 +0000 |
parents | b957b4c6cad8 |
children | 8e5312f8df30 |
line wrap: on
line diff
--- a/contrib/chg/hgclient.c Mon Mar 14 11:06:34 2016 +0000 +++ b/contrib/chg/hgclient.c Mon Mar 14 13:48:33 2016 +0000 @@ -478,8 +478,8 @@ * * @return - NULL, the server believes it can handle our request, or does not * support "validate" command. - * - a list of strings, the server cannot handle our request and it - * sent instructions telling us how to fix the issue. See + * - a list of strings, the server probably cannot handle our request + * and it sent instructions telling us what to do next. See * chgserver.py for possible instruction formats. * the list should be freed by the caller. * the last string is guaranteed to be NULL.