SVN checkout to other server

2019-08-30 15:23发布

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?

标签: svn ftp
2条回答
虎瘦雄心在
2楼-- · 2019-08-30 15:48

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

查看更多
欢心
3楼-- · 2019-08-30 15:58

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

查看更多
登录 后发表回答