views:

29

answers:

1

I typically want to ignore white space changes when diff'ing with mercurial. If I set this as a default by putting ignorews = true in my .hgrc's [diff] section then there doesn't seem to be a way to force the display of white space changes for a single invocation on the command line. What am I missing?

FWIW: None of the relevant command line options accepts an argument. Using the (deprecated) [defaults] section has the same behavior. I'm assuming the final answer will be "use an alias for ignoring space", but am hopeful something better exists.

+1  A: 

From the hg(1) man page:

   --config
          set/override config option (use 'section.name=value')
Ignacio Vazquez-Abrams