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

Re: Advice for changing filename case in SVN on case insensitive system

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 22 Jun 2013 10:59:57 +0200

On 21.06.2013 23:48, Thomas Harold wrote:
> On 6/20/2013 6:56 PM, Geoff Hoffman wrote:
>> deleting the file from Subversion, then adding the copy with the correct
>> case.
>>
>> Question: Doesn't that blow away revision history? If I didn't care
>> about revision history I would just start over with a fresh repo.
>
> If you use "svn mv" to do the change, it does not blow away the
> revision history for the file. You can, however, choose to have log
> output stop on copy.
>
> http://svnbook.red-bean.com/en/1.7/svn.ref.svn.html#svn.ref.svn.sw.stop_on_copy
>
>
> (In TortoiseSVN's log viewer, there is a checkbox at the bottom called
> "Stop on copy/rename" that you can turn off.)
>
>>
>> I also thought about doing full URL svn mv's but seemed like that could
>> take a very long time to do...
>>
>
> It probably will be slow, depending on which access method you use,
> and each "mv" would result in a new transaction in the repository.

Not necessarily. There's an alternative command-line tool called svnmucc
which can perform several remote renames in one transaction.

Also there's no reason for remote renames to be any slower than local
renames + svn commit.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-06-22 11:00:36 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.