# HG changeset patch # User Pradeepkumar Gayam # Date 1282047791 -19800 # Node ID f21ecd0919701bc228d45db62fb83c2353073238 # Parent b03cf2349a80ee6f446aa73bc793a5d965d6ae59 tests: unify test-revlog-group-emptyiter diff -r b03cf2349a80 -r f21ecd091970 tests/test-revlog-group-emptyiter --- a/tests/test-revlog-group-emptyiter Tue Aug 17 17:48:59 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#! /bin/sh - -# issue 1678 - -echo "# -- setting up base repo" -hg init a -cd a -touch a -hg ci -Am a -cd .. - -echo "# -- cloning base repo" -hg clone a b -cd b - -echo "# -- setting up cset to push" -hg up null -touch a -hg ci -Am b # different msg so we get a clog new entry - -echo "# -- pushing" -hg push -f ../a - diff -r b03cf2349a80 -r f21ecd091970 tests/test-revlog-group-emptyiter.out --- a/tests/test-revlog-group-emptyiter.out Tue Aug 17 17:48:59 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -# -- setting up base repo -adding a -# -- cloning base repo -updating to branch default -1 files updated, 0 files merged, 0 files removed, 0 files unresolved -# -- setting up cset to push -0 files updated, 0 files merged, 1 files removed, 0 files unresolved -adding a -created new head -# -- pushing -pushing to ../a -searching for changes -adding changesets -adding manifests -adding file changes -added 1 changesets with 0 changes to 0 files (+1 heads) diff -r b03cf2349a80 -r f21ecd091970 tests/test-revlog-group-emptyiter.t --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-revlog-group-emptyiter.t Tue Aug 17 17:53:11 2010 +0530 @@ -0,0 +1,33 @@ +# issue 1678 +setting up base repo + $ hg init a + $ cd a + $ touch a + $ hg ci -Am a + adding a + $ cd .. + +cloning base repo + $ hg clone a b + updating to branch default + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ cd b + +setting up cset to push + $ hg up null + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ touch a +different msg so we get a clog new entry + $ hg ci -Am b + adding a + created new head + +pushing + $ hg push -f ../a + pushing to ../a + searching for changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 0 changes to 0 files (+1 heads) +