Submitter | Sune Foldager |
---|---|
Date | Oct. 17, 2014, 1:14 p.m. |
Message ID | <9280656032da93b18a28.1413551693@Cuivienen.local> |
Download | mbox | patch |
Permalink | /patch/6361/ |
State | Superseded |
Headers | show |
Comments
Patch
diff -r e4f93393a4e6 -r 9280656032da mercurial/bundle2.py --- a/mercurial/bundle2.py Wed Sep 24 21:24:06 2014 -0700 +++ b/mercurial/bundle2.py Wed Sep 24 21:28:54 2014 -0700 @@ -779,7 +779,6 @@ capabilities = {'HG2X': (), 'b2x:listkeys': (), 'b2x:pushkey': (), - 'b2x:changegroup': (), } def getrepocaps(repo): @@ -788,6 +787,7 @@ Exists to allow extensions (like evolution) to mutate the capabilities. """ caps = capabilities.copy() + caps['b2x:changegroup'] = tuple(sorted(changegroup.packermap.keys())) if obsolete.isenabled(repo, obsolete.exchangeopt): supportedformat = tuple('V%i' % v for v in obsolete.formats) caps['b2x:obsmarkers'] = supportedformat