Re: post-commit hook fails
From: Bob Proulx <bob_at_proulx.com>
Date: 2006-03-10 01:06:08 CET
Alien8 Recordings wrote:
You make a typo. The & puts the command in the background and the >
s/&>/2>/
/usr/bin/svnadmin dump /var/svn --revision $REV --incremental > /backup/svn_backups/dump$REV 2> /tmp/postout.txt
> ... but when I commit nothing seems to happen. The stdout/err file
Easier to redirect all output to a file for all commands. See the
#!/bin/bash
Bob
---------------------------------------------------------------------
|
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.