Question: I'm trying to `svn update` my SVN working copy with TortoiseSVN but the update fails, asking to perform the clean up first.

However, the `svn cleanup` fails too stating that a `\.svn\pristine\20\20long-namecbf.svn-base file cannot be found`. 

I've already tried to release the lock but this does not work either.

**Any idea how should I proceed?**

Answer: 
This problem:

> 
> cannot find the file .svn\pristine\24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base
> 
> 
> 

I copied a svn-base from other file and renamed this with 24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base. And perform a clean up operation. After that I met another file missing. Using the same way, and at last I fixed this problem.

From a Windows command line with SilkSVN installed:

```
cd project directory
svn status

```

This will generate an error. Select and copy the directory and filename text then paste:

```
echo > .svn\pristine\<paste>

```

For example:

```
echo > 24\24fd530d4bd82341fb514ab912c9e10adbc4ad89.svn-base

```

With this knowledge in hand, it would be reasonably trivial to write a batch file that can fix these problems automatically for everyone. The svn command will generate an %ERRORLEVEL% value that can be checked for failure.
This will do it too as a one-liner:

```
while [ 1 ] ; do OUTPUT=`svn cleanup 2>&1 | sed 's/^.* open file //' | sed 's/:.*$//' | sed "s/'//g"`;if [ "X${OUTPUT}" == "X" ] ; then   break; fi; echo $OUTPUT;touch $OUTPUT;done

```