SVN checkout to other server

2019-08-30 15:30发布

问题:

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



标签: svn ftp