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

Re: contrib hook enforcer throws on empty renamed file

From: icm <ian.mockford_at_thalesgroup.com>
Date: Tue, 23 Feb 2010 14:20:13 +0000 (UTC)

Mockford, Ian writes:

[...]
> The problem seems to be that enforcer always expects a "diff" output
> following the file rename, but if the file is empty, svnlook diff
> shows no diff output bars.
>
> (enforcer using svnlook version 1.6.9 (r901367), on Windows XP)
>
> Can anyone confirm this is a bug?
> Or a possible change to svnlook output format?

Maybe it's svnlook not outputting a blank line? From
C:\Repo>svnlook diff -r 22 ./
I get:
Copied: trunk/testing/EmptyDocRenamed.txt (from rev 20,
trunk/testing/EmptyDocToBeRenamed.txt)
===================================================================
Deleted: trunk/testing/EmptyDocToBeRenamed.txt
===================================================================

Should there be a blank line after the Copied: and ==== lines?
Received on 2010-02-23 15:25:41 CET

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.