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: 
For me the file was there but had (1) appended to the name. (A copy)
ff4c7be3da460bb91144d6761cc5743536c983f4 (1).svn-base

I removed the "(1)" and cleanup ran fine
ff4c7be3da460bb91144d6761cc5743536c983f4.svn-base
Took chunguiw's answer and wrote a Python (2.7) script for it, in case anyone's interested.

It follows the procedure: try a clean-up, parse output, touch missing file, repeat until done.

```py
import os
import sys
import subprocess
import re

def touch(fname, times=None):
    with open(fname, 'a'):
        os.utime(fname, times)

svnbase_regex = re.compile(r"svn: E720002: Can't open file \'([^']+)\':")

if __name__ == "__main__":
    # Can pass SVN working copy's root folder as a parameter, otherwise runs on CWD
    try:
        root_folder = sys.argv[1]
    except IndexError:
        root_folder = "."
    root_folder = os.path.abspath(root_folder)
    os.chdir(root_folder)
    count = max_times = 10
    # Repeats file touching at most N times (the number above)
    while count > 0:
        count -= 1
        try:
            svn_output = subprocess.check_output("svn cleanup", stderr=subprocess.STDOUT)
        except subprocess.CalledProcessError, e:
            svn_output = e.output
        regex_match = svnbase_regex.search(svn_output)
        if not regex_match:
            break
        touch(regex_match.group(1))
        print "Done %s" % regex_match.group(1)
    print "Exited, fixed up %s missing entries." % (max_times - count)
    print "last SVN output:"
    print svn_output

```