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

Re: Question on Subversion hooks

From: Kristis Makris <kristis.makris_at_asu.edu>
Date: 2004-08-15 06:13:01 CEST

> > Another question I have is how can I get a list of files that are about
> > to be commited using the hook scripts ?
>
> You use a tool like 'svnlook' to examine the pending commit
> transaction. 'svn status' and 'svn info' only operate on working
> copies, while 'svnlook' operates directly on a repository, and was
> written almost expressly for the purpose of being called by hook
> scripts.

Is there a possibility that "svnlook changed" might output something
like:

A + somefile.txt

rather than simply

A somefile.txt

?? I just noticed in http://svnbook.red-bean.com/svnbook/ch04s04.html
that "svn status" might output that. I want to make sure I'm parsing the
output of "svnlook changed" correctly for integration with bug-tracking.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 15 08:30:23 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.