D5744: commit: ignore diff whitespace settings when doing `commit -i` (issue5839)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Feb 1 08:20:01 EST 2019


yuja added a comment.


  > I did not add this to `revert --interactive`, since that does not currently have any way of getting args specified on the commandline that affect the whitespace settings (so I'm keeping `revert --interactive` *ignoring* the user's diff settings).
  
  Well, `hg revert --interactive` does respect the user's diff settings. I don't
  know why, but https://phab.mercurial-scm.org/rHGf37a69ec3f4717fdb4f00699ca06c225f106696c explicitly added `whitespace=True`.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5744

To: spectral, #hg-reviewers
Cc: yuja, navaneeth.suresh, mercurial-devel


More information about the Mercurial-devel mailing list