We have an SVN repository which is stored online with all our tickets, wikis, etc. For deployment purposes, we need to use a second SVN repository on which we have no control: we cannot use svndump, svnload, svnsync, etc. We can update and commit basically.
At deployment time, I would like to export a working copy from Dev Repo and then commit it to Staging+Live repo. Please see following sketch for a rough idea of what I need to do.
Is there an SVN command doing just that? I could use the svn export command but then I would have to add all new files by hand I believe. Also, I would like to avoid to export all the files when only few changed. So I would like to avoid recreating the S working copy each time I want to deploy the site.
Or maybe there is a much simpler solution?
Best regards
I'd suggest this approach:
svn co s+l_repo
(initial checkout, can be done manually)svn export
into this working copy, overwriting all files in itsvn add --force
Easily scripted, and you can run it via a batch job every night.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With