简体   繁体   中英

Rename and Refactor Class in Eclipse, and Keep SVN History

When I rename a class in Eclipse (using Ctl-Shft-R on the class name), it also renames the class file, which is helpful. Unfortunately, with my Subclipse plugin for SVN, it commits this as an add of the new class file and a remove of the old class file, and subsequent use of that new file's history will not show the history of the original file.

This is a documented problem with Subclipse, and it will be fixed LATER (meaning possibly never). See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=213991 .

I used to do a little song and dance with Tortoise SVN and Eclipse, but I don't like doing it (even though I like Tortoise).

How can I do this without using two applications? How can I do this with as little fuss as possible?

Cheers!

AFAIK, Subversive doesn't have this problem. Install Subversive rather than Subclipse.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM