Patchwork [2,of,2,STABLE] test-obsolete: validate that bundle is not affected by issue3788

login
register
mail settings
Submitter Pierre-Yves David
Date Jan. 29, 2013, 2:27 p.m.
Message ID <1bd91b32ef1a0cc5d60f.1359469638@crater1.logilab.fr>
Download mbox | patch
Permalink /patch/753/
State Accepted
Commit d07834e52b4ea6d7ad85a11d116a68750a65ebed
Delegated to: Kevin Bullock
Headers show

Comments

Pierre-Yves David - Jan. 29, 2013, 2:27 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@logilab.fr>
# Date 1359469533 -3600
# Branch stable
# Node ID 1bd91b32ef1a0cc5d60fa30ff6dc49d031914927
# Parent  4a4554ba58755595d927ce4d77ecd2121f2e032e
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.

Patch

diff --git a/tests/test-obsolete-changeset-exchange.t b/tests/test-obsolete-changeset-exchange.t
--- a/tests/test-obsolete-changeset-exchange.t
+++ b/tests/test-obsolete-changeset-exchange.t
@@ -71,5 +71,17 @@  marker to obsolete him)
   adding changesets
   adding manifests
   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)