Accessing vcs modification history before project was added to the teamcity

I am developing a plugin for TeamCity that runs some analysis based on vcs history of project.


The question: can my plugin (that runs on server) access modifications (commits) that were done before the project was added to the TeamCity?

PS I have no problem getting changes that were done after adding project to TeamCity, but i am interested in getting changes that were done earlier.

4 comments
Comment actions Permalink

TeamCity starts monitoring VCS repository for changes since the moment of creation of VCS root. As such there is no easy way to access history before that.

0
Comment actions Permalink


pavel.sher wrote:

there is no easy way



That's a pity.
Are there any "hard" ways to do that?
0
Comment actions Permalink

You can obtain VCS history using VCS command line tools. TeamCity just does not need VCS history before the point of settings creating, hence there is no such feature.

0
Comment actions Permalink

Oh, ok.
I guess I have to rethink my strategy then. My TeamCity plugin cannot access server command line (can it?), and even if it could - TeamCity has support for a lot of different VCSes, and I would have to support getting history for all of them manually.

Anyway, thank you very mush for your answers, you were really helpful.

0

Please sign in to leave a comment.