hgbook
changeset 93:97638d862ef3
Network bits.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu Oct 12 16:27:00 2006 -0700 (2006-10-12) |
parents | 72d207927dc4 |
children | 0b97b0bdc830 |
files | en/examples/tour en/tour.tex |
line diff
1.1 --- a/en/examples/tour Thu Oct 12 16:15:16 2006 -0700 1.2 +++ b/en/examples/tour Thu Oct 12 16:27:00 2006 -0700 1.3 @@ -123,3 +123,14 @@ 1.4 #$ name: push.nothing 1.5 1.6 hg push ../hello-push 1.7 + 1.8 +#$ name: outgoing.net 1.9 + 1.10 +hg outgoing http://hg.serpentine.com/tutorial/hello 1.11 + 1.12 +#$ name: push.net 1.13 + 1.14 +hg push http://hg.serpentine.com/tutorial/hello 1.15 + 1.16 +#$ name: 1.17 +exit 0
2.1 --- a/en/tour.tex Thu Oct 12 16:15:16 2006 -0700 2.2 +++ b/en/tour.tex Thu Oct 12 16:27:00 2006 -0700 2.3 @@ -500,6 +500,18 @@ 2.4 repository already has those changes? Nothing too exciting. 2.5 \interaction{tour.push.nothing} 2.6 2.7 +\subsection{Sharing changes over a network} 2.8 + 2.9 +The commands we have covered in the previous few sections are not 2.10 +limited to working with local repositories. Each works in exactly the 2.11 +same fashion over a network connection; simply pass in a URL instead 2.12 +of a local path. 2.13 +\interaction{tour.outgoing.net} 2.14 +In this example, we can see what changes we could push to the remote 2.15 +repository, but the repository is understandably not set up to let 2.16 +anonymous users push to it. 2.17 +\interaction{tour.push.net} 2.18 + 2.19 %%% Local Variables: 2.20 %%% mode: latex 2.21 %%% TeX-master: "00book"