cubicweb-mercurial-server #2459813 Create entities class to move functionalities from a hook mixin [done]

Functionalities in the MercurialServerAdminMixin in the hooks.py does not belong here (any longer), because there will be several mercurial-servers represented as entities instead of one configured in the instance config file.

prioritynormal
typeenhancement
done in<not specified>
load left0.000
closed by#c290c0d362ed [hooks, entities] closes #2459813 : Move mercurial-server behaviour from hooks to entities.