This question is about the "Action" member of the IVssVersion interface. I'm
using the C++ interface and ssapi.h, in case that makes any difference.
I'm trying to reconstruct a project history. I've managed to get an
IVssVersions object for the project, then create an enumerationm which I
iterate, and get individual IVssVersion objects.
My basic problem is that for versions representing the addition of files or
folders to the project, the "action" string member contains only the text
"added ". (That's right, it has "added" plus one space character.)
I need to be able to answer the obvious question: added what?
You can get an IVssItem for the version, and one would assume that this item
represents the file/folder that was added. Buit it doesn't - the item
corresponds to the parent project to which the file/folder was added.
All of the examples I could find showing how to dump history nimbly
sidesteepped this issue by not having any examples of files being added. But
surely the information is available, but in a convoluted manner. So I guess
my question is - what are the convolutions?
And in case it matters, i suspect that my question also applies to the "file
deleted" action.
|