diff tests/test-obsolete.t @ 957:2cde59f3cb5d

evolve: add a push pass using bundle2 Instead of using a dedicated wireprotocol commands, we use bundle2 to transmit an obs marker parts. This aims at both testing bundle2 more and to limit the amount of special code we needs to put in simple for server to fit our needs. The massive test changes comes from the fact we can use this fast path for both remote and local push.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 20 May 2014 13:41:27 -0700
parents b107f3549ec2
children b286f77d680c
line wrap: on
line diff
--- a/tests/test-obsolete.t	Mon Jun 02 14:44:13 2014 -0700
+++ b/tests/test-obsolete.t	Tue May 20 13:41:27 2014 -0700
@@ -183,7 +183,7 @@
   added 5 changesets with 5 changes to 5 files (+1 heads)
   OBSEXC: computing relevant nodes
   OBSEXC: computing markers relevant to 5 nodes
-  OBSEXC: pushing 2 markers in 1 pushkey payload (154 bytes)
+  OBSEXC: pushing 2 markers (123 bytes)
   OBSEXC: DONE
   $ hg -R ../other-new verify
   checking changesets
@@ -240,7 +240,7 @@
   added 1 changesets with 1 changes to 1 files (+1 heads)
   OBSEXC: computing relevant nodes
   OBSEXC: computing markers relevant to 5 nodes
-  OBSEXC: pushing 3 markers in 1 pushkey payload (230 bytes)
+  OBSEXC: pushing 3 markers (184 bytes)
   OBSEXC: DONE
   $ qlog -R ../other-new
   5
@@ -265,7 +265,7 @@
   no changes found
   OBSEXC: computing relevant nodes
   OBSEXC: computing markers relevant to 5 nodes
-  OBSEXC: pushing 3 markers in 1 pushkey payload (230 bytes)
+  OBSEXC: pushing 3 markers (184 bytes)
   OBSEXC: DONE
   [1]
 
@@ -548,7 +548,7 @@
   added 2 changesets with 1 changes to [12] files (re)
   OBSEXC: computing relevant nodes
   OBSEXC: computing markers relevant to 5 nodes
-  OBSEXC: pushing 7 markers in 1 pushkey payload (565 bytes)
+  OBSEXC: pushing 7 markers (452 bytes)
   OBSEXC: DONE
   $ hg up -q 10
   $ mkcommit "obsol_d'''"
@@ -563,7 +563,7 @@
   added 1 changesets with 1 changes to 1 files (+1 heads)
   OBSEXC: computing relevant nodes
   OBSEXC: computing markers relevant to 5 nodes
-  OBSEXC: pushing 8 markers in 1 pushkey payload (642 bytes)
+  OBSEXC: pushing 8 markers (513 bytes)
   OBSEXC: DONE
   $ cd ..