How to remove pending changes from a deleted VCS root?

Hi,

I'm evaluating TeamCity and added a VCS root for our testing repository to one of our projects. I have since removed the VCS root from the main project and created a separate project for that testing repository.

However, the main project still shows 15 pending changes from the deleted VCS root. If I re-add the VCS root, they go away, but then if I remove it, they come back. Is there a way to manually delete these changed from my main project's queue so they stop showing up? Do I have to recreate the 2nd VCS root and keep it attached permanently? That seems like an odd requirrement of never being able to remove them, if so... attached is a screenshot of the error we get, when viewed from one of the Changes that's pending.

Any help would be appreciated. Thanks!



Attachment(s):
teamcity-error.jpg
4 comments
Comment actions Permalink

Hi David,

Sorry for delay in replying. Do you see these changes if you run a new build on this build configuration after deleting of VCS root?

0
Comment actions Permalink

Please see the comment to the related issue and try to set the following internal property: teamcity.detachedRootChanges.mode=none

0
Comment actions Permalink

3 years later, is (finally) possible to delete pending changes? 

0
Comment actions Permalink

Hi Bruno,

 

no, the feature is still not available and for now we don't have plans to introduce it. We have a request in here, if you would like to upvote it and provide the details that were requested: https://youtrack.jetbrains.com/issue/TW-46691

 

Pending changes aren't "stored" as "pending changes". We collect all changes from the VCS Roots store them as changes and they are shown as pending changes if they match the VCS configuration but haven't been built yet (the logic is more complex, but that's the core of it). If pending changes are being shown when they shouldn't, that's a different problem that we would like to address directly. Hiding (removing) pending changes has other side effects that would be detrimental to functionality, and under most circumstances, pending changes can be removed from the pending list by simply running a build.

0

Please sign in to leave a comment.