문제

Is there a way to automatically add a comment when updating a file in RCS? For example, I am writing a script, and one of the functions will co -l a file, make changes, then ci -u. Now at that point, RCS waits for a comment to be entered. I want the comment to be automatically added so the script does not stop at that point. Is this even possible?

도움이 되었습니까?

해결책

The -m option to ci accepts a messages string. No space is permitted after the -m:

ci -u -m'This is a message' file
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top