Re: svnlook diff or contrib hooks enforcer problems with empty files (was Re: contrib hook enforcer throws on empty renamed file)

2010-03-04 Thread Stefan Sperling
On Thu, Mar 04, 2010 at 08:49:49AM +, icm wrote: > Ian Mockford 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 diff or contrib hooks enforcer problems with empty files (was Re: contrib hook enforcer throws on empty renamed file)

2010-03-04 Thread icm
Ian Mockford 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 c

Re: contrib hook enforcer throws on empty renamed file

2010-02-23 Thread icm
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

contrib hook enforcer throws on empty renamed file

2010-02-23 Thread Mockford, Ian
Using the enforcer script from contrib/hooks, I get an error when a commit includes a renamed empty file, for example: AssertionError: Expected left file info, got: 'Deleted: trunk/EmptyDocToBeRenamed.txt' This only happens if the file is empty. The exact result seems to depend on the order in w