Rev 2778: (andreas) better bzr serve documentation in http://sourcefrog.net/bzr/doc2
Martin Pool
mbp at sourcefrog.net
Mon Sep 3 06:11:17 BST 2007
At http://sourcefrog.net/bzr/doc2
------------------------------------------------------------
revno: 2778
revision-id: mbp at sourcefrog.net-20070903051116-nuqs4zh8mtdegoul
parent: pqm at pqm.ubuntu.com-20070902233606-wb062d366w5c83uc
parent: aj at dungeon.inka.de-20070829090607-sqwop24h94y0om8o
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: doc2
timestamp: Mon 2007-09-03 15:11:16 +1000
message:
(andreas) better bzr serve documentation
modified:
doc/en/user-guide/server.txt server.txt-20060913044801-h939fvbwzz39gf7g-1
------------------------------------------------------------
revno: 2765.2.1
revision-id: aj at dungeon.inka.de-20070829090607-sqwop24h94y0om8o
parent: pqm at pqm.ubuntu.com-20070829061006-7zz2j5icnc8do0ru
committer: Andreas Jellinghaus <aj at dungeon.inka.de>
branch nick: bzr.dev
timestamp: Wed 2007-08-29 11:06:07 +0200
message:
1.) change order: simple example first.
2.) fix complex example: if bzr is bound to localhost (i.e. 127.0.0.1 / lo),
then a client cannot reach it via the hostname (typically bound to the
ip on eth0 / network interface).
modified:
doc/en/user-guide/server.txt server.txt-20060913044801-h939fvbwzz39gf7g-1
=== modified file 'doc/en/user-guide/server.txt'
--- a/doc/en/user-guide/server.txt 2007-08-22 23:59:17 +0000
+++ b/doc/en/user-guide/server.txt 2007-08-29 09:06:07 +0000
@@ -72,15 +72,6 @@
This mode has the same path and URL behaviour as the inetd mode. To
run as a specific user, you should use ``su`` or login as that user.
-This example runs ``bzr serve`` on `localhost` port `1234`.
-
-server::
-
- bzr serve --port=localhost:1234 --directory=/srv/bzr/repo
-
-client::
-
- bzr log bzr://host:1234/branchname
This example runs bzr on its official port number of `4155` and listens on all
interfaces. This allows connections from anywhere in the world that can reach
@@ -89,3 +80,18 @@
server::
bzr serve --directory=/srv/bzr/repo
+
+client::
+
+ bzr log bzr://host/branchname
+
+This example runs ``bzr serve`` on `localhost` port `1234`.
+
+server::
+
+ bzr serve --port=localhost:1234 --directory=/srv/bzr/repo
+
+client::
+
+ bzr log bzr://localhost:1234/branchname
+
More information about the bazaar-commits
mailing list