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

Re: "Unreadable path encountered" running svn merge --reintegrate

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Wed, 19 May 2010 20:57:25 -0500

On May 19, 2010, at 15:10, Brown, Beverly wrote:

> One question - could this have anything to do with filenames that have
> spaces in them? I'm searching my tree now trying to find an inaccessible
> path using
>
> find . -type f |xargs sum > /dev/null
>
> It's showing a filename in a .svn/text-base as "No such file or
> directory"
>
> sum: ./path/.svn/text-base/filename: No such file or directory
> sum: with: No such file or directory
> sum: spaces: No such file or directory
> sum: in: No such file or directory
> sum: it.pdf.svn-base: No such file or directory

That's because find and xargs won't work with files with spaces in their names unless you tell them to use something other than the space as their default delimiter, for example the null character:

find . -type f -print0 | xargs -0 sum > /dev/null
Received on 2010-05-20 03:58:02 CEST

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.