~bzr-pqm/bzr/bzr.dev

5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
8
bzr 0.7
9
#######
10
11
:Released: 2006-01-09
12
13
Changes
14
*******
15
16
* .bzrignore is excluded from exports, on the grounds that it's a bzr
17
  internal-use file and may not be wanted.  (Jamie Wilkinson)
18
19
* The "bzr directories" command were removed in favor of the new
20
  --kind option to the "bzr inventory" command.  To list all
21
  versioned directories, now use "bzr inventory --kind directory".
22
  (Johan Rydberg)
23
24
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
25
  by default. (John Arbash Meinel)
26
27
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
28
  environment variable. Now the path for it is searched in ``BZR_HOME``,
29
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
30
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
31
  ``HOME``. (John Arbash Meinel)
32
33
* Plugins with the same name in different directories in the bzr plugin
34
  path are no longer loaded: only the first successfully loaded one is
35
  used. (Robert Collins)
36
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
37
* Use system's external SSH command to open connections if possible.
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
38
  This gives better integration with user settings such as ProxyCommand.
39
  (James Henstridge)
40
41
* Permissions on files underneath .bzr/ are inherited from the .bzr
42
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
43
  will mean that future file will be created with group write permissions.
44
45
* configure.in and config.guess are no longer in the builtin default
46
  ignore list.
47
48
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
49
  files.  (John Arbash Meinel, Martin Pool)
50
51
Improvements
52
************
53
54
* "bzr INIT dir" now initializes the specified directory, and creates
55
  it if it does not exist.  (John Arbash Meinel)
56
57
* New remerge command (Aaron Bentley)
58
59
* Better zsh completion script.  (Steve Borho)
60
61
* 'bzr diff' now returns 1 when there are changes in the working
62
  tree. (Robert Collins)
63
64
* 'bzr push' now exists and can push changes to a remote location.
65
  This uses the transport infrastructure, and can store the remote
66
  location in the ~/.bazaar/branches.conf configuration file.
67
  (Robert Collins)
68
69
* Test directories are only kept if the test fails and the user requests
70
  that they be kept.
71
72
* Tweaks to short log printing
73
74
* Added branch nicks, new nick command, printing them in log output.
75
  (Aaron Bentley)
76
77
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
78
  occurs.  (Martin Pool)
79
80
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
81
  the same as Subversion.  (Martin Pool)
82
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
83
* New FTP transport support (on ftplib), for ftp:// and aftp://
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
84
  URLs.  (Daniel Silverstone)
85
86
* Commit editor temporary files now start with ``bzr_log.``, to allow
87
  text editors to match the file name and set up appropriate modes or
88
  settings.  (Magnus Therning)
89
90
* Improved performance when integrating changes from a remote weave.
91
  (Goffredo Baroncelli)
92
93
* Sftp will attempt to cache the connection, so it is more likely that
94
  a connection will be reused, rather than requiring multiple password
95
  requests.
96
97
* bzr revno now takes an optional argument indicating the branch whose
98
  revno should be printed.  (Michael Ellerman)
99
100
* bzr cat defaults to printing the last version of the file.
101
  (Matthieu Moy, #3632)
102
103
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
104
  profiler.  (Denys Duchier)
105
106
* Faster commits by reading only the headers of affected weave files.
107
  (Denys Duchier)
108
109
* 'bzr add' now takes a --dry-run parameter which shows you what would be
110
  added, but doesn't actually add anything. (Michael Ellerman)
111
112
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
113
  lists the specific files.  (Aaron Bentley)
114
115
* 'bzr missing' now supports displaying changes in diverged trees and can
116
  be limited to show what either end of the comparison is missing.
117
  (Aaron Bently, with a little prompting from Daniel Silverstone)
118
119
Bug Fixes
120
*********
121
122
* SFTP can walk up to the root path without index errors. (Robert Collins)
123
124
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
125
126
* Error when run with -OO
127
5538.2.1 by Zearin
Fixed capitalization of XML and HTTP. Fixed by hand and only where appropriate (e.g., left http://some/url lowercase, but capitalized "When making an HTTP request…").
128
* Fix bug in reporting HTTP errors that don't have an HTTP error code.
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
129
  (Martin Pool)
130
131
* Handle more cases of pipe errors in display commands
132
133
* Change status to 3 for all errors
134
135
* Files that are added and unlinked before committing are completely
136
  ignored by diff and status
137
138
* Stores with some compressed texts and some uncompressed texts are now
139
  able to be used. (John A Meinel)
140
141
* Fix for bzr pull failing sometimes under windows
142
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
143
* Fix for SFTP transport under windows when using interactive auth
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
144
145
* Show files which are both renamed and modified as such in 'bzr
146
  status' output.  (Daniel Silverstone, #4503)
147
148
* Make annotate cope better with revisions committed without a valid
149
  email address.  (Marien Zwart)
150
151
* Fix representation of tab characters in commit messages.
152
  (Harald Meland)
153
154
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
155
  now parsed properly under Windows. (Alexander Belchenko)
156
157
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
158
159
* Keep a cached copy of the basis inventory to speed up operations
160
  that need to refer to it.  (Johan Rydberg, Martin Pool)
161
162
* Fix bugs in bzr status display of non-ascii characters.
163
  (Martin Pool)
164
165
* Remove Makefile.in from default ignore list.
166
  (Tollef Fog Heen, Martin Pool, #6413)
167
168
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
169
170
Testing
171
*******
172
173
* Fix selftest asking for passwords when there are no SFTP keys.
174
  (Robey Pointer, Jelmer Vernooij)
175
176
* Fix selftest run with 'python -O'.  (Martin Pool)
177
178
* Fix HTTP tests under Windows. (John Arbash Meinel)
179
180
* Make tests work even if HOME is not set (Aaron Bentley)
181
182
* Updated ``build_tree`` to use fixed line-endings for tests which read
183
  the file cotents and compare. Make some tests use this to pass under
184
  Windows. (John Arbash Meinel)
185
186
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
187
188
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
189
  (John Arbash Meinel)
190
191
* Use terminal width to align verbose test output.  (Martin Pool)
192
193
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
194
  If adding a new test script please add that to
195
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
196
197
* Much better error message if one of the test suites can't be
198
  imported.  (Martin Pool)
199
200
* Make check now runs the test suite twice - once with the default locale,
201
  and once with all locales forced to C, to expose bugs. This is not
202
  trivially done within python, so for now its only triggered by running
203
  Make check. Integrators and packagers who wish to check for full
204
  platform support should run 'make check' to test the source.
205
  (Robert Collins)
206
207
* Tests can now run TestSkipped if they can't execute for any reason.
208
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
209
  reasons - see the wiki spec ImprovingBzrTestSuite).
210
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
211
* Test SFTP with relative, absolute-in-homedir and absolute-not-in-homedir
212
  paths for the transport tests. Introduce blackbox remote SFTP tests that
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
213
  test the same permutations. (Robert Collins, Robey Pointer)
214
215
* Transport implementation tests are now independent of the local file
216
  system, which allows tests for esoteric transports, and for features
217
  not available in the local file system. They also repeat for variations
218
  on the URL scheme that can introduce issues in the transport code,
219
  see bzrlib.transport.TransportTestProviderAdapter() for this.
220
  (Robert Collins).
221
222
* ``TestCase.build_tree`` uses the transport interface to build trees,
223
  pass in a transport parameter to give it an existing connection.
224
  (Robert Collins).
225
226
Internals
227
*********
228
229
* WorkingTree.pull has been split across Branch and WorkingTree,
230
  to allow Branch only pulls. (Robert Collins)
231
232
* ``commands.display_command`` now returns the result of the decorated
233
  function. (Robert Collins)
234
235
* LocationConfig now has a ``set_user_option(key, value)`` call to save
236
  a setting in its matching location section (a new one is created
237
  if needed). (Robert Collins)
238
239
* Branch has two new methods, ``get_push_location`` and
240
  ``set_push_location`` to respectively, get and set the push location.
241
  (Robert Collins)
242
243
* ``commands.register_command`` now takes an optional flag to signal that
244
  the registrant is planning to decorate an existing command. When
245
  given multiple plugins registering a command is not an error, and
246
  the original command class (whether built in or a plugin based one) is
247
  returned to the caller. There is a new error 'MustUseDecorated' for
248
  signalling when a wrapping command should switch to the original
249
  version. (Robert Collins)
250
251
* Some option parsing errors will raise 'BzrOptionError', allowing
252
  granular detection for decorating commands. (Robert Collins).
253
254
* ``Branch.read_working_inventory`` has moved to
255
  ``WorkingTree.read_working_inventory``. This necessitated changes to
256
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
257
  WorkingTree as well. To make it clear that a WorkingTree cannot always
258
  be obtained ``Branch.working_tree()`` will raise
259
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
260
261
* All pending merges operations from Branch are now on WorkingTree.
262
  (Robert Collins)
263
264
* The follow operations from Branch have moved to WorkingTree::
265
266
      add()
267
      commit()
268
      move()
269
      rename_one()
270
      unknowns()
271
272
  (Robert Collins)
273
274
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
275
276
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
277
278
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
279
  Pool)
280
281
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
282
  query method. (Robert Collins)
283
284
* New options to read only the table-of-contents of a weave.
285
  (Denys Duchier)
286
287
* Raise NoSuchFile when someone tries to add a non-existant file.
288
  (Michael Ellerman)
289
290
* Simplify handling of DivergedBranches in ``cmd_pull()``.
291
  (Michael Ellerman)
292
293
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
294
  is exposed as ``Branch().control_files``. Also this has been altered with the
295
  controlfile pre/suffix replaced by simple method names like 'get' and
296
  'put'. (Aaron Bentley, Robert Collins).
297
298
* Deprecated functions and methods can now be marked as such using the
299
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
300
  updated and will issue a DeprecationWarning using the warnings module
301
  when they are used. (Robert Collins)
302
303
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
304
  for functions that need unicode strings. (Robert Collins)
305
306
307
..
308
   vim: tw=74 ft=rst ff=unix