On 29 January 2015 at 16:39, Philip Martin <philip.mar...@wandisco.com> wrote:
> i...@apache.org writes:
>
>>    /* Create the 'current' file. */
>> -  SVN_ERR(svn_io_file_create_empty(svn_fs_fs__path_current(fs, pool), 
>> pool));
>>    SVN_ERR(svn_fs_fs__write_current(fs, 0, 1, 1, pool));
>
> This causes failures on Unix.
>
> svn_fs_fs__write_current() needs to use some file as a source of the
> permissions for the new file.  At the moment the source file is the
> 'current' file itself which means the file must exist before calling
> svn_fs_fs__write_current().
>
Thanks!

I've reverted this change in r1655664.

Possible solution will be to add new function
svn_fs_fs__create_current() and use it in
svn_fs_fs__create_file_tree(), but I am not sure it's worth it.

-- 
Ivan Zhakov

Reply via email to