[PATCH 1 of 4 STABLE] chg: apply clang-format
Yuya Nishihara
yuya at tcha.org
Tue Nov 3 02:54:45 UTC 2020
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1604369175 -32400
# Tue Nov 03 11:06:15 2020 +0900
# Branch stable
# Node ID 41aaf960dc00d85712d412a4aba81e742aa7b69e
# Parent 8711dc13474ce3d6db8c21389a994867331e348d
chg: apply clang-format
diff --git a/contrib/chg/chg.c b/contrib/chg/chg.c
--- a/contrib/chg/chg.c
+++ b/contrib/chg/chg.c
@@ -283,13 +283,17 @@ static void execcmdserver(const struct c
continue;
}
if (errno == ERANGE) {
- debugmsg("tried to parse %s, but range error occurred", de->d_name);
+ debugmsg("tried to parse %s, but range error "
+ "occurred",
+ de->d_name);
continue;
}
if (fd_value > STDERR_FILENO) {
int res = close(fd_value);
if (res) {
- debugmsg("tried to close fd %ld: %d (errno: %d)", fd_value, res, errno);
+ debugmsg("tried to close fd %ld: %d "
+ "(errno: %d)",
+ fd_value, res, errno);
}
}
}
More information about the Mercurial-devel
mailing list