diff options
author | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-08-22 14:49:51 +0100 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-08-22 14:49:51 +0100 |
commit | a498da43c7fdb9f24b73680c02a4a3588cc62d9a (patch) | |
tree | daf8119dae1749b5165b68033a1b23a7375ce9ce /tests/test-revlog-group-emptyiter.t | |
download | mercurial-tarball-a498da43c7fdb9f24b73680c02a4a3588cc62d9a.tar.gz |
Tarball conversion
Diffstat (limited to 'tests/test-revlog-group-emptyiter.t')
-rw-r--r-- | tests/test-revlog-group-emptyiter.t | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/test-revlog-group-emptyiter.t b/tests/test-revlog-group-emptyiter.t new file mode 100644 index 0000000..905a6e0 --- /dev/null +++ b/tests/test-revlog-group-emptyiter.t @@ -0,0 +1,35 @@ +Issue1678: IndexError when pushing + +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) + + $ cd .. |