SVN checkout to other server

倖福魔咒の 提交于 2019-12-25 01:35:22

问题


I have four computers in use:

  1. My desktop, on which I write code
  2. My server, on which I checkout SVN repositories, test the written code, and commit revisions
  3. The SVN server
  4. The server I will use in the end

While developing, I'm working on the desktop and the server a lot. When I want to put the latest revision to the end server, I have to do this via FTP, since it doesn't support SVN. So I have to do:

  1. Checkout
  2. Upload with FTP

It would be useful if I could do this with just one command, like:

  1. Checkout to other server with FTP

Is there a command which does that? Or another faster way than what I'm doing now?


回答1:


Create a ftp mount on your desktop to the server, so you can do the checkout directly from the desktop to the server directory.




回答2:


Export HEAD + FTP|SCP|RSync to destination in post-commit hook from repository side



来源:https://stackoverflow.com/questions/14670634/svn-checkout-to-other-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!