Questions tagged [svn-hooks]

In Apache Subversion, a hook is a program triggered by some repository event, such as the creation of a new revision or the modification of an unversioned property. This is often used for integration of Subversion with other tools, e.g. bug tracking software.

Subversion hook is a program triggered by some repository event, such as the creation of a new revision or the modification of an unversioned property. This is often used for integration of Subversion with other tools, e.g. bug tracking software, for implementing custom policies and for e-mail notifications.

Hooks in Subversion are stored as a part of the repository on the Subversion server in a directory called "hooks". E.g. C:\Repositories\foobar\hooks\.

Helpful articles from the SVNBook:

  1. Subversion Repository Hooks (complete reference on each hook type)

  2. Implementing Repository Hooks

215 questions
0
votes
1 answer

subversion validation

We use subversion as a source control solution; however couple of my team mates aren't very faithful when it comes to provide a comment while checking in files. I would like to put a couple of validation like... A. A comment is mandatory with at…
Bharat Sinha
  • 13,973
  • 6
  • 39
  • 63
-1
votes
1 answer

Setting up and testing a pre-commit hook in SVN running on Linux machine which I access remotely

I'm gonna try to be as forthcoming as I can about my problem. I'm on a Windows computer. The SVN repository is on a Linux machine. I access the Linux machine remotely, using Putty and logging in as root. Everything is done through the command…
tyranius
  • 19
  • 3
-2
votes
1 answer

How to link svn hooks to checked out repository

How to link svn hooks to checked out repository?. I have checked out a sample SVN repo. And with SVN-admin option, I created svn repo(?), which has sample hooks . But how do I link my newly written script to work on local checked-out repo?. Its…
user1587504
  • 764
  • 1
  • 10
  • 25
-3
votes
1 answer

SVN hooks for Windows

Can I in svn hooks for Windows to write a command which relocate automatically some folders to another location in repository? Hook must run at server For example: Users commit files in his working copy (C:svnworkingcopy\dev) At server will run a…
-4
votes
1 answer

I would like to add a post commit hook so that if a user deletes a file, I will be notified by email

I would like to add a post commit hook so that if a user deletes particular file, I will be notified by email.. Help !!!
iaav
  • 484
  • 2
  • 9
  • 26
1 2 3
14
15