-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to run JSLint before a commit into either a Mercurial or Git repo is done.
I want this as an automatic step that is set up instead of relying on the developer (mainly me) remembering to run JSLint before-hand. I normally run JSLint while developing, but want to specify a contract on JS files…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My company's svn repo has a lot of MS Word docs in it. We've implemented a policy that all .doc files must have the svn:needs-lock property set to prevent parallel access on files that are hard to merge (we've also done this for xls, ppt, pdf etc.).
We've implemented the policy by distributing a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
We want to implement pre-commit hook in SVN to check code formatting in jsp/java files.
If the submited files do not pass the guidelines, it should not commit and indicate the lines in error.
How can we implement it? Please guide.
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I've been struggling for the past couple days to get post-commit email notifications working on my SVN server (running via HTTP with Apache2 on Ubuntu 9.10). SVN commits work fine, but for some reason the hooks are not being properly executed.
Here are the configuration settings:
- Users access the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I know running git-diff and other tools can identify the changes in the repository, but when I do a partial commit, I need to pass only the committed files (rather than the entire set of files that are touched) to the pre-commit hook.
For example, I modified three files and commit only two, and I…
>>> More