Changelog on new VCS root doesn't see older commits

Answered

I have added a VCS root to a new configuration and it's able to see new commits, those show up under pending changes,

however we don't seem to be able to build older commits.  In particular we want to start a build from a very old commit to establish a baseline.

 

The changelog seems to only allow us to go back to the time it was added. Am I missing something?

1
4 comments

Hello Tamar,

Yes, as of now TeamCity does not load the commits which were made before the VCS root has been created. There is a feature request to allow manual execution of the older commits - https://youtrack.jetbrains.com/issue/TW-10211; could you please let me know if this logic could be useful for you?

0

Hi Fedor,

Yes that's exactly what I want too :)  It's really useful for us since we use Teamcity for benchmarking and regression testing for which we sometimes need to generate very old baselines.

0

Hello Tamar,

I see, thank you for the details! As a workaround for now, you could try to create a new branch out of the older commit (or a Git tag) - point is you could re-introduce an older commit under a new reference and run a build using this newly-created branch. 

TeamCity also allows to disable automatic checkout for the build (https://www.jetbrains.com/help/teamcity/vcs-checkout-mode.html) and checkout the remote manually - in this approach, you may checkout any custom revision as part of custom command line step. 

If you would like any details on the above, please let me know.

0

Hi Fedor,

Unfortunately this particular repository is read-only to us, so we did add the workaround of manually checking out the revisions.

It's not ideal since the git hash in the properies is wrong but it works :)

Thanks,

Tamar

0

Please sign in to leave a comment.