My dev is Visual Studio 2010 with Resharper 5.1.3000.12 and AnkhSVN 2.1.10129.17 installed.
I understand that Resharper should notify AnkhSVN (or VisualSVN, etc.) when the Refactor-> Move command is executed in the file in order to maintain the SVN history in the file. However, when I do such a refactor through Explorer Solution in Visual Studio, AnkhSVN considers moving the file as delete / add, thereby losing the SVN history for this file. In fact, Ankh does not even add a new version of the file, it just removes the old one, and I need to manually “add” a new one before I can commit.
HOWEVER, if I do Ctl-X, Ctl-V through the file explorer solution explorer, Ankh detects it as copy / move and maintains the history, automatically adds a new file and usually behaves as one expected.
Does this work for someone else, and if so, did you need to do something tricky to make it work? I skipped the setup somewhere to connect AnkhSVN using Resharper, maybe I need new versions of any plugin, or maybe this is some kind of problem with the installation order? (I installed Resharper first, then Ankh).
Egahn source
share