/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/user-guide/installing_bazaar.txt

Fix ftp transport so that it handles the 'mode' parameter when provided.

* ftp.py:
(FtpTransport.put_file, FtpTransport.mkdir,
FtpTransport._try_append): Use _setmode.
(FtpTransport._setmode): Fix implementation (parameters were
reversed and mode not converted).

* ftp_server.py:
(test_filesystem): New filesystem implementing chmod.
(test_authorizer.authorize): Use our filesystem when authorized.
(ftp_channel.cmd_site): Implement SITE CHOWN.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
get things working.
53
53
 
54
54
 
55
 
Installing into site-wide locations
56
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57
 
 
58
 
Instead of adding the directory to your PATH, you can install bzr into the
59
 
system locations using::
60
 
 
61
 
  python setup.py install
62
 
 
63
 
If you do not have a compiler, or do not have the python development tools
64
 
installed, bzr supplies a (slower) pure-python implementation of all
65
 
extensions. You can install without compiling extensions with::
66
 
 
67
 
  python setup.py install build_ext --allow-python-fallback
68
 
 
69
 
 
70
 
 
71
55
Running the development version
72
56
-------------------------------
73
57
 
85
69
 
86
70
  2. Get a copy of the development version like this::
87
71
 
88
 
       bzr branch lp:bzr
 
72
       bzr branch http://bazaar-vcs.org/bzr/bzr.dev
89
73
 
90
 
  3. Put the created directory on your PATH.
 
74
  3. Put the created directory (bzr.dev) on your PATH.
91
75
 
92
76
Advanced users may also wish to build the optional C extensions for greater
93
77
speed. This can be done using ``make`` and requires ``pyrex`` and a C compiler.