Mercurial > public > mercurial-scm > hg
diff tests/test-issue619.t @ 12195:ee41be2bbf5a
tests: unify test-issue*
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 03 Sep 2010 23:34:37 +0200 |
parents | tests/test-issue619@4c94b6d0fb1c |
children | 4134686b83e1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-issue619.t Fri Sep 03 23:34:37 2010 +0200 @@ -0,0 +1,30 @@ +# http://mercurial.selenic.com/bts/issue619 + + $ hg init + $ echo a > a + $ hg ci -Ama + adding a + + $ echo b > b + $ hg branch b + marked working directory as branch b + $ hg ci -Amb + adding b + + $ hg co -C 0 + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + +Fast-forward: + + $ hg merge b + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + (branch merge, don't forget to commit) + $ hg ci -Ammerge + +Bogus fast-forward should fail: + + $ hg merge b + abort: merging with a working directory ancestor has no effect + + $ true +