# HG changeset patch # User Pierre-Yves David # Date 1443755700 25200 # Node ID bb3d961c1648b5d8af8b936a9eb02e0cc77250b9 # Parent 77c13f3c01cac263958988b1797a2527ebec9b1c test-bundle-type: replace unbundle with debugbundle We now have a convenient command to look at bundle contents, let's use it. diff -r 77c13f3c01ca -r bb3d961c1648 tests/test-bundle-type.t --- a/tests/test-bundle-type.t Thu Oct 01 18:01:24 2015 -0700 +++ b/tests/test-bundle-type.t Thu Oct 01 20:15:00 2015 -0700 @@ -36,50 +36,28 @@ > hg bundle -t $t ../b$t ../t$t > cut -b 1-6 ../b$t | head -n 1 > cd ../t$t - > hg pull ../b$t - > hg up - > hg log | grep summary + > hg debugbundle ../b$t + > echo > cd .. > done % test bundle type None searching for changes 1 changesets found HG10UN - pulling from ../bNone - requesting all changes - adding changesets - adding manifests - adding file changes - added 1 changesets with 1 changes to 1 files - (run 'hg update' to get a working copy) - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - summary: a + c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf + % test bundle type bzip2 searching for changes 1 changesets found HG10BZ - pulling from ../bbzip2 - requesting all changes - adding changesets - adding manifests - adding file changes - added 1 changesets with 1 changes to 1 files - (run 'hg update' to get a working copy) - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - summary: a + c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf + % test bundle type gzip searching for changes 1 changesets found HG10GZ - pulling from ../bgzip - requesting all changes - adding changesets - adding manifests - adding file changes - added 1 changesets with 1 changes to 1 files - (run 'hg update' to get a working copy) - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - summary: a + c35a0f9217e65d1fdb90c936ffa7dbe679f83ddf + test garbage file