Mercurial > evolve
diff tests/test-qsync.t @ 249:bd0917068cc7
qsync: fix mq commit message generation
A CR was missing when both applied and ready to review patches are generated
during a single qsync.
author | David Douard <david.douard@logilab.fr> |
---|---|
date | Thu, 24 May 2012 00:24:40 +0200 |
parents | ff3158d0d7e8 |
children | fb83210bce32 |
line wrap: on
line diff
--- a/tests/test-qsync.t Tue May 22 10:35:04 2012 +0200 +++ b/tests/test-qsync.t Thu May 24 00:24:40 2012 +0200 @@ -210,3 +210,31 @@ $ hg qsync -a abort: Nothing changed [255] + +mixed sync + + $ hg init local + $ cd local + $ hg qinit -c + $ mkcommit a + $ mkcommit b + $ hg qlog + 1 - 7c3bad9141dc add b (draft) + 0 - 1f0dee641bb7 add a (draft) + $ hg qsync -a + $ hg mqlog + 1 - qsubmit commit + + * DEFAULT-add_a.diff ready for review + * DEFAULT-add_b.diff ready for review + 0 - qsubmit init + $ hg phase -p 0 + $ echo "b" >> b + $ hg amend + $ hg qsync -a + $ hg mqlog -l 1 + 2 - qsubmit commit + + * applied DEFAULT-add_a.diff + * DEFAULT-add_b.diff ready for review +