Re: How to clone, make branch, commit on the remote host in DMZ
FELD Boris
lothiraldan at gmail.com
Thu Nov 4 10:19:20 CDT 2010
Glad to help you.If you can't access to Hook on mercurial wiki, you can access it in manpage of hgrc. Try to search "hooks" section.PS : When you reply, add mailing-list address so everyone can benefit except if you want to send private reply.
-- FELD BorisSent with Sparrow
On jeudi 4 novembre 2010 at 14:36, Michał Janusz wrote:
Right,
now it is 100% clear. Extra problem is that I can not access to http://mercurial.selenic.com/wiki/Hook due to firewall setup. I am looking around to organize access to this
base of knowledge J. Thank You so much.
From: FELD Boris
[mailto:lothiraldan at gmail.com]
Sent: Thursday, November 04, 2010 2:33 PM
To: Michał Janusz
Cc: mercurial at selenic.com
Subject: Re: How to clone, make branch, commit on the remote host in DMZ
If i understand your problem and if my knowledge of DMZ is
good :
- you can access from your pc at your dmz pc
- you can't access from your dmz pc to your other pc
i'm right ?
If it's right, you can create an empty repository in your
dmz pc :
"hg init repo"
and push your repo from your pc to your dmz pc :
"hg push ssh://hg@dmz_hostname/repo_path"
And of you need to do something when you push to your dmz
pc, have a look at mercurial hook :
http://mercurial.selenic.com/wiki/Hook
I hope i was clear and i hope i have understood your
problem.
--
FELD Boris
Sent with Sparrow
On jeudi 4 novembre 2010 at 13:52, Michał Janusz wrote:
Hey,
I did not Get so far. Let me explain once more in details. I
have twp PCs. One of these is in DMZ. I need to execute hg with special option
which checkout verion to the host in DMZ. Such problem I wanted to point out.
This machine in DMZ has got hg installed.
All best
From: FELD
Boris [mailto:lothiraldan at gmail.com]
Sent: Thursday, November 04, 2010 1:13 PM
To: fiizyk
Subject: Re: How to
clone, make branch, commit on the remote host in DMZ
You
must to make changes in your local repository in order to create a new branch
with a commit.
When
you execute "hg branch ${hostname}", you say to next commit will be
on branch "${hostname}". When you try to "commit" next, no
changes were found by mercurial and then fail.
--
FELD Boris
Sent with Sparrow
On jeudi 4 novembre 2010 at 10:02, fiizyk wrote:
I have host in DMZ. It has got one side connection, so I need to checkout
smth using hg from outside. Commands
[CODE]
hg clone ssh://hg@hostname/base-jboss JBOSS
hg branch ${hostname}
hg commit
[/CODE]
do not work due to DMZ.
What it the commands which allow to clone, make branch and commit remotly ?
Or how to solve this uisng merciurial.
--
View this message in context: http://mercurial.808500.n3.nabble.com/How-to-clone-make-branch-commit-on-the-remote-host-in-DMZ-tp1840181p1840181.html
Sent from the General mailing list archive at Nabble.com.
_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20101104/42868b16/attachment.htm>
More information about the Mercurial
mailing list