У меня есть основной репозиторий mercurial (A) с двумя папками "depot1" и "depot2" на компьютере с Windows.
Следующая конфигурация выполняется в файле .hg/hgrc репозитория A.
[ui]
username = praveen
[extensions]
hgext.acl=
[hooks]
changegroup.update = hg update
pretxnchangegroup.acl = python:hgext.acl.hook
[acl]
sources = serve push pull commit
Затем я создал 2 клона меркуриального репозитория A. X и Y на компьютерах с Windows
Файл X .hg/hgrc:
[ui]
username = clone1
Да .hg/hgrc файл:
[ui]
username = clone2
My Question:
1- Restrict all push operations from user="clone2".
2- user="clone1" will be able to perform push on only "depot1".
Пожалуйста, предложите мне, как такая конфигурация возможна.
Спасибо,
Правин