Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » SVN hooks
Re: SVN hooks [message #24707 is a reply to message #24636] Thu, 28 January 2010 08:47 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Mirek,
It looks that I was wrong about the versioning Sad It seems that it is not possible to modify versioned files from hooks. I couldn't even find any workaround...

But at least the log checking script might be useful. Just copy the attached file into the hooks directory in svn repo and set it executable. It will check if log message includes any non-whitespace characters. If the check fails, error message is set to client. I did test if it works, but please make sure that it will work on your svn too. If there's any error, it would prevent anyone from committing.

Honza
  • Attachment: pre-commit
    (Size: 0.48KB, Downloaded 291 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some rules and suggestions
Next Topic: How to destroy your community (lwn.net article)?
Goto Forum:
  


Current Time: Mon Apr 29 19:10:08 CEST 2024

Total time taken to generate the page: 0.02217 seconds