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

Re: svn trunk r17230: FAIL (win32 ra_local fsfs)

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-11-07 13:31:36 CET

On 11/7/05, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 11/7/05, svn-builder@shadyvale.net <svn-builder@shadyvale.net> wrote:
> > Last 100 lines of the build log (full log attached):
> >
> > Running all tests in commit_tests.py...FAILURE
> > Running all tests in update_tests.py...success
> > Running all tests in switch_tests.py...success
> > Running all tests in prop_tests.py...success
> > Running all tests in schedule_tests.py...success
> > Running all tests in log_tests.py...success
> > Running all tests in copy_tests.py...success
> > Running all tests in diff_tests.py...FAILURE
>
> svn: Can't get attribute information from file 'nul': Incorrect function.
> FAIL: diff_tests.py 2: add a file
>
> Grr! Seems I'll need to have another look at what's currently done
> with the NUL file. Anybody who has an idea why svn would need
> attributes from an empty file to diff against?

Ok, found it: diff_file.c uses a call to svn_io_file_info_get to
retrieve file length. There are 2 solutions: reading until we get an
incomplete chunk (without an error) and taking that as an eof()
signal, or, compare check for this specific error and the null device
name and ignore that (on windows)...

bye,

Erik.
Received on Mon Nov 7 13:36:32 2005

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.