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

[Subclipse-users] RE: Unable to revert changes of a renamed file

From: Geens, Steven <Steven.Geens_at_ordina.be>
Date: 2006-11-22 09:10:06 CET

Small typo:
It was svnserve 1.4.2 not 1.4.0.


From: Geens, Steven
Sent: Tue 11/21/2006 7:17 PM
To: users@subclipse.tigris.org
Subject: Unable to revert changes of a renamed file

Hi All,
I was wondering if someone already encountered this problem, before I start making an extensive study why this went wrong:
Eclipse 3.2.1, Subclipse 1.0.3, svnserve 1.4.0
This is roughly the history of a certain file:
- Added be/stgn/test/Tester.java to the repository.
- 11 Added a test method
- 12 Removed a test method
- Renamed be/stgn to be/wiva (and of course modified the java package name).

If I look at the revision history by Right clicking the file -> Team -> Show In Resource History ...
and Right click revision 12 -> Revert changes from Revision 12
(A stupid way to add the test method once more.)

I get the following message in the console:
merge -r12:11 svn://svnserver/test/trunk/be/wiva/test/Tester.java D:/eclipse3.2.1/workspace/SVN_Test/be/wiva/test/Tester.java

Filesystem has no item

svn: File not found: revision 12, path '/test/trunk/be/wiva/test/Tester.java'
After this problem has presented itself and you refresh the project, an empty Tester.java.tmp is created in the same directory as Tester.java.

After reading the syntax of the merge command in the SVN Red book (and having no hands-on SVN experience whatsoever), I assume that the command should actually be:
merge -r12:11 svn://svnserver/test/trunk/be/wiva/test/Tester.java@<WC revision> D:/eclipse3.2.1/workspace/SVN_Test/be/wiva/test/Tester.java

Do you need more information?
Is this reproducible on other systems? (I reproduced this several times on my own setup)
Is this actually a bug or am I using the system incorrectly?

Received on Wed Nov 22 10:53:21 2006

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.