subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tech Geek <>
Subject Better way to get the full rule of the last commit?
Date Mon, 11 Oct 2010 02:34:48 GMT
All my repositories live under /var/lib/svn/.

Let's the output of the following command (on the SVN server):
# svn changed /var/lib/svn/projectA/
A   PartA/tags/DEV-1.00_RC5/

Now in my post-commit hook I need the following value in a variable (say

Right now the way I am getting this value in my post-commit hook is as

DIRCHANGE=`$SVNLOOK changed "$REPOS" | $GREP "^A\W.*" | cut -d' ' -f4`

Is there any command which will return the full path of the directory inside
that repository under which the changes were made by the last commit?

View raw message