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

Re: svn_load_dirs case-insensitive comparisons on Windows

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Wed, 20 Aug 2008 15:48:20 -0400

>>>>> "Blair" == Blair Zajac <blair_at_orcaware.com> writes:

 Blair> Jeremiah van Oosten wrote:
>> We are currently using svn_load_dirs to import asset drops from a
>> 3rd part asset creation team.
>>
>> It occurs quite often that files (literally thousands of files)
>> sent from the asset creation team have changed their names only by
>> case and not by name.
>> ...
 Blair> An easier solution would be to rename all the files you get
 Blair> from the 3rd party asset creation team into all lowercase and
 Blair> then use svn_load_dirs.pl. You would probably want to 'svn
 Blair> mv' all the existing files in svn into their lowercase variant
 Blair> and then use svn_load_dirs.pl.

Or, slightly more complex: make a script that takes as input a working
directory (for the existing rev of what you're loading) along with the
new tree. It looks for files that changed only in case, and renames
the offending new file so its case matches what's currently in the
repository.

A few lines of Python...

  paul

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