contrib/phabricator.py
changeset 33976 27ff2a87d8c0
parent 33975 07ffff841863
child 33977 edeb8f28c031
equal deleted inserted replaced
33975:07ffff841863 33976:27ff2a87d8c0
   272 
   272 
   273     If actions is not None, they will be appended to the transaction.
   273     If actions is not None, they will be appended to the transaction.
   274     """
   274     """
   275     repo = ctx.repo()
   275     repo = ctx.repo()
   276     if oldnode:
   276     if oldnode:
   277         diffopts = mdiff.diffopts(git=True, context=1)
   277         diffopts = mdiff.diffopts(git=True, context=32767)
   278         oldctx = repo.unfiltered()[oldnode]
   278         oldctx = repo.unfiltered()[oldnode]
   279         neednewdiff = (getdiff(ctx, diffopts) != getdiff(oldctx, diffopts))
   279         neednewdiff = (getdiff(ctx, diffopts) != getdiff(oldctx, diffopts))
   280     else:
   280     else:
   281         neednewdiff = True
   281         neednewdiff = True
   282 
   282