changeset 29951 | e1f0ec0b7d2d |
parent 28683 | d0210a35c81a |
child 29968 | 40f845537dca |
--- a/tests/test-update-branches.t Tue May 03 13:36:12 2016 +0900 +++ b/tests/test-update-branches.t Tue Sep 13 22:57:57 2016 -0400 @@ -379,3 +379,14 @@ $ hg log -r '_destupdate()' 2:bd10386d478c 2 (no-eol) + +Test that boolean flags allow --no-flag specification to override [defaults] + $ cat >> $HGRCPATH <<EOF + > [defaults] + > update = --check + > EOF + $ hg co 2 + abort: uncommitted changes + [255] + $ hg co --no-check 2 + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved