Mercurial > hg
changeset 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 | e14b6980a014 |
children | a7cae4e22749 |
files | tests/test-commit tests/test-commit.out |
diffstat | 2 files changed, 48 insertions(+), 0 deletions(-) [+] |
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
--- a/tests/test-commit.out Tue Mar 20 22:09:51 2007 -0300 +++ b/tests/test-commit.out Sun Mar 18 22:49:05 2007 +0200 @@ -65,3 +65,34 @@ commit-subdir-1 +% dot and subdir commit test +% full log +changeset: 1:d9180e04fa8a +tag: tip +user: test +date: Sat Jan 24 03:33:20 1970 +0000 +files: foo/plain-file +description: +commit-foo-dot + + +changeset: 0:80b572aaf098 +user: test +date: Mon Jan 12 13:46:40 1970 +0000 +files: foo/plain-file +description: +commit-foo-subdir + + +% subdir log +changeset: 1:d9180e04fa8a +tag: tip +user: test +date: Sat Jan 24 03:33:20 1970 +0000 +summary: commit-foo-dot + +changeset: 0:80b572aaf098 +user: test +date: Mon Jan 12 13:46:40 1970 +0000 +summary: commit-foo-subdir +