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

Re: Case-only renames on Windows (issue #3702)

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 25 Mar 2011 12:43:03 +0000

Johan Corveleyn <jcorvel_at_gmail.com> writes:

> C:\Temp\test>dir /B
> ToDo
>
> C:\Temp\test>move todo todo
>
> C:\Temp\test>dir /B
> todo

So "svn mv todo todo" will be a case-only rename, I guess that's OK if
it is what users expect.

What if the file is already lower-case "todo"? Subversion is happy to
do

  svn rm todo
  svn cp todo_at_base todo

to generate a replace on commit. Should "svn mv todo todo" generate a
replace when the file is already "todo"?

-- 
Philip
Received on 2011-03-25 13:43:41 CET

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.