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

Re: [Subclipse-users] Cannot rename file in moved package before commit

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 22 Jan 2008 09:19:17 -0500

2008/1/22 Jaan Vajakas <Jaan.Vajakas_at_regio.ee>:
>
> Steps to reproduce:
>
> Create two projects (uuu and ttt).
>
> Add one file A.java in package aaa in project uuu.
>
> Commit uuu and ttt to repository.
>
> Move package aaa from project uuu to ttt in Eclipse Package Explorer (by
> dragging the package from the src folder of project uuu to the src folder of
> project ttt).
>
> Try to rename (Refactor->Rename) the class A (that is now in package aaa in
> project ttt) to „B".
>
>
>
> Expected result: Class A is renamed to B and A.java is renamed to B.java.
>
>
>
> Actual result: A.java is not renamed to B.java, failure dialog shown

This is a limitation within Subversion. As the error message says,
you need to commit the first rename to. The upcoming 1.5 release has
made the necessary changes to remove the limitation.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-01-22 15:19:28 CET

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.