Duplicate changes
Hi!
I have a problem in "Changes" for build. WHen I open this window, I see some changes duplicated, here is an example:
11 Nov 09 21:49 vdan (2 files) svn: 57495
[GFTSRV-16455]
Run build with this change...
Changed: 2 files (2 modified)
| edited | components/MarginCalculationLogic.java |
| edited | components/MarginInfo.java |
11 Nov 09 21:49vdan (2 files) svn: 57495
[GFTSRV-16455]
- Run build with this change...
Changed: 2 files (2 modified)
| edited | components/MarginCalculationLogic.java |
| edited | components/MarginInfo.java |
It's strange, cause I don't see any differences between these changes. And also it's strange that it happens not in every build and not with every change. Sometimes one change isn't duplicated and another is. Could you please help?
Please sign in to leave a comment.
Ekaterina,
Oh, I see now.
So if I use one VCS root with one repository, I'll not have this problem.
Thanks for you reply!
But it's strange, I have the same problem in project, where there is only one VSC root for it's repository.
Teamcity 4.5.4
Screenshot with changes for project is attached. We don't have any more VCS roots which have the same repository, and VCS root for this project isn't used in other projects.
Attachment(s):
changes.jpg
And here is one more example. These 4 projects have the same VCS root, but not all the changes are duplicated. You can see it in attached file. Some changes are shown 3 times, some - 2, and some aren't repeated at all.
Also it seems that if I have 2 projects with one VCS, than copy this VCS so that every project use it's own VCS root (so I have 2 VCS root which have the same repository), changes aren't duplicated. At least changes aren't duplicated as often as it was with one VCS root.
So now I can't understand the logic of this duplication
Attachment(s):
diff_changes.jpg
the build configuration.
Sorry, but could you please explain this: 'same change appears in both svn:externals and VCS root '.
How can I check it?
And here are externals settings for the first example - it's 'ignore externals'. And VCS root for this projects isn't used in other projects, and no other projects have VCS with the same repository link.
Attachment(s):
externals.jpg
Ekaterina,
Can you please provide me the path of modified files from the first example (can be found in change list pop-up or Changes tab)? Also please attach screenshot of Settings tab of the build configuration to see VCS roots settings and checkout rules?
Here are paths:
svn: 57481 11 Nov 09 15:57mtrevgoda (1 file)
svn: 57481 11 Nov 09 15:57mtrevgoda (1 file)
Changed: 1 file (1 modified)
Screenshots are attached.
Attachment(s):
VCS.jpg
Version_control_settings.jpg
Ekaterina,
I see you have also issue about of 2 instances of TeamCity using the same MySQL database. Did you resolve it? That is a critical misconfiguration that can cause the issue in this thread.
If you still experience duplicating changes for new commits after duplicate TeamCity instances issue resolution, we will need teamcity-vcs.log file with debug mode turned on for future investigation.
We resolved the problem with 2 teamcity instances, and it seems that the problem with changes duplication disappeared. Thank you very much for your help!