How to clone, make branch, commit on the remote host in DMZ

Martin Geisler mg at aragost.com
Thu Nov 4 13:37:37 UTC 2010


fiizyk <michal.janusz at comarch.pl> writes:

> I have host in DMZ. It has got one side connection, so I need to
> checkout smth using hg from outside. Commands
>
> hg clone ssh://hg@hostname/base-jboss JBOSS
> hg branch ${hostname}
> hg commit
>
> do not work due to DMZ.

So you are saying that you cannot connect to the host but it can still
make outbound connections?

> What it the commands which allow to clone, make branch and commit
> remotly ? Or how to solve this uisng merciurial.

You cannot do these things remotely. You must always work on your local
repository when using Mercurial.

Perhaps you can transfer the repository once from the host to your own
machine and then make the host pull from your repository? That way you
will be able to bring stuff into the host.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/



More information about the Mercurial mailing list