Mercurial“服务器"服务器 [英] Mercurial "server"

查看:116
本文介绍了Mercurial“服务器"服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Mercurial了一段时间,但主要用于我自己的用途.不过,现在,我有一个项目正在研究我们两个人在哪个地方构建同一个项目,我们可能会修改彼此的文件.

I've been using Mercurial for a little while, but mainly for my own use. Now though, I have a project I'm working on where two of us are building the same project, and we will probably be modifiying each other's files.

我想在服务器上设置Mercurial存储库,使该存储库成为服务器",因此我的更改和其他编辑者的更改都推送到该服务器(因此基本上 CVS 模型);我虽然喜欢Mercurial,但不想切换到Subversion之类的东西.

I would like to setup a Mercurial repository on a server, make that repository the "server", so my changes and the other editor's changes both push to that server (so basically the Subversion / CVS model); I like Mercurial though and don't want to switch to something like Subversion.

在我自己的网络中,所有操作都在Linux上完成,并且我的服务器"具有 OpenSSH 已安装.因此,将我的更改(我在多台计算机上工作)从一台计算机推送到服务器只是"hg push"问题.用于传输更改的协议是 SSH .

Here in my own network, everything is done on Linux, and my "server" has OpenSSH installed. So pushing my changes (I work on multiple computers) from one computer to the server is just a matter of "hg push"; the protocol used is SSH for transfering the changes.

问题是我使用Linux,服务器将是Windows(所以没有OpenSSH,对吗?),另一个编辑器也将使用Windows.据我所知,在这类类型的设置中使用Mercurial的最佳方法是使存储库从源中提取更改,而不是从源中推送到服务器".我位于多个防火墙(不完全是我的网络)的后面,并且我的计算机从服务器看不到,并且我假设另一个编辑器也位于防火墙的后面(所以我们不能只启动本地Mercurial HTTP服务器并从中获取服务器"计算机).

The problem is that I use Linux, the server will be Windows (so no OpenSSH, right?) and the other editor will be using Windows too. As far as I know, the best way of working in Mercurial in these types of setups is for the repository to pull changes from the source, rather then the source pushing to the "server". I'm behind several firewall's (not entirely my network) and my computer won't be visible from the server, and I'm assuming the other editor will be behind a firewall too (so we can't just start up the local Mercurial HTTP server and get the "server" computer to pull from that).

两个编辑者对服务器存储库进行更改的最佳方式是什么? (我应该补充一点,该服务器是Internet上的服务器,因此它与google.com类似.它是一台托管的Windows服务器,但是如果需要,我可能会获得安装软件的权限.) >

What's the best way for both editors to get our changes to the server repository? (I should add that the server is a server on the Internet, so it is just as visible as something like google.com. It's a hosted Windows server, but I would probably have permission to install software if needed for this.)

推荐答案

我建议使用www.fogbugz.com上的Kiln.这是一种商业的源代码控制解决方案,基本上是一个带有Mercurial的Windows包装程序.

I suggest Kiln from www.fogbugz.com. It's a commercial source control solution, basically a Windows wrapper with Mercurial under the hood.

这篇关于Mercurial“服务器"服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆