Use the commit message in a CVS pre-commit hook

后端 未结 4 2200
梦毁少年i
梦毁少年i 2021-01-13 04:34

Is it possible to use the commit message in a pre-commit hook in CVS? The CVS server is running remotely, and I access it using pserver.

Ideally, I want

4条回答
  •  不知归路
    2021-01-13 05:01

    I have been dealing with the same issue. So far my best solution has been to get the parent process Id (getppid()) and use it ina temp file that I can put the list of files into from commitinfo. This parent ID seems to be the same for the verifymsg process (on AIX at least). Good luck.

提交回复
热议问题