tests/testlib/ext-sidedata-4.py
changeset 46718 ba8e508a8e69
parent 46709 3d740058b467
child 48875 6000f5b25c9b
equal deleted inserted replaced
46717:502e795b55ac 46718:ba8e508a8e69
       
     1 # coding: utf8
       
     2 # ext-sidedata-4.py - small extension to test (differently still) the sidedata
       
     3 # logic
       
     4 #
       
     5 # Simulates a server for a complex sidedata exchange.
       
     6 #
       
     7 # Copyright 2021 Raphaël Gomès <rgomes@octobus.net>
       
     8 #
       
     9 # This software may be used and distributed according to the terms of the
       
    10 # GNU General Public License version 2 or any later version.
       
    11 
       
    12 from __future__ import absolute_import
       
    13 
       
    14 from mercurial.revlogutils import sidedata
       
    15 
       
    16 
       
    17 def reposetup(ui, repo):
       
    18     repo.register_wanted_sidedata(sidedata.SD_TEST2)
       
    19     repo.register_wanted_sidedata(sidedata.SD_TEST3)