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

Re: Yet another Case-Insensitive File System Problem

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-07-30 18:56:19 CEST

John Peacock wrote:

> The current subversion behavior, i.e. just refusing to continue, is
> suboptimal. At the very least, there should be a way to just force a
> checkout, which should merge the directories in the wc (as long as the
> actual filenames don't conflict in a case-insensitive way).

Huh? This would "solve" your particular problem, but would cause any
number of new ones. What if the directories are totally unrelated?

> The rub, of course, is what to do with files that need to be
> committed, that are located in those merged directories, since the
> entries and text-base cannot really be merged.

That's the least of your prohlems, since you could easily add
information to the entries database about where a file came from. What
will you do with added files? What about merge behaviour?

> I suppose the second directory could be added to the entries file
> and then the files located therein could be flagged with a property
> that would clue svn to handle those files differently when
> committing. That smells very bad to me, and I doubt that it will fly
> with the list as well... ;~)

The whole idea is out of whack, if you ask me. :-)

> In any case, should I create an incident to track this as a post-1.0
> task?

Nah. Especially as we happen to have one, nay, two workarounds in place:

    * svn rm URL. Simply remove the offending empty directory from the
      repository, end of problem. This works from all platforms, since
      URLs are always case-sensitive.
    * svn dump | svndumpfilter | svn load. Remove the offending
      directory from _all_ revisions in the repository, or with a bit
      more work, just from the point in time when it was renamed. While
      this is more work than the previous solution, it does man that you
      get consistent state in pre-HEAD revisions.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 30 18:57:15 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.