您的位置:首页 > 移动开发 > Objective-C

"Failed to add file '(name here)': object of the same name already exists

2011-04-22 17:31 666 查看
"Failed to add file '(name here)': object of the same name already
exists.


or

"Can't open file 'folder.svn/tmp/text-base/file.svn-base':
The system cannot find the file
specified."


Both mean that two files in the same
folder have the same name except for
capitalization; for example
"Readme.txt" and "README.TXT". Unix
and Subversion are case-sensitive, so
the files are considered to be
completely unrelated. But in Windows
is not case-sensitive, so when it
tries to update README.TXT on top of
Readme.txt (say), it breaks.

The surest way to fix the problem is
to log in to a Unix system (such as
io.uwplatt.edu) and use the unix notes
to check out the repository there. You
can then use the svn mv command to
rename one of the files. If you are in
the middle of trying to add a file to
your repository, you might try using
TortoiseSVN->Rename... to rename the
existing file to something entirely
different and then updating. Note that
you need to use the TortoiseSVN rename
commands; merely renaming the file in
Windows Explorer won't fix your
problems.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐