<p>
        </p>
        Glad to help you.<div>If you can't access to Hook on mercurial wiki, you can access it in manpage of hgrc. Try to search "hooks" section.</div><div><br></div><div>PS : When you reply, add mailing-list address so everyone can benefit except if you want to send private reply.</div><div>
        <br>
        <div id="6A5D149C61A142C09689BA92F1C09789">--&nbsp;<br>FELD Boris<br>Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a></div>
                <br>
                
        <p>On jeudi 4 novembre 2010 at 14:36, Michał Janusz wrote:</p>
        <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
            <div><div><div>

<div class="Section1">

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Right,
now it is 100% clear. Extra problem is that I can not access to </span><a href="http://mercurial.selenic.com/wiki/Hook"><span lang="EN-US" style="color:windowtext">http://mercurial.selenic.com/wiki/Hook</span></a><span lang="EN-US"> due to firewall setup. I am looking around to organize access to this
base of knowledge </span><span lang="EN-US" style="font-family:Wingdings">J</span><span lang="EN-US">. Thank You so much.<o:p></o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D"><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D"><o:p>&nbsp;</o:p></span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> FELD Boris
[<a href="mailto:lothiraldan@gmail.com">mailto:lothiraldan@gmail.com</a>] <br>
<b>Sent:</b> Thursday, November 04, 2010 2:33 PM<br>
<b>To:</b> Michał Janusz<br>
<b>Cc:</b> <a href="mailto:mercurial@selenic.com">mercurial@selenic.com</a><br>
<b>Subject:</b> Re: How to clone, make branch, commit on the remote host in DMZ<o:p></o:p></span></p>

</div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p class="MsoNormal">If i understand your problem and if my knowledge of DMZ is
good :<o:p></o:p></p>

<div>

<p class="MsoNormal">- you can access from your pc at your dmz pc<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal">- you can't access from your dmz pc to your other pc<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class="MsoNormal">i'm right ?<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class="MsoNormal">If it's right, you can create an empty repository in your
dmz pc :<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal">"hg init repo"<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal">and push your repo from your pc to your dmz pc :<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal">"hg push ssh://hg@dmz_hostname/repo_path"<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class="MsoNormal">And of you need to do something when you push to your dmz
pc, have a look at mercurial hook :<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><a href="http://mercurial.selenic.com/wiki/Hook">http://mercurial.selenic.com/wiki/Hook</a><o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class="MsoNormal">I hope i was clear and i hope i have understood your
problem.<o:p></o:p></p>

</div>

<div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<div id="7D3E43789158497EB64A3E8B9A0A97B3">

<p class="MsoNormal">--&nbsp;<br>
FELD Boris<br>
Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a><o:p></o:p></p>

</div>

<p class="MsoNormal"><o:p>&nbsp;</o:p></p>

<p>On jeudi 4 novembre 2010 at 13:52, Michał Janusz wrote:<o:p></o:p></p><blockquote type="cite"><div>

<div>

<div>

<div>

<div>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">Hey,</span><o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;</span><o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">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. </span><o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;</span><o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
All best</span><o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D">&nbsp;</span><o:p></o:p></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> FELD
Boris [<a href="mailto:lothiraldan@gmail.com">mailto:lothiraldan@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, November 04, 2010 1:13 PM<br>
<b>To:</b> fiizyk<br>
<b>Subject:</b> Re: How </span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">to
clone, make branch, commit on the remote host in DMZ</span><o:p></o:p></p>

</div>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">You
must to make changes in your local repository in order to create a new branch
with a commit.<o:p></o:p></p>

<div>

<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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.<o:p></o:p></p>

<div id="AD96E25943F54E94939350057FB4FFA5">

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--&nbsp;<br>
FELD Boris<br>
Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a><o:p></o:p></p>

</div>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>

<p>On jeudi 4 novembre 2010 at 10:02, fiizyk wrote:<o:p></o:p></p><blockquote type="cite"><div>

<div>

<div>

<div>

<div>

<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
I have host in DMZ. It has got one side connection, so I need to checkout<br>
smth using hg from outside. Commands <br>
[CODE]<br>
hg clone ssh://hg@hostname/base-jboss JBOSS<br>
hg branch ${hostname}<br>
hg commit<br>
[/CODE]<br>
do not work due to DMZ. <br>
What it the commands which allow to clone, make branch and commit remotly ?<br>
Or how to solve this uisng merciurial. <br>
-- <br>
View this message in context: <a href="http://mercurial.808500.n3.nabble.com/How-to-clone-make-branch-commit-on-the-remote-host-in-DMZ-tp1840181p1840181.html">http://mercurial.808500.n3.nabble.com/How-to-clone-make-branch-commit-on-the-remote-host-in-DMZ-tp1840181p1840181.html</a><br>
Sent from the General mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mercurial mailing list<br>
<a href="mailto:Mercurial@selenic.com">Mercurial@selenic.com</a><br>
<a href="http://selenic.com/mailman/listinfo/mercurial">http://selenic.com/mailman/listinfo/mercurial</a><o:p></o:p></p>

</div>

</div>

</div>

</div>

</div></blockquote><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

</div></blockquote><p class="MsoNormal"><o:p>&nbsp;</o:p></p>

</div>

</div>




</div></div></div>
                        
                        
                        
                        
        </blockquote>
                
                <br>
    

</div>