Subversion: Can't copy filename: No error

From FVue
Jump to: navigation, search

Problem

When doing a subversion checkout, I receive this error:

$ svn checkout file:///foo/repos foo
svn: In directory 'foo'
svn: Can't copy 'foo/.svn/tmp/text-base/release.svn-base' to 'foo/.svn/tmp/release.tmp.tmp': No error

When I try to do a subsequent update, I get another error:

$ svn update
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Environment

  • Windows XP
  • Cygwin

Solution

The repository contains two files with the same name, but with different uppercase/lowercase letters:

release
RELEASE

On Linux systems - where the repository is created - this is no problem, but on Windows systems filenames are not case sensitive and the two files can't coexist. Subversion now generates an error `No error' because the second file `RELEASE' can't be created if a file `release' already exists.

Within the original repository I renamed `release' to `release.sh' to circumvent the conflict with `RELEASE':

$ svn mv release release.sh

I was unable to fix the locked working directory with svn cleanup so I completely removed the locked working directory and did a new checkout - this time without errors.

Journal

20080712

Nabble - tortoisesvn - users - Cleanup problem
Mailing list thread about cleanup problem.

Comments

blog comments powered by Disqus