D512: phabsend: detect patch change with larger context
quark (Jun Wu)
phabricator at mercurial-scm.org
Mon Aug 28 15:05:49 EDT 2017
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
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:
To: quark, #hg-reviewers, indygreg, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list