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

svnlook at deleted file in pre-commit returns nothing

From: Renaud Waldura <renaud+subversion_at_waldura.com>
Date: 2006-01-05 00:01:59 CET

I wrote a pre-commit hook to validate XML files. It uses "svnlook changed" to look at the transaction, and cats the file(s) into an XML validator. Files that are about to be deleted seem to be empty; "svnlook cat" returns nothing. Is this a bug? I thought the pre-commit phase would not have altered the file yet.

Using release 1.2.3 on Solaris 10 in daemon mode. Client is Subclipse.

--Renaud
Received on Thu Jan 5 00:12:21 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.