English 中文(简体)
• 如何改变从SVN服务器到远程网络服务器
原标题:How to Push changes from SVN server to Remote web server

www.un.org/Depts/DGACM/index_spanish.htm 问题

在开发商实施代码时,我需要将特别志愿人员网络服务器的变化推向遥远的网络服务器。 我谨高效地这样做。 因此,我只想推动对遥远服务器而不是整个存放处的改动。

The Current Situation

目前,远程服务器每5分钟打电话一次更新。 不过,我会把交通限制在网络服务器上,而不是禁止。 冲锋服务器位于Windows 2003箱。 网络服务器是一个开放式的SUSE 11.4箱。

http://www.ohchr.org。

我正在寻找SO这一问题,但你似乎 love爱,大多数问题涉及这一软件。

提前感谢SO。 你的谎言是巨大的。

最佳回答

我赞成Rup的评论(自他问!)

象你的边远服务器(单列电话服务器B)一样,它有存放处一个部分的工作复印件。 您希望设在另一个服务器(服务器A)的存放处启动服务器B的<代码>svn Update指挥。

这样做有几种方式(例如,在服务器A上打上一份工作复印件,把工作复制件推到服务器B,使你也掩盖了.svn的目录)。 但是,正如Rup所说,最容易的方式是将一个简单的邮政亭 h到SSH服务器B并做更新。 在服务器A(假设你已授权在服务器A和B之间建立的钥匙):

#!/bin/bash
ssh serverB  svn update /path/to/working/copy  > /dev/null
问题回答

暂无回答




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签