Export SVN dir from one repository and commit to another one -


we have svn repository stored online our tickets, wikis, etc. deployment purposes, need use second svn repository on have no control: cannot use svndump, svnload, svnsync, etc. can update , commit basically.

at deployment time, export working copy dev repo , commit staging+live repo. please see following sketch rough idea of need do.

svn workflow

is there svn command doing that? use svn export command have add new files hand believe. also, avoid export files when few changed. avoid recreating s working copy each time want deploy site.

or maybe there simpler solution?

best regards

i'd suggest approach:

  • create working copy via svn co s+l_repo (initial checkout, can done manually)
  • export dev repo via svn export working copy, overwriting files in it
  • add new files via svn add --force
  • commit working copy s+l repo

easily scripted, , can run via batch job every night.


Comments