Mercurial > public > mercurial-scm > hg
diff tests/test-merge1.t @ 15619:6c8573dd1b6b
merge: make 'nothing to merge' aborts consistent
Makes the 'nothing to merge' abort messages in commands.py consistent with
those in merge.py. Also makes commands.merge() and merge.update() use hints.
The tests show the changes.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 07 Dec 2011 11:23:01 -0600 |
parents | 1e9451476bf8 |
children | 44fa047cef57 |
line wrap: on
line diff
--- a/tests/test-merge1.t Wed Dec 07 11:22:57 2011 -0600 +++ b/tests/test-merge1.t Wed Dec 07 11:23:01 2011 -0600 @@ -108,7 +108,8 @@ $ echo This is file b22 > b merge fails $ hg merge 2 - abort: outstanding uncommitted changes (use 'hg status' to list changes) + abort: outstanding uncommitted changes + (use 'hg status' to list changes) [255] merge expected! $ hg merge -f 2 @@ -144,7 +145,8 @@ $ echo This is file b33 > b merge of b should fail $ hg merge 2 - abort: outstanding uncommitted changes (use 'hg status' to list changes) + abort: outstanding uncommitted changes + (use 'hg status' to list changes) [255] merge of b expected $ hg merge -f 2