diff --git a/hgext3rd/gitlookup.py b/hgext3rd/gitlookup.py --- a/hgext3rd/gitlookup.py +++ b/hgext3rd/gitlookup.py @@ -106,7 +106,7 @@ kwargs = {'bundlecaps': exchange.caps20to10(repo)} capsblob = bundle2.encodecaps(bundle2.getrepocaps(repo)) - kwargs['bundlecaps'].add('bundle2=' + urllib.quote(capsblob)) + kwargs['bundlecaps'].add('bundle2=' + util.urlreq.quote(capsblob)) # this would ideally not be in the bundlecaps at all, but adding new kwargs # for wire transmissions is not possible as of Mercurial d19164a018a1 kwargs['bundlecaps'].add('fb_gitmeta')