tests/test-bundle.t
changeset 32745 23734c0e361f
parent 31851 23baa3a8f36c
child 34661 eb586ed5d8ce
--- a/tests/test-bundle.t	Fri Jun 09 10:41:13 2017 -0700
+++ b/tests/test-bundle.t	Fri Jun 09 10:42:19 2017 -0700
@@ -302,6 +302,20 @@
   $ hg debugbundle --spec packednongd.hg
   none-packed1;requirements%3Drevlogv1
 
+Warning emitted when packed bundles contain secret changesets
+
+  $ hg init testsecret
+  $ cd testsecret
+  $ touch foo
+  $ hg -q commit -A -m initial
+  $ hg phase --force --secret -r .
+  $ cd ..
+
+  $ hg -R testsecret debugcreatestreamclonebundle packedsecret.hg
+  (warning: stream clone bundle will contain secret revisions)
+  writing 301 bytes for 3 files
+  bundle requirements: generaldelta, revlogv1
+
 Unpacking packed1 bundles with "hg unbundle" isn't allowed
 
   $ hg init packed