~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-30 08:04:28 UTC
  • mfrom: (5117.2.4 doc)
  • Revision ID: pqm@pqm.ubuntu.com-20100330080428-sg126ybh11u7vqpx
(mbp) fix typo (thanks fullermd)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
bzr 2.2.0b1
9
9
###########
10
10
 
11
 
:Codename: ???
12
11
:2.2.0b1: Not released yet
13
12
 
14
13
Compatibility Breaks
15
14
********************
16
15
 
 
16
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
17
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
18
 
17
19
* Deleted very old hidden commands ``versionedfile-list``,
18
20
  ``weave-plan-merge``, ``weave-merge-text``.
19
21
  (Martin Pool)
20
22
 
21
 
* ``Repository.get_inventory_sha1()`` has been removed. (Jelmer Vernooij)
 
23
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
24
  have been removed. (Jelmer Vernooij)
 
25
 
 
26
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
27
  ``Repository.get_inventory()``. (Jelmer Vernooij)
22
28
 
23
29
* All test servers have been moved out of the bzrlib.transport hierarchy to
24
30
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
27
33
  ``bzrlib.tests.test_server``.
28
34
  (Vincent Ladeuil)
29
35
 
 
36
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
37
  as its second parameter, for consistency with the initialize() method of
 
38
  other formats. (Jelmer Vernooij)
 
39
 
30
40
New Features
31
41
************
32
42
 
 
43
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
44
  branch. (Jelmer Vernooij, #276295)
 
45
 
 
46
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
47
  to set file mtimes to the last timestamp of the last revision in which
 
48
  they were changed rather than the current time. (Jelmer Vernooij)
 
49
 
33
50
* If the Apport crash-reporting tool is available, bzr crashes are now
34
51
  stored into the ``/var/crash`` apport spool directory, and the user is
35
52
  invited to report them to the developers from there, either
36
53
  automatically or by running ``apport-bug``.  No information is sent
37
54
  without specific permission from the user.  (Martin Pool, #515052)
38
55
 
 
56
* Parsing of command lines, for example in ``diff --using``, no longer
 
57
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
58
  #392248)
 
59
 
 
60
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
61
  a list of plugin names separated by ':' (';' on windows).
 
62
  (Vincent Ladeuil, #411413)
 
63
 
 
64
* Plugins can be loaded from arbitrary locations by defining
 
65
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
66
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
67
  specified plugins. This is targeted at plugin developers for punctual
 
68
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
69
  (Vincent Ladeuil, #82693)
 
70
 
 
71
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
72
  hooks on ``Branch`` if they are not specified on the command line.
 
73
  (Jelmer Vernooij)
 
74
 
39
75
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
40
76
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
41
77
  as resolved is still accessible via the ``--done`` default action.
42
78
  (Vincent Ladeuil)
43
79
 
 
80
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
81
  (Aaron Bentley, Jonathan Lange)
 
82
 
44
83
Bug Fixes
45
84
*********
46
85
 
47
86
* Added docstring for ``Tree.iter_changes``
48
87
  (John Arbash Meinel, #304182)
49
88
 
 
89
* Allow additional arguments to
 
90
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
91
 
50
92
* Allow exporting a single file using ``bzr export``.
51
93
  (Michal Junák, #511987)
52
94
 
 
95
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
96
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
97
  IO, which are often poorly handled by Python's libraries and parts of
 
98
  bzrlib.  (Andrew Bennetts, #496813)
 
99
 
53
100
* Avoid infinite recursion when probing for apport.
54
101
  (Vincent Ladeuil, #516934)
55
102
 
56
103
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
57
104
  (Martin Pool, #331095)
58
105
 
 
106
* Avoid truncating svn URLs.
 
107
  (Martin Pool, Martin von Gagern, #545185)
 
108
 
59
109
* ``bzr add`` will not add conflict related files unless explicitly required.
60
110
  (Vincent Ladeuil, #322767, #414589)
61
111
 
 
112
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
113
  indices do not have reference lists, so ``dump-btree`` will simply show
 
114
  ``None`` instead.  (Andrew Bennetts, #488607)
 
115
 
 
116
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
117
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
118
  did you mean log?') when getting help. In future we may trigger the hook 
 
119
  deliberately when no help topics match from any help index.
 
120
  (Robert Collins, #396261)
 
121
 
 
122
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
123
  revspec as representing the first revision of the branch.
 
124
  (Vincent Ladeuil, #519862)
 
125
 
62
126
* ``bzr remove-tree`` can now remove multiple working trees.
63
127
  (Jared Hance, Andrew Bennetts, #253137)
64
128
 
 
129
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
130
  the kept file on content conflicts where one side deleted the file.
 
131
  (Vincent Ladeuil, #529968)
 
132
 
 
133
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
134
  permissions as ``.bzr`` directory on a POSIX OS.
 
135
  (Parth Malwankar, #262450)
 
136
 
 
137
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
138
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
139
  ``add``.
 
140
  (Parth Malwankar, #335033, #300001)
 
141
 
 
142
* Cope with non-utf8 characters inside ``.bzrignore``.
 
143
  (Jason Spashett, #183504)
 
144
 
 
145
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
146
  ftp servers while trying to take a lock.
 
147
  (Martin Pool, #528722)
 
148
 
 
149
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
150
  changes occured between the workingtree and one of its parents.
 
151
  (Vincent Ladeuil, #535547)
 
152
 
 
153
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
154
  (Vincent Ladeuil, #476293)
 
155
 
 
156
* Many IO operations that returned ``EINTR`` were retried even if it
 
157
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
158
  only retries operations that are safe to retry, and in some cases has
 
159
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
160
  ``sock.sendall``).
 
161
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
162
 
 
163
* Path conflicts now support --take-this and --take-other even when a
 
164
  deletion is involved.
 
165
  (Vincent Ladeuil, #531967)
 
166
 
65
167
* Network transfer amounts and rates are now displayed in SI units according
66
168
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
67
169
  (Gordon Tyler, #514399)
70
172
  prevents ``bzr status --short`` from crashing when those files are
71
173
  present.  (John Arbash Meinel, #303275)
72
174
 
 
175
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
176
   directory. (Parth Malwankar, #138600)
 
177
 
 
178
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
179
  the debugger won't kill the session.
 
180
  (Martin <gzlist@googlemail.com>, #162502)
 
181
 
 
182
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
183
  (Toshio Kuratomi, Martin Pool, #502076)
 
184
 
 
185
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
186
  group ownership from the containing directory. This allow bzr to work
 
187
  better with sudo.
 
188
  (Parth Malwankar, #376388)
 
189
 
73
190
API Changes
74
191
***********
75
192
 
 
193
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
194
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
195
  (Jelmer Vernooij)
 
196
 
 
197
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
198
  branch to create. (Jelmer Vernooij)
 
199
 
 
200
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
201
  colocated branch to open. (Jelmer Vernooij)
 
202
 
 
203
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
204
  can set a signal handler and call ``signal.siginterrupt(signum,
 
205
  False)`` for it, if the platform and Python version supports it.
 
206
  (Andrew Bennetts, #496813)
 
207
 
76
208
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
77
209
  run when starting up; it sets up several things that previously needed
78
210
  to be done separately.
79
211
  (Martin Pool, #507710)
80
212
 
 
213
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
214
  timestamp of the commit in which a file revision was introduced.
 
215
  (Jelmer Vernooij)
 
216
 
 
217
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
218
  present in a control directory. (Jelmer Vernooij)
 
219
 
 
220
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
221
  (Neil Santos)
 
222
 
81
223
* Remove unused ``CommandFailed`` exception.
82
224
  (Martin Pool)
83
225
 
 
226
Internals
 
227
*********
 
228
 
 
229
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
230
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
231
 
 
232
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
233
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
234
  of date. (Gary van der Merwe)
 
235
 
 
236
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
237
  functions to load or disable plugins if they wish to use a different
 
238
  plugin mechanism; the --help, --version and no-command name code paths
 
239
  now use the generic pluggable command lookup infrastructure.
 
240
  (Robert Collins)
 
241
 
 
242
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
243
  which can be set to add extra help to the error. (Gary van der Merwe)
 
244
 
 
245
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
246
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
247
 
 
248
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
249
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
250
  (Jelmer Vernooij)
 
251
 
84
252
Testing
85
253
*******
86
254
 
87
 
* New `bzrlib.tests.test_import_tariff` can make assertions about what
 
255
* bzr now has a ``.testr.conf`` file in its source tree configured
 
256
  appropriately for running tests with Testrepository
 
257
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
258
 
 
259
* Documentation about testing with ``subunit`` has been tweaked.
 
260
  (Robert Collins)
 
261
 
 
262
* Known failures has been added for resolve --take-other on ParentLoop
 
263
  conflicts. This reflects bug #537956 without fixing it.
 
264
  (Vincent Ladeuil)
 
265
 
 
266
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
88
267
  Python modules are loaded, to guard against startup time or library
89
268
  dependency regressions.
90
269
  (Martin Pool)
92
271
* Stop sending apport crash files to ``.cache`` in the directory from
93
272
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
94
273
 
 
274
* Tests no longer fail if "close() called during concurrent
 
275
  operation on the same file object" occurs when closing the log file
 
276
  (which can happen if a thread tries to write to the log file at the
 
277
  wrong moment).  An warning will be written to ``stderr`` when this
 
278
  happens, and another warning will be written if the log file could not
 
279
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
280
 
 
281
bzr 2.1.1
 
282
#########
 
283
 
 
284
:2.1.1: 2010-03-24
 
285
 
 
286
This is a small bugfix release.  Upgrading is recommended for anyone
 
287
running 2.1.0 or earlier.
 
288
 
 
289
Bug Fixes
 
290
*********
 
291
 
 
292
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
293
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
294
  IO, which are often poorly handled by Python's libraries and parts of
 
295
  bzrlib.  (Andrew Bennetts, #496813)
 
296
 
 
297
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
298
  (Martin Pool, #331095)
 
299
 
 
300
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
301
 
 
302
* Fix stub sftp test server to call os.getcwdu().
 
303
  (Vincent Ladeuil, #526221, #526353)
 
304
 
 
305
* Fixed CHM generation by moving the NEWS section template into
 
306
  a separate file. (Ian Clatworthy, #524184)
 
307
 
 
308
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
309
 
 
310
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
311
  problems importing bzrlib from a non-main thread.
 
312
  (Elliot Murphy, #521989)
 
313
 
 
314
* Standardize the error handling when creating a new ``StaticTuple``
 
315
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
316
 
 
317
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
318
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
319
  (John Arbash Meinel, #449776)
 
320
 
 
321
Documentation
 
322
*************
 
323
 
 
324
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
325
 
 
326
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
327
 
 
328
* Drop Google Analytics from the core docs as they caused problems
 
329
  in the CHM files. (Ian Clatworthy, #502010)
 
330
 
 
331
API Changes
 
332
***********
 
333
 
 
334
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
335
  can set a signal handler and call ``signal.siginterrupt(signum,
 
336
  False)`` for it, if the platform and Python version supports it.
 
337
  (Andrew Bennetts, #496813)
 
338
 
 
339
 
95
340
bzr 2.1.0
96
341
#########
97
342
 
124
369
  when it encounters conflicts.  
125
370
  (Gerard Krol, #113809)
126
371
 
127
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
128
 
  (Vincent Ladeuil, #476293)
129
 
 
130
372
* Give a better error message when doing ``bzr bind`` in an already bound
131
373
  branch.  (Neil Martinsen-Burrell, #513063)
132
374
 
449
691
  (Martin Pool)
450
692
 
451
693
 
452
 
bzr 2.0.5 (not released yet)
453
 
############################
 
694
bzr 2.0.5
 
695
#########
454
696
 
455
697
:Codename:
456
 
:2.0.5:
 
698
:2.0.5: NOT RELEASED YET
457
699
 
458
700
Bug Fixes
459
701
*********
460
702
 
 
703
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
704
  (Martin Pool, #331095)
 
705
 
 
706
* Concurrent autopacking is more resilient to already-renamed pack files.
 
707
  If we find that a file we are about to obsolete is already obsoleted, we
 
708
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
709
  The code is also fault tolerant if a file goes missing, assuming that
 
710
  another process already removed the file.
 
711
  (John Arbash Meinel, Gareth White, #507557)
 
712
 
 
713
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
714
  happen fairly often if the process is suddenly interrupted while taking
 
715
  a lock.
 
716
  (Martin Pool, #185103)
 
717
 
 
718
* Give the warning about potentially slow cross-format fetches much
 
719
  earlier on in the fetch operation.  Don't show this message during
 
720
  upgrades, and show the correct format indication for remote
 
721
  repositories.
 
722
  (Martin Pool, #456077, #515356, #513157)
 
723
 
461
724
* Handle renames correctly when there are files or directories that 
462
725
  differ only in case.  (Chris Jones, Martin Pool, #368931)
463
726
 
 
727
* Fixed CHM generation by moving the NEWS section template into
 
728
  a separate file. (Ian Clatworthy, #524184)
 
729
 
464
730
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
465
731
  error, report that error rather than failing with an unhelpful
466
732
  ``UnboundLocalError``.
467
733
  (Andrew Bennetts, #423563)
468
734
 
 
735
* Running ``bzr`` command without any arguments now shows bzr
 
736
  version number along with rest of the help text.
 
737
  (Parth Malwankar, #369501)
 
738
 
 
739
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
740
  errors.
 
741
  (Inada Naoki, #524560)
 
742
 
469
743
Documentation
470
744
*************
471
745
 
11952
12226
  diff, status, etc.
11953
12227
 
11954
12228
 
11955
 
bzr ?.?.? (not released yet)
11956
 
############################
11957
 
 
11958
 
:Codename: template
11959
 
:2.0.2: ???
11960
 
 
11961
 
Compatibility Breaks
11962
 
********************
11963
 
 
11964
 
New Features
11965
 
************
11966
 
 
11967
 
Bug Fixes
11968
 
*********
11969
 
 
11970
 
Improvements
11971
 
************
11972
 
 
11973
 
Documentation
11974
 
*************
11975
 
 
11976
 
API Changes
11977
 
***********
11978
 
 
11979
 
Internals
11980
 
*********
11981
 
 
11982
 
Testing
11983
 
*******
11984
 
 
11985
 
 
11986
 
 
11987
12229
..
11988
12230
   vim: tw=74 ft=rst ff=unix encoding=utf-8