简体   繁体   中英

Require Commit Message With Subclipse

How do I force a commit message (message that is not null) using the Eclipse addon Subclipse?

The repositories that I am using are on a CentOS 6.5 Linux server, using SVN 1.6.11.

I've been trying to modify the repo's pre-commit.tmpl directly from the server, and have copied code posted from other stackoverflow answers, but none seem to work when I make a commit in Eclipse.

I don't want to setup a template, but want the user making the commit to enter in what is being changed. I know in a previous question people stated that this won't solve the "commit culture" that we have, but I still need to force the not null commit.

Thanks!

The pre-commit.tmpl is an example file. You should copy it to a file called simply pre-commit and make sure that it is executable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM