[PATCH 5 of 5 V2] chg: forward umask from client to server
Yuya Nishihara
yuya at tcha.org
Wed Feb 17 08:46:37 EST 2016
On Tue, 16 Feb 2016 19:50:26 +0000, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1455546926 0
> # Mon Feb 15 14:35:26 2016 +0000
> # Node ID 85f8838dcd9afd49b1a3ded8fb8193b8126a3a04
> # Parent 0e71344230a9d312b22fcb4a08c8da7399cd07b2
> chg: forward umask from client to server
Pushed the series to the clowncopter, thanks!
> +static void forwardumask(hgclient_t *hgc)
> +{
> + mode_t mask = umask(0);
> + umask(mask);
> +
> + const char command[] = "setumask\n";
Changed it to static const just for consistency.
More information about the Mercurial-devel
mailing list