Git, SVN and Heroku
I work on a team that uses SVN for source control (a separate discussion is in the works to get them moved over to git), and we would like to check out of svn and push to Heroku. I can't figure out how to do this very easily. Is there a way to turn an existing directory (checked out by svn) that has not yet been initialized in git, initialize it, and allow that to be pushed to Heroku, essentially overwriting the existing code on Heroku? I'm trying to allow multiple team members to checkin to svn and push to Heroku via Git. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Git, SVN and Heroku
If you use git-svn locally for your remote subversion repo then it should not be that difficult. You could then just add the remote heroku repo and do a git push to heroku. But if you are using subversion client then I think it would be a bit tricky. -- Chandra On Wed, Sep 8, 2010 at 11:16 PM, Swards swa...@gmail.com wrote: I work on a team that uses SVN for source control (a separate discussion is in the works to get them moved over to git), and we would like to check out of svn and push to Heroku. I can't figure out how to do this very easily. Is there a way to turn an existing directory (checked out by svn) that has not yet been initialized in git, initialize it, and allow that to be pushed to Heroku, essentially overwriting the existing code on Heroku? I'm trying to allow multiple team members to checkin to svn and push to Heroku via Git. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Git, SVN and Heroku
Hi 1. Use git as your client (with git-svn). Then just update (from svn) and push to heroku. It works great. If you have trouble, ping me. I haven't done this recently, but can try and dig up some stuff if you need. Issues you may see: deleting directories (e.g. vendor/gems/* )in git doesn't always translate to svn. So sometimes you get a fail there. Otherwise it works without a hitch. 2. Use svn and git use svn like you always do setup git as a duplicate version control system in the same directory. When you want to push, just check the files into git (git commit -a) and push to heroku. I know someone who did this and said it worked for him. Good Luck, --Keenan On Sep 9, 2010, at 12:16 AM, Swards wrote: I work on a team that uses SVN for source control (a separate discussion is in the works to get them moved over to git), and we would like to check out of svn and push to Heroku. I can't figure out how to do this very easily. Is there a way to turn an existing directory (checked out by svn) that has not yet been initialized in git, initialize it, and allow that to be pushed to Heroku, essentially overwriting the existing code on Heroku? I'm trying to allow multiple team members to checkin to svn and push to Heroku via Git. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.