Show More
@@ -76,15 +76,17 Network support: | |||||
76 | foo$ hg clone http://selenic.com/hg/ |
|
76 | foo$ hg clone http://selenic.com/hg/ | |
77 | foo$ cd hg |
|
77 | foo$ cd hg | |
78 |
|
78 | |||
79 | # export your current repo via HTTP with browsable interface |
|
79 | # make your current repo available via http://server:8000/ | |
80 | foo$ hg serve -n "My repo" -p 80 |
|
80 | foo$ hg serve | |
81 |
|
81 | |||
82 | # pushing changes to a remote repo with SSH |
|
82 | # pushing and pulling changes to/from a remote repo with SSH | |
83 |
foo$ hg push ssh://user@example.com/ |
|
83 | foo$ hg push ssh://user@example.com/my/repository | |
|
84 | foo$ hg pull ssh://user@example.com//home/somebody/his/repository | |||
84 |
|
85 | |||
85 | # merge changes from a remote machine |
|
86 | # merge changes from a remote machine (e.g. running 'hg serve') | |
86 | bar$ hg pull http://foo/ |
|
87 | bar$ hg pull http://foo:8000/ | |
87 | bar$ hg merge # merge changes into your working directory |
|
88 | bar$ hg merge # merge changes into your working directory | |
|
89 | bar$ hg commit # commit merge in to your local repository | |||
88 |
|
90 | |||
89 | # Set up a CGI server on your webserver |
|
91 | # Set up a CGI server on your webserver | |
90 | foo$ cp hgweb.cgi ~/public_html/hg/index.cgi |
|
92 | foo$ cp hgweb.cgi ~/public_html/hg/index.cgi |
General Comments 0
You need to be logged in to leave comments.
Login now