Patchwork [Bug,4610] New: test-treediscovery broken when using bundle2 as the default

login
register
mail settings
Submitter mercurial-bugs@selenic.com
Date April 21, 2015, 8:58 a.m.
Message ID <bug-4610-285@http.bz.selenic.com/>
Download mbox | patch
Permalink /patch/8755/
State Not Applicable
Headers show

Comments

mercurial-bugs@selenic.com - April 21, 2015, 8:58 a.m.
http://bz.selenic.com/show_bug.cgi?id=4610

          Priority: normal
            Bug ID: 4610
                CC: mercurial-devel@selenic.com
          Assignee: bugzilla@selenic.com
           Summary: test-treediscovery broken when using bundle2 as the
                    default
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: pierre-yves.david@ens-lyon.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.4-rc
         Component: Mercurial
           Product: Mercurial

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.

   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

Patch

--- /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/