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

Re: svnlook at deleted file in pre-commit returns nothing

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-01-13 21:45:41 CET

"Renaud Waldura" <renaud+subversion@waldura.com> wrote on 01/13/2006
03:14:53 PM:

> I wrote a pre-commit hook to validate XML files. It uses "svnlook
> 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"
> 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, FSFS backend. Client
> Subclipse.

If you are using svnlook to examine a transaction, and the file is being
deleted as part of that transaction, wouldn't it be normal for the file in
the transaction to be empty? Why would you expect to get content?


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 13 22:13:22 2006

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.