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

Re: [Subclipse-users] changing file case with re-factor

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-06-28 16:57:41 CEST

On 6/28/07, MATHUS Baptiste <mathus.b@mipih.fr> wrote:
> No. It will keep history.
>
> There's another way to benefit of automatic refactoring, though it needs two
> commits : rename aFile to SomeFile (or whatever you like). Commit. Then
> rename SomeFile to AFile.
>
> With Svn 1.4, I seem to remember you cannot rename a file twice without
> committing between those two renames. With Svn 1.5, it shouldn't be the case
> anymore (well, it doesn't solve your problem :-), but now you know that
> won't have to do the trick above for ever :-)).

For this problem, SVN 1.5 will not help either. The problem is the
way Subversion uses it's WC admin area. When you rename a file (on
say Linux) you have two files with same name in the WC admin area. On
Windows/OSX this is not allowed so the Subversion code fails. This
would still happen on 1.5. Doing a commit solves it because the
commit removes the old named file.

If/when Subversion invents a new WC format the problem will likely go away.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Jun 28 16:57:50 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.