Mercurial > hg
comparison README @ 67:a182f2561c8e
Add tag support
author | mpm@selenic.com |
---|---|
date | Fri, 13 May 2005 13:12:32 -0800 |
parents | 1c590d34bf61 |
children | 17884f79d59d |
comparison
equal
deleted
inserted
replaced
66:5ec8b2ed858f | 67:a182f2561c8e |
---|---|
35 $ hg checkout # check out the tip revision | 35 $ hg checkout # check out the tip revision |
36 $ hg checkout <hash> # check out a specified changeset | 36 $ hg checkout <hash> # check out a specified changeset |
37 $ hg add foo # add a new file for the next commit | 37 $ hg add foo # add a new file for the next commit |
38 $ hg remove bar # mark a file as removed | 38 $ hg remove bar # mark a file as removed |
39 $ hg verify # check repo integrity | 39 $ hg verify # check repo integrity |
40 $ hg tags # show current tags | |
40 | 41 |
41 Branching and merging: | 42 Branching and merging: |
42 | 43 |
43 $ cd .. | 44 $ cd .. |
44 $ mkdir linux-work | 45 $ mkdir linux-work |
91 foo$ cp hgweb.py ~/public_html/hg-linux/index.cgi | 92 foo$ cp hgweb.py ~/public_html/hg-linux/index.cgi |
92 | 93 |
93 # merge changes from a remote machine | 94 # merge changes from a remote machine |
94 bar$ hg merge hg://foo/~user/hg-linux | 95 bar$ hg merge hg://foo/~user/hg-linux |
95 | 96 |
96 | |
97 Another approach which does perform well right now is to use rsync. | 97 Another approach which does perform well right now is to use rsync. |
98 Simply rsync the remote repo to a read-only local copy and then do a | 98 Simply rsync the remote repo to a read-only local copy and then do a |
99 local pull. | 99 local pull. |
100 | 100 |