equal
deleted
inserted
replaced
786 """return the bundle2 capabilities for a given repo |
786 """return the bundle2 capabilities for a given repo |
787 |
787 |
788 Exists to allow extensions (like evolution) to mutate the capabilities. |
788 Exists to allow extensions (like evolution) to mutate the capabilities. |
789 """ |
789 """ |
790 caps = capabilities.copy() |
790 caps = capabilities.copy() |
791 if obsolete._enabled: |
791 if obsolete.isenabled(repo, obsolete.exchangeopt): |
792 supportedformat = tuple('V%i' % v for v in obsolete.formats) |
792 supportedformat = tuple('V%i' % v for v in obsolete.formats) |
793 caps['b2x:obsmarkers'] = supportedformat |
793 caps['b2x:obsmarkers'] = supportedformat |
794 return caps |
794 return caps |
795 |
795 |
796 def bundle2caps(remote): |
796 def bundle2caps(remote): |