Mercurial > public > mercurial-scm > hg
diff tests/test-commit @ 4253:9e3e975258a9
tests: expand test-commit a bit to test 'hg commit .' too
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Sun, 18 Mar 2007 22:49:05 +0200 |
parents | 8d603f8567ae |
children | 75c2071385da |
line wrap: on
line diff
--- a/tests/test-commit Tue Mar 20 22:09:51 2007 -0300 +++ b/tests/test-commit Sun Mar 18 22:49:05 2007 +0200 @@ -71,4 +71,21 @@ hg log -v cd .. +echo % dot and subdir commit test +hg init test3 +cd test3 +mkdir foo +echo foo content > foo/plain-file +hg add foo/plain-file +hg ci -d '1000000 0' -u test -m commit-foo-subdir foo +echo modified foo content > foo/plain-file +hg ci -d '2000000 0' -u test -m commit-foo-dot . +echo % full log +hg log -v +echo % subdir log +cd foo +hg log . +cd .. +cd .. + exit 0