Mercurial > public > mercurial-scm > hg
diff tests/test-mq @ 2848:307439d6fede
mq: do not allow to push from repo with patches applied
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 10 Aug 2006 16:10:59 -0700 |
parents | b8d587cfa3bb |
children | 2f190e998eb3 |
line wrap: on
line diff
--- a/tests/test-mq Thu Aug 10 15:44:05 2006 -0700 +++ b/tests/test-mq Thu Aug 10 16:10:59 2006 -0700 @@ -10,6 +10,10 @@ hg init a cd a echo a > a +hg ci -Ama + +hg clone . ../k + mkdir b echo z > b/z hg ci -Ama @@ -106,9 +110,16 @@ echo % commit should fail hg commit +echo % push should fail +hg push ../../k + echo % qunapplied hg qunapplied +echo % push should succeed +hg qpop -a +hg push ../../k + echo % strip cd ../../b echo x>x