Re: Linux post commit script help
From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Mon, 26 May 2008 17:58:29 -0500
On May 26, 2008, at 14:56, joncarl wrote:
>> Jon probably wants to _update_ a working copy as soon as a new commit
Off the top of my head, here's a bash post-commit hook script:
#!/bin/bash
REPOS="$1"
SVN="/usr/local/bin/svn"
$SVN update --non-interactive $WC
You would first need to check out a working copy to the path at $WC.
You would need to make sure that the user as whom this script is
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.