comparison README @ 1:273ce12ad8f1

Update README to discuss remote pull, rsync, and the hg repo add a .hgignore file
author mpm@selenic.com
date Tue, 03 May 2005 13:27:13 -0800
parents 9117c6561b0b
children febfb35d2a3e
comparison
equal deleted inserted replaced
0:9117c6561b0b 1:273ce12ad8f1
67 Fastest: 67 Fastest:
68 $ cat ../p/patchlist | xargs hg import -p1 -b ../p 68 $ cat ../p/patchlist | xargs hg import -p1 -b ../p
69 69
70 Network support (highly experimental): 70 Network support (highly experimental):
71 71
72 # pull the self-hosting hg repo
73 foo$ hg init
74 foo$ hg merge http://selenic.com/hg/
75
72 # export your .hg directory as a directory on your webserver 76 # export your .hg directory as a directory on your webserver
73 foo$ ln -s .hg ~/public_html/hg-linux 77 foo$ ln -s .hg ~/public_html/hg-linux
74 78
75 # merge changes from a remote machine 79 # merge changes from a remote machine
76 bar$ hg merge http://foo/~user/hg-linux 80 bar$ hg merge http://foo/~user/hg-linux
77 81
78 This is just a proof of concept of grabbing byte ranges, and is not 82 This is just a proof of concept of grabbing byte ranges, and is not
79 expected to perform well. 83 expected to perform well. Fixing this needs some pipelining to reduce
84 the number of round trips. See zsync for a similar approach.
80 85
86 Another approach which does perform well right now is to use rsync.
87 Simply rsync the remote repo to a read-only local copy and then do a
88 local pull.
89