From patchwork Mon Aug 28 19:05:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D512: phabsend: detect patch change with larger context From: phabricator X-Patchwork-Id: 23434 Message-Id: <8ba554bb54c124b9024f0d1d9eb126e9@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Mon, 28 Aug 2017 19:05:49 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG27ff2a87d8c0: phabsend: detect patch change with larger context (authored by quark). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D512?vs=1269&id=1361 REVISION DETAIL https://phab.mercurial-scm.org/D512 AFFECTED FILES contrib/phabricator.py CHANGE DETAILS To: quark, #hg-reviewers, indygreg, durin42 Cc: mercurial-devel diff --git a/contrib/phabricator.py b/contrib/phabricator.py --- a/contrib/phabricator.py +++ b/contrib/phabricator.py @@ -274,7 +274,7 @@ """ repo = ctx.repo() if oldnode: - diffopts = mdiff.diffopts(git=True, context=1) + diffopts = mdiff.diffopts(git=True, context=32767) oldctx = repo.unfiltered()[oldnode] neednewdiff = (getdiff(ctx, diffopts) != getdiff(oldctx, diffopts)) else: