Bug 4610 - test-treediscovery broken when using bundle2 as the default
Summary: test-treediscovery broken when using bundle2 as the default
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 3.4-rc
Hardware: PC Linux
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 04:58 UTC by Pierre-Yves David
Modified: 2015-05-25 00:00 UTC (History)
1 user (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves David 2015-04-21 04:58 UTC
Looks like the restricted capability used for test needs to be bundle2 aware otherwise capability negotiation get really confused.

This ticket mostly exists to keep track of things we still to take care of with bundle2

First few lines of test failure.

--- /home/marmoute/mercurial-testing/tests/test-treediscovery.t
+++ /home/marmoute/mercurial-testing/tests/test-treediscovery.t.err
@@ -42,6 +42,8 @@
   $ hg pull -R empty1 $remote
   pulling from http://localhost:$HGPORT/
   no changes found
+  abort: cannot look up remote changes; remote repository does not support the 'getbundle' capability!
+  [255]
   $ hg push -R empty1 $remote
   pushing to http://localhost:$HGPORT/
   no changes found
@@ -101,6 +103,8 @@
   pulling from http://localhost:$HGPORT/
   searching for changes
   no changes found
+  abort: cannot look up remote changes; remote repository does not support the 'getbundle' capability!
+  [255]
   $ hg push $remote
   pushing to http://localhost:$HGPORT/
   searching for changes
Comment 1 HG Bot 2015-05-17 18:00 UTC
Fixed by http://selenic.com/repo/hg/rev/249c7e922d1a
Pierre-Yves David <pierre-yves.david@fb.com>
test-discovery: disable bundle2 for legacy test (issue4610)

We need to disable the "bundle2" capability to ensure we stay on legacy
capability.

(please test the fix)
Comment 2 Bugzilla 2015-05-25 00:00 UTC
Bug was set to TESTING for 7 days, resolving