[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn info doesn't work in pre-commit script

From: Hellen <hellenff_at_gmail.com>
Date: Tue, 11 Mar 2008 23:19:24 -0700


Does anyone know why the "svn info " doesn't work in the pre/start-commit

I was trying to find the current work location and its information while
running pre/start-commit. so I put "svn info " in the start-commit script.
but somehow it shows the error message as:

svn: warning: '.' is not a working copy

in my start-commit, I put it as:

svnurl=`/usr/bin/svn info . |grep "^URL: "`
echo "svnurl:$svnurl" >&2

can anyone tell me what I did wrong? or is there a way to find out the URL
of the current location?

Received on 2008-03-12 07:19:45 CET

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.