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

RE: Unable to revert changes of a renamed file

From: Geens, Steven <Steven.Geens_at_ordina.be>
Date: 2006-11-21 19:17:08 CET

Hi all,
Sorry wrong mailinglist, reposting in users@subclipse.tigris.org.


From: Geens, Steven
Sent: Tue 11/21/2006 6:58 PM
To: users@subversion.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 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 Tue Nov 21 19:58:15 2006

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