Show More
@@ -76,15 +76,17 b' 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 |
@@ -2129,10 +2129,10 b' cmdtable = {' | |||||
2129 | "^qrefresh": |
|
2129 | "^qrefresh": | |
2130 | (refresh, |
|
2130 | (refresh, | |
2131 | [('e', 'edit', None, _('edit commit message')), |
|
2131 | [('e', 'edit', None, _('edit commit message')), | |
2132 |
('m', 'message', '', _('change commit message |
|
2132 | ('m', 'message', '', _('change commit message to <text>')), | |
2133 |
('l', 'logfile', '', _('change commit message |
|
2133 | ('l', 'logfile', '', _('change commit message to <file> content')), | |
2134 | ('g', 'git', None, _('use git extended diff format')), |
|
2134 | ('g', 'git', None, _('use git extended diff format')), | |
2135 |
('s', 'short', None, ' |
|
2135 | ('s', 'short', None, 'refresh only files already in the patch'), | |
2136 | ('I', 'include', [], _('include names matching the given patterns')), |
|
2136 | ('I', 'include', [], _('include names matching the given patterns')), | |
2137 | ('X', 'exclude', [], _('exclude names matching the given patterns'))], |
|
2137 | ('X', 'exclude', [], _('exclude names matching the given patterns'))], | |
2138 | 'hg qrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] FILES...'), |
|
2138 | 'hg qrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] FILES...'), |
General Comments 0
You need to be logged in to leave comments.
Login now