Community
Participate
Working Groups
Build: I20051025 CopyVisitor visits each node in a resource tree being copied. On each resource, it calls HistoryStore.copyHistory. The copyHistory method does a deep recursion and seems to copy the history for that entire subtree. It looks like the history for each file is copied once for each parent of that file. Rafael, just CCing you in case you see something obvious I am missing. I will investigate further...
If there is anything to be missed, I am missing it too.
I figured out that I introduced this bug after 3.1 when I merged my refactoring of resources on IFileSTore. IHistoryStore.copyHistory clearly says in the API that it is a deep operation. In the move case, we only call this method once, but in the copy case we call it for every resource... In 3.1 this method was only called for each *file* that was moved, not for folders.
Fix released.