Questions tagged [post-commit]
205 questions
2
votes
2 answers
How to Run a subversion post-commit hook as low-priority separate thread
I have a long-running post-commit hook that updates an index of subversion repository (from the project http://svnquery.tigris.org/) The postcommit hook already runs as a separate thread due to the RunDetached executable provided as part of…

Nathan
- 10,593
- 10
- 63
- 87
2
votes
2 answers
Can a script be automated after a commit on Perforce?
We use Perforce at work, and routinely keep software projects in the repository. In general creators follow the normal Perforce flow, BUT we also have a class of users, who doesn't have any need to edit the files but only read them. Currently we…

naven87
- 964
- 1
- 7
- 24
2
votes
1 answer
TortoiseSVN never runs post-commit.bat
I have set up my subversion/trac environment on Windows (Now Win7, previously tried on Vista) and all works perfectly. But I can't get my post-commit to work.
Here's the setup (using VisualSVN and Trac running on…

mistalaba
- 558
- 1
- 7
- 19
2
votes
1 answer
post-commit hook run as what user in svn
Apache on a windows machine running as SYSTEM.
What user and password should be used for a post-commit.bat?
I am trying to copy content to a directory for testing on a developer version on the webserver and don't seem to have it working.

datatoo
- 2,019
- 2
- 21
- 28
2
votes
5 answers
Subversion Post-Commit Hooks
I am having some issues getting post-commit hooks to work. Subversion doesn't appear to be triggering my post-commit hook when I commit a changed file to my repository.
I am using TortoiseSVN and VisualSVN with Subversion, I was able to go into the…

mgrenier
- 1,409
- 3
- 21
- 45
2
votes
1 answer
Letting CommitTicketUpdater work in trac with svn
I use trac as my issue tracking system, together with svn. Lately I have discovered that commit messages may also modify tickets (add comments, close them) with the distributed CommitTicketUpdater (appears in tracopt), starting from trac 0.12 (the…

Bach
- 6,145
- 7
- 36
- 61
2
votes
2 answers
Cloning a single path of a bare git repository
I am trying to add a post-commit hook to a bare repository, such that whenever a commit is made the changed files are automatically installed in a (hardcoded) directory.
Is there a way to fetch a single file from the repository?
git-clone does not…

knipknap
- 5,934
- 7
- 39
- 43
2
votes
1 answer
SVN Post-Commit Export is not working
I am trying to run a post-commit script for SVN on CentOS Server. I would like to run svn export --force from var/svn/project to /var/www/project after every commit to repository. Even though I tried many alternatives I was not able to get it…

fiatux
- 111
- 8
2
votes
2 answers
Where can I find the file VisualSVNServerHooks.exe
I'm trying to activate the post-commit hook in SVN, and I don't have the file VisualSVNServerHooks.exe
where can I find it?
Thanks,
Oded.

Oded
- 795
- 2
- 12
- 32
2
votes
1 answer
SVN post-commit hook bat file returns Basic Auth error
I am trying to get a post-commit svn hook to work. The post commit bat file has the following contents:
"c:\program files\visualsvn server\bin\svn.exe" update "repository local address" --non-interactive --trust-server-cert --username user…

Ioannis Tsiokos
- 29
- 3
2
votes
2 answers
Post Commit Hook with Trac and SVN
So I am having a few problems with settings this up. Let me explain.
I have three files in my d:\svn\hooks file (D:\ is not windows drive)
post-commit.bat
trac-post-commit-hook.cmd
trac-post-commit-hook
I have setup the post-commit.bat file in…
Andy
1
vote
1 answer
Anyone got a sample Windows batch file for auto-deploying Collabnet repo to a file folder?
I'm using CollabNet Subversion Edge on Windows 2008 … and trying to auto-deploy (so update from repo to folder) when any commits are made by developers using Tortoise SVN.
I've got a post-commit hook file in the correct repo /hooks folder. The file…

Mark Haller
- 11
- 1
1
vote
0 answers
strange behavior post-commit hook
I want to automate publishing to my staging webserver from SVN everytime I commit a change.
The strange thing is i log in as the same user the svn server is running and run the post-commit it is working, if I commit a change the svn update is not…

user1247114
- 11
- 1
1
vote
1 answer
simple svn post-commit-hook updating dir with changed files
I used some script i found somewhere:(im a total svn noob, is it used for copying files after committing them to a repo?)
#!/bin/bash
REPOS="$1"
REV="$2"
# A - Item added to repository
# D - Item deleted from repository
# U - File contents…

Writecoder
- 613
- 2
- 8
- 27
1
vote
2 answers
How do I implement an SVN hook to know the filename of the file committed, etc.?
I am using Windows XP and TortoiseSVN, and I would like to know the filename, the path of the file, author, and other details about the revision committed to the repository by using a post-commit hook. Do we have to use a certain language to do this…

Jarvis
- 577
- 3
- 10
- 16