Advertisement
Guest User

Srijon SVN

a guest
Dec 6th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. @ECHO OFF
  2. :: Set all parameters. Even though most are not used, in case you want to add
  3. :: changes that allow, for example, editing of the author or addition of log messages.
  4. set repository=%1
  5. set revision=%2
  6. set userName=%3
  7. set propertyName=%4
  8. set action=%5
  9.  
  10. goto :eof
  11.  
  12. :ERROR_EMPTY
  13. echo Empty svn:log messages are not allowed. >&2
  14. goto ERROR_EXIT
  15.  
  16. :ERROR_PROPNAME
  17. echo Only changes to svn:log messages are allowed. >&2
  18. goto ERROR_EXIT
  19.  
  20. :ERROR_ACTION
  21. echo Only modifications to svn:log revision properties are allowed. >&2
  22. goto ERROR_EXIT
  23.  
  24. :ERROR_EXIT
  25. exit /b 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement