test-obsolete: validate that bundle is not affected by issue3788 stable
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 29 Jan 2013 15:25:33 +0100
branchstable
changeset 18499 d07834e52b4e
parent 18498 4d9f7dd2ac82
child 18500 f0124a65e8f8
test-obsolete: validate that bundle is not affected by issue3788 Bundle might have been affected by the same kind of error than pull (issue3788). Testing show it is not the case.
tests/test-obsolete-changeset-exchange.t
--- a/tests/test-obsolete-changeset-exchange.t	Tue Jan 29 15:26:10 2013 +0100
+++ b/tests/test-obsolete-changeset-exchange.t	Tue Jan 29 15:25:33 2013 +0100
@@ -73,3 +73,15 @@
   adding file changes
   added 1 changesets with 0 changes to 1 files (+1 heads)
   (run 'hg heads' to see heads, 'hg merge' to merge)
+
+check that bundle is not affected
+
+  $ hg bundle --hidden --rev f89bcc95eba5 --base "f89bcc95eba5^" ../f89bcc95eba5.hg
+  1 changesets found
+  $ hg --hidden --config extensions.mq= strip --no-backup f89bcc95eba5
+  $ hg unbundle ../f89bcc95eba5.hg
+  adding changesets
+  adding manifests
+  adding file changes
+  added 1 changesets with 0 changes to 1 files (+1 heads)
+  (run 'hg heads' to see heads)