=?utf-8?Q?Re=3A_?=How to =?utf-8?Q?clone=2C_?=make =?utf-8?Q?branch=2C_?=commit on the remote host in DMZ

FELD Boris lothiraldan at gmail.com
Thu Nov 4 13:33:18 UTC 2010


        
        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 pci'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/HookI hope i was clear and i hope i have understood your problem.
        
        -- FELD BorisSent 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://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101104/0fe85e43/attachment.html>


More information about the Mercurial mailing list