tucny Posted January 26, 2014 Report Share Posted January 26, 2014 Hi, in certain cases, a local file move operation done in Visual Studio is interpreted as a delete + move in Plastic SCM. This happes usually when I use ReSharper to refactor something which in turn cause a file rename. Such as: rename class, move class to a different folder. It's very annoying that Plastic SCM can't handle such situations gracefully and detect the file has been moved / renamed. Is there a way out this, such as upgrading to a newer version of Plastic? (Avoiding certain refactorings is not a viable option…) Note that I do have Plastic SCM installed into Visual Studio, and the solution has been added under version control. Toolset: Plastic SCM 4.1.10.500 Community Edition, VS 2012, ReSharper 7.1.3. Thanks, Ondrej Link to comment Share on other sites More sharing options...
JakubH Posted January 27, 2014 Report Share Posted January 27, 2014 Are you aware of the Search matches in a context menu of the wrongly added item? Link to comment Share on other sites More sharing options...
tucny Posted January 27, 2014 Author Report Share Posted January 27, 2014 No, I'm not. Do you mean in Solution Explorer or in Plastic's standalone GUI? Link to comment Share on other sites More sharing options...
manu Posted January 27, 2014 Report Share Posted January 27, 2014 Check if inside the Pending changes view search option you have enabled the "Local moved" option. If the move is still detected as a "deleted + add" it's because the similarity is not enough and you have to match it manually right clicking in the add -> "Search matches" Link to comment Share on other sites More sharing options...
JakubH Posted January 28, 2014 Report Share Posted January 28, 2014 The mentioned context menu is in a Pending Changes view. As far as I know, it is not possible to fix it if you have already checked it in as a deleted and an added item. Link to comment Share on other sites More sharing options...
manu Posted January 29, 2014 Report Share Posted January 29, 2014 Yes, if you already commit the operation there's no way to change the history. (Well, a subtractive merge and redo the operation matching the move will do...) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.