/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 NEWS

(spiv) Treat pywintypes.error as a user error as per OSError,
 rather than an internal error (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
Compatibility Breaks
14
14
********************
15
15
 
 
16
* An API break has been made to the lock_write method of ``Branch`` and
 
17
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
18
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
19
  changing the API in future easier and permits some cleaner calling code.
 
20
  The lock_read method has also changed from having no defined return
 
21
  value to returning ``LogicalLockResult`` objects.
 
22
  (Robert Collins)
 
23
 
 
24
* ``bzr`` does not try to guess the username as ``username@hostname``
 
25
  and requires it to be explictly set. This can be set using ``bzr
 
26
  whoami``.
 
27
  (Parth Malwankar, #549310)
 
28
 
 
29
* ``bzrlib.commands.Command`` will now raise ValueError during
 
30
  construction if there is no __doc__ set. (Robert Collins)
 
31
 
16
32
New Features
17
33
************
18
34
 
30
46
  pack operation.
31
47
  (Parth Malwankar, #304320)
32
48
 
 
49
* New command line option ``--authors`` to ``bzr log`` allows users to
 
50
  select which of the apparent authors and committer should be
 
51
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
52
 
 
53
* Support ``--directory`` option for a number of additional commands:
 
54
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
55
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
56
  re-sign, unbind, unknowns.
 
57
  (Martin von Gagern, #527878)
 
58
 
 
59
* The bash_completion plugin from the bzr-bash-completion project has
 
60
  been merged into the tree. It provides a bash-completion command and
 
61
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
62
  using the plugin. (Martin von Gagern, #560030)
 
63
 
33
64
Bug Fixes
34
65
*********
35
66
 
38
69
  better with sudo.
39
70
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
71
 
 
72
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
73
  support of bzr-externals and scmproj plugins.
 
74
  (Alexander Belchenko, bug #572098)
 
75
 
 
76
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
77
  (Gordon Tyler, #572092)
 
78
 
41
79
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
80
  are part of Y ancestry but not part of X ancestry (aka the graph
43
81
  difference).
44
82
  (Vincent Ladeuil, #320119)
45
83
 
 
84
* ``bzr rm`` should not refuse to delete directories which contained a file
 
85
  which has been moved elsewhere in the tree after the previous commit.
 
86
  (Marius Kruger, Daniel Watkins, #129880)
 
87
 
46
88
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
89
  (Vincent Ladeuil, #566670)
48
90
 
49
91
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
92
  (Vincent Ladeuil, #563997)
51
93
 
 
94
* CommitBuilder refuses to create revisions whose trees have no root.
 
95
  (Aaron Bentley)
 
96
 
52
97
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
98
  (Vincent Ladeuil, #401599)
54
99
 
56
101
  versions before 1.6.
57
102
  (Andrew Bennetts, #528041)
58
103
 
 
104
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
105
  estimate of the number of records to be fetched vs actually fetched.
 
106
  (Parth Malwankar, #374740, #538868)
 
107
 
59
108
* Reduce peak memory by one copy of compressed text.
60
109
  (John Arbash Meinel, #566940)
61
110
 
 
111
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
112
  read lock, rather than causing an ``AttributeError``.
 
113
  (Andrew Bennetts, Данило Шеган, #582781)
 
114
 
 
115
* Selftest was failing with testtools 0.9.3, which caused an
 
116
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
117
  Error, breaking on of our test hygiene tests.
 
118
  (Robert Collins, Vincent Ladeuil).
 
119
 
 
120
* ``set_user_option`` with a dict on remote branches no longer fails with
 
121
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
122
  to support this efficiently.
 
123
  (Andrew Bennetts, #430382)
 
124
  
62
125
* Show the filenames when a file rename fails so that the error will be
63
126
  more comprehensible.
64
127
  (Martin Pool, #491763)
65
128
 
 
129
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
130
  (John Arbash Meinel, #582656)
 
131
 
 
132
* Unicode characters in aliases are now handled correctly and do not cause
 
133
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
134
 
 
135
* Unicode commit messages that are the same as a file name no longer cause
 
136
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
137
  messages.
 
138
  (Parth Malwankar, #563646)
 
139
 
 
140
* Using bzr with `lp:` urls behind an http proxy should work.
 
141
  (Robert Collins, #558343)
 
142
 
 
143
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
144
  directory file handle after the chdir fails. Otherwise when passing many
 
145
  filenames into a command line ``bzr status`` we would leak descriptors.
 
146
  (John Arbash Meinel, #583486)
 
147
 
66
148
Improvements
67
149
************
68
150
 
74
156
  (case-sensitive) as false.
75
157
  (Brian de Alwis, Vincent Ladeuil)
76
158
 
 
159
* ``bzr ls`` now supports short options for existing long options.
 
160
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
161
  (Parth Malwankar, #181124)
 
162
 
77
163
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
164
  be interpreted as a boolean.
79
165
  (Vincent Ladeuil)
96
182
  implementations.
97
183
  (Martin Pool)
98
184
 
 
185
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
186
  expected to return an object which can be used to unlock them. This reduces
 
187
  duplicate code when using cleanups. The previous 'tokens's returned by
 
188
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
189
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
190
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
191
 
 
192
* ``Repository.refresh_data`` may now be called in a write group on
 
193
  pack-based repositories.  Older repositories will still raise an error
 
194
  in this case.  Subclasses of ``Repository`` can still override
 
195
  ``Repository._refresh_data``, but are now responsible for raising
 
196
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
197
  ``refresh_data`` during a write group.
 
198
  (Andrew Bennetts, #574236)
 
199
 
99
200
Internals
100
201
*********
101
202
 
 
203
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
204
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
205
  potentially shave 5-10% time off during a large fetch. Related to bug
 
206
  #562666. (John Arbash Meinel)
 
207
 
 
208
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
209
  (Robert Collins)
 
210
 
102
211
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
212
  suboptimal network behaviour is noticed; instead it just mutters to the
104
213
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
220
  stripped, the prefix ``__doc__ =`` should now be used.
112
221
  (Martin <gzlist@googlemail.com>)
113
222
 
 
223
* No longer require zlib headers to build extensions, and remove the need
 
224
  for seperate copy of zlib library on windows.
 
225
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
226
 
114
227
Testing
115
228
*******
116
229
 
 
230
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
231
  our first in-tree matcher. See the module docstring for details.
 
232
  (Robert Collins)
 
233
 
117
234
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
235
   (Gordon Tyler, #551332)
119
236
 
228
345
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
346
  ``get_trees_and_branches_to_diff_locked`` instead.
230
347
  (Andrew Bennetts)
 
348
 
 
349
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
350
  auto-determines branch nick if not supplied.  (Aaron Bentley)
231
351
  
232
352
Internals
233
353
*********
531
651
Bug Fixes
532
652
*********
533
653
 
 
654
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
655
  support of bzr-externals and scmproj plugins.
 
656
  (Alexander Belchenko, bug #572098)
 
657
 
534
658
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
659
  (Aaron Bentley, #559436)
536
660
 
544
668
  errors after two window resizes.
545
669
  (Andrew Bennetts)
546
670
 
 
671
* Reduce peak memory by one copy of compressed text.
 
672
  (John Arbash Meinel, #566940)
 
673
 
 
674
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
675
  (John Arbash Meinel, #582656)
 
676
 
 
677
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
678
  directory file handle after the chdir fails. Otherwise when passing many
 
679
  filenames into a command line ``bzr status`` we would leak descriptors.
 
680
  (John Arbash Meinel, #583486)
 
681
 
547
682
Internals
548
683
*********
549
684
 
993
1128
  permissions as ``.bzr`` directory on a POSIX OS.
994
1129
  (Parth Malwankar, #262450)
995
1130
 
 
1131
* Reduce peak memory by one copy of compressed text.
 
1132
  (John Arbash Meinel, #566940)
 
1133
 
996
1134
* Repositories accessed via a smart server now reject being stacked on a
997
1135
  repository in an incompatible format, as is the case when accessing them
998
1136
  via other methods.  This was causing fetches from those repositories via
999
1137
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1138
  (Andrew Bennetts, #562380)
1001
1139
 
 
1140
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1141
  error. This error was caused by 2.0 not being updated when upstream
 
1142
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1143
  ``done``. (Robert Collins, #571437)
 
1144
 
 
1145
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1146
  directory file handle after the chdir fails. Otherwise when passing many
 
1147
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1148
  (John Arbash Meinel, #583486)
 
1149
 
 
1150
 
1002
1151
bzr 2.0.5
1003
1152
#########
1004
1153