# HG changeset patch # User Augie Fackler # Date 1507129043 14400 # Node ID 2e08b69bcd29ecbb8f49837c5c7f674d3962153a # Parent 347c0f4232e195ef2b2bffd50d649b79ac18d0cf mpatch: reflow two oddly formatted else blocks with clang-format Differential Revision: https://phab.mercurial-scm.org/D1029 diff -r 347c0f4232e1 -r 2e08b69bcd29 mercurial/mpatch.c --- a/mercurial/mpatch.c Wed Oct 04 10:55:51 2017 -0400 +++ b/mercurial/mpatch.c Wed Oct 04 10:57:23 2017 -0400 @@ -78,8 +78,7 @@ /* save this hunk */ offset += s->start + s->len - s->end; *d++ = *s++; - } - else { + } else { /* break up this hunk */ c = cut - offset; if (s->end < c) @@ -122,8 +121,7 @@ if (postend <= cut) { offset += s->start + s->len - s->end; s++; - } - else { + } else { c = cut - offset; if (s->end < c) c = s->end;