subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Harold <thomas-li...@nybeta.com>
Subject Re: Advice for changing filename case in SVN on case insensitive system
Date Fri, 21 Jun 2013 21:48:11 GMT
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.  I tend 
to only do server-side moves (URL to URL) for the renaming of upper 
level folders in the tree, which is a rare occurrence for us.  All other 
moves we try to do at the working copy level.

(As with everything, it's best to do a test on an inconsequential file 
before doing any mass moves.)

Mime
View raw message