Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

소스 커밋(Commit)시 메세지를 입력하지 않으면 커밋되지 않도록 설정하기

pre-commit.cmd

 “C:Program FilesSubversionbinsvnlook.exe” log -t {83832c2e9762d7d59158bb8e184331dad143c7b73eb69f86229ee6e276689139}2 {83832c2e9762d7d59158bb8e184331dad143c7b73eb69f86229ee6e276689139}1 | FindStr [a-zA-Z0-9]
IF {83832c2e9762d7d59158bb8e184331dad143c7b73eb69f86229ee6e276689139}ERRORLEVEL{83832c2e9762d7d59158bb8e184331dad143c7b73eb69f86229ee6e276689139} EQU 0 GOTO OK
echo “커밋 메세지를 입력해야 합니다” >&2
exit 1
:OK
exit 0

Leave a Reply

Your email address will not be published. Required fields are marked *