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

Re: After renaming directories and commiting, unable to update remote working copy

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Fri, 6 Jun 2008 02:21:04 -0500

On Jun 5, 2008, at 21:42, johnea wrote:

> Ryan Schmidt wrote:
>> On Jun 4, 2008, at 18:48, me_at_johnea.net wrote:
>>> svn: In directory 'johnea/project04-Menon/pp'
>>> svn: Can't move source to dest
>>> svn: Can't move
>>> 'johnea/project04-Menon/pp/.svn/tmp/prop-base/u.pkt.svn-base' to
>>> 'johnea/project04-Menon/pp/.svn/prop-base/u.pkt.svn-base': No
>>> such file or
>>> directory
>>
>> Is there a case collision maybe? Do you have two files in the
>> repository whose names differ only in case (like u.pkt and U.PKT
>> for example), and are you trying to check out to a case-
>> insensitive file system? Try "svn ls" on the URL to the directory
>> in the repository where u.pkt is to check.
>
> Thank You Ryan!
>
> That was it. I renamed the files so there would be no name
> collisions in a case insensitive file system, then a fresh
> repository checkout ran to completion without errors. Brilliant.

Those are pesky errors, aren't they? The error message is not at all
intuitive. I would very much like for Subversion to detect this
rather common problem and guide the user better.

You may want to install a pre-commit hook in the repository which
prevents such commits in the future. They've even provided a script
you can use to do this:

http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/case-
insensitive.py

> I must say I also enjoyed reading your reply regarding repository
> backup:
>
> http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=78310
>
> This had been a lingering question and I was happy to receive your
> input on that subject as well.
>
> You're my Hero!

Happy to help! If you have other questions just write to the list and
maybe I'll be the one to answer that as well. Unless someone beats me
to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-06 09:21:42 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.