Tuesday 2009/06/23
10:29 AM

Categories: Flash/Actionscript, Tech, Technology's Betrayal, Web Dev

Changing Filename Case in SVN

This one has bugged me for a long time. During a project where things get passed from developer to developer or designer to designer things often get renamed to the same name, only with a different case. For example, myFlvIN.flv becomes myFlvin.flv. I used to think you had to move the files away, rename them, and then re-add them. Turns out if you simply include the full path to the repository it'll do the rename in place for you.

For example:

CODE:
  1. svn mv -m 'rename' http://my.repository.com/myFlvIN.flv http://my.repository.com/myFlvin.flv

More details can be found here, at the Subversion FAQ.


Responses


David Wicks

Wednesday 2009/06/24 1:41 PM

That’s definitely nicer. I actually started using git recently (having never properly learned how to use svn, in fairness), and the same can be done this way:

git mv /local/stuffIN.flv /local/movies/stuffin.flv

I really prefer using git for my personal projects. For team stuff, I’m still on company-standard svn.


Leave a Response