Mercurial > public > mercurial-scm > hg
diff tests/test-command-template @ 4353:5e857d72d3ac
test-command-template: improve test coverage
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Tue, 10 Apr 2007 16:25:21 -0500 |
parents | 051fb8c2567c |
children | 3cf94964c56b |
line wrap: on
line diff
--- a/tests/test-command-template Mon Apr 16 13:00:23 2007 -0300 +++ b/tests/test-command-template Tue Apr 10 16:25:21 2007 -0500 @@ -19,6 +19,12 @@ hg commit -m 'no user, no domain' -d '1300000 0' -u 'person' echo foo > .hg/branch hg commit -m 'new branch' -d '1400000 0' -u 'person' +hg co -q 3 +echo other 4 >> d +hg add d +hg commit -m 'new head' -d '1500000 0' -u 'person' +hg merge -q +hg commit -m 'merge' -d '1500001 0' -u 'person' # make sure user/global hgrc does not affect tests echo '[ui]' > .hg/hgrc