equal
deleted
inserted
replaced
|
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) |