Community
Participate
Working Groups
Team API contains IMoveDeleteHook which allows to hook into move and delete operations, but there's no hook for copy operation. Here's the reason why hook for copy operation is needed: When user copies folders, meta-information is also copied with them, in case of Subversive .svn folders are copied, but simple copying of meta-folders will break working copy which will be the source of many problems and then it is hard to restore working copy to initial state. In Subversive we have a workaround for this problem we added 'Copy To' action in Team menu, but this action is relatively hidden from users in compare to Eclipse's Copy action and a few users know about it. This hook will also be useful for other Team providers, e.g. CVS, which now has a resources listener which deletes CVS meta folders if copy operation occurred, but this is only partial solution as we'll loose history.
This seems to be a duplicate of bug 109166.
In addition, if I copy and paste e.g. a Java class and have a (renamed) copy in my work space, Subversion is able to track the copy history of this class (similiar to renaming / moving a file). This should be also possible to be implemented based on this API extension.
(In reply to comment #1) > This seems to be a duplicate of bug 109166. Igor, Jorg, could you take a look at that bug and confirm? It looks to me that Mark is right.
Duplicate of bug 109166 *** This bug has been marked as a duplicate of bug 109166 ***