Can I create a pre-checkout cvs hook

前端 未结 1 1744
粉色の甜心
粉色の甜心 2021-01-21 12:16

I would like to prevent certain users from checking out certain modules of code in my cvs repo. I have already implemented pre-commit hooks that prevent those same users from

相关标签:
1条回答
  • 2021-01-21 12:52

    This thread mentions the cvs_acls script, in the source code distribution of CVS, in the contrib/ directory.
    It could do what you are looking for.

    Ex. TAG1, TAG2, TAG3, TAG4, TAG5
    checkout/update/export operation for TAG1 & TAG2 should fail. (cvs co -r TAG1 mod_dir)

    The original script is only for preventing commit, but it can be patched to prevent checkout as well.
    More alternatives are presented in this CVS FAQ.

    0 讨论(0)
提交回复
热议问题