Reputation: 41
Currently:
I'm manually (from my repo, which has the svn ref) rebasing (git spull - standard alias) and checking in to the bare git repo on the TC server (git push).
As we're in the process of migrating to git (assuming we can figure out how!) we have checkins from both svn and git.
One thing to note is that the svn repo will need to be updated even after everyone stops checking in to it per company policy. (So after a successful build, we'll trigger a "git spush")
What would be the setup for TeamCity?
Any other ways? Anyone doing something similar?
Upvotes: 3
Views: 1368
Reputation: 41
Darn it, I wish I found this blog earlier!
http://www.tfnico.com/presentations/git-and-subversion
I've come to similar conclusions, but wasted 5-6 hours.
Upvotes: 1
Reputation: 6805
First, I would be very interested to read how you accomplished your migration once it's completed. A blog post or something writing up your experiences, documenting the problems you hit, would be a fantastic resource. I'm thinking of starting the same migration at my place of work.
I think option 2 sounds most sensible, but I'm not sure why you would need to set up a pull operation as well as a push. Why not just continue with the successful builds being pushed to SVN to keep that in sync with Git?
Upvotes: 0