/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

merge diff header work from my 2.1 branch

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
 
 
67
* Alias information shown by ``bzr help`` is now accurate. This
 
68
  was showing an internal object name for some plugin aliases.
 
69
  (Parth Malwankar, #584650)
 
70
 
36
71
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
72
  group ownership from the containing directory. This allow bzr to work
38
73
  better with sudo.
39
74
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
75
 
 
76
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
77
  support of bzr-externals and scmproj plugins.
 
78
  (Alexander Belchenko, bug #572098)
 
79
 
 
80
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
81
  (Gordon Tyler, #572092)
 
82
 
41
83
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
84
  are part of Y ancestry but not part of X ancestry (aka the graph
43
85
  difference).
44
86
  (Vincent Ladeuil, #320119)
45
87
 
 
88
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
89
  servers a few commits ago has been reverted to use edge: there is a
 
90
  problem with using production which isn't trivially obvious, so we've
 
91
  filed a bug to track it, and until thats fixed will be using edge.
 
92
  (Robert Collins, #583667)
 
93
 
 
94
* ``bzr rm`` should not refuse to delete directories which contained a file
 
95
  which has been moved elsewhere in the tree after the previous commit.
 
96
  (Marius Kruger, Daniel Watkins, #129880)
 
97
 
46
98
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
99
  (Vincent Ladeuil, #566670)
48
100
 
49
101
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
102
  (Vincent Ladeuil, #563997)
51
103
 
 
104
* CommitBuilder refuses to create revisions whose trees have no root.
 
105
  (Aaron Bentley)
 
106
 
52
107
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
108
  (Vincent Ladeuil, #401599)
54
109
 
56
111
  versions before 1.6.
57
112
  (Andrew Bennetts, #528041)
58
113
 
 
114
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
115
  estimate of the number of records to be fetched vs actually fetched.
 
116
  (Parth Malwankar, #374740, #538868)
 
117
 
59
118
* Reduce peak memory by one copy of compressed text.
60
119
  (John Arbash Meinel, #566940)
61
120
 
 
121
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
122
  read lock, rather than causing an ``AttributeError``.
 
123
  (Andrew Bennetts, Данило Шеган, #582781)
 
124
 
 
125
* Selftest was failing with testtools 0.9.3, which caused an
 
126
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
127
  Error, breaking on of our test hygiene tests.
 
128
  (Robert Collins, Vincent Ladeuil).
 
129
 
 
130
* ``set_user_option`` with a dict on remote branches no longer fails with
 
131
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
132
  to support this efficiently.
 
133
  (Andrew Bennetts, #430382)
 
134
  
62
135
* Show the filenames when a file rename fails so that the error will be
63
136
  more comprehensible.
64
137
  (Martin Pool, #491763)
65
138
 
 
139
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
140
  (John Arbash Meinel, #582656)
 
141
 
 
142
* Unicode characters in aliases are now handled correctly and do not cause
 
143
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
144
 
 
145
* Unicode commit messages that are the same as a file name no longer cause
 
146
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
147
  messages.
 
148
  (Parth Malwankar, #563646)
 
149
 
 
150
* Using bzr with `lp:` urls behind an http proxy should work.
 
151
  (Robert Collins, #558343)
 
152
 
 
153
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
154
  directory file handle after the chdir fails. Otherwise when passing many
 
155
  filenames into a command line ``bzr status`` we would leak descriptors.
 
156
  (John Arbash Meinel, #583486)
 
157
 
66
158
Improvements
67
159
************
68
160
 
74
166
  (case-sensitive) as false.
75
167
  (Brian de Alwis, Vincent Ladeuil)
76
168
 
 
169
* ``bzr ls`` now supports short options for existing long options.
 
170
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
171
  (Parth Malwankar, #181124)
 
172
 
77
173
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
174
  be interpreted as a boolean.
79
175
  (Vincent Ladeuil)
96
192
  implementations.
97
193
  (Martin Pool)
98
194
 
 
195
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
196
  expected to return an object which can be used to unlock them. This reduces
 
197
  duplicate code when using cleanups. The previous 'tokens's returned by
 
198
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
199
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
200
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
201
 
 
202
* ``Repository.refresh_data`` may now be called in a write group on
 
203
  pack-based repositories.  Older repositories will still raise an error
 
204
  in this case.  Subclasses of ``Repository`` can still override
 
205
  ``Repository._refresh_data``, but are now responsible for raising
 
206
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
207
  ``refresh_data`` during a write group.
 
208
  (Andrew Bennetts, #574236)
 
209
 
99
210
Internals
100
211
*********
101
212
 
 
213
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
214
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
215
  potentially shave 5-10% time off during a large fetch. Related to bug
 
216
  #562666. (John Arbash Meinel)
 
217
 
 
218
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
219
  (Robert Collins)
 
220
 
102
221
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
222
  suboptimal network behaviour is noticed; instead it just mutters to the
104
223
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
230
  stripped, the prefix ``__doc__ =`` should now be used.
112
231
  (Martin <gzlist@googlemail.com>)
113
232
 
 
233
* No longer require zlib headers to build extensions, and remove the need
 
234
  for seperate copy of zlib library on windows.
 
235
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
236
 
114
237
Testing
115
238
*******
116
239
 
 
240
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
241
  our first in-tree matcher. See the module docstring for details.
 
242
  (Robert Collins)
 
243
 
117
244
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
245
   (Gordon Tyler, #551332)
119
246
 
121
248
  failures on Lucid, FreeBSD and gentoo.  
122
249
  (Vincent Ladeuil, #528436)
123
250
 
 
251
* New class ``ExecutableFeature`` for checking the availability of
 
252
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
253
  (Martin von Gagern)
 
254
 
124
255
bzr 2.2b2
125
256
#########
126
257
 
228
359
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
360
  ``get_trees_and_branches_to_diff_locked`` instead.
230
361
  (Andrew Bennetts)
 
362
 
 
363
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
364
  auto-determines branch nick if not supplied.  (Aaron Bentley)
231
365
  
232
366
Internals
233
367
*********
531
665
Bug Fixes
532
666
*********
533
667
 
 
668
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
669
  support of bzr-externals and scmproj plugins.
 
670
  (Alexander Belchenko, bug #572098)
 
671
 
534
672
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
673
  (Aaron Bentley, #559436)
536
674
 
544
682
  errors after two window resizes.
545
683
  (Andrew Bennetts)
546
684
 
 
685
* Reduce peak memory by one copy of compressed text.
 
686
  (John Arbash Meinel, #566940)
 
687
 
 
688
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
689
  (John Arbash Meinel, #582656)
 
690
 
 
691
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
692
  directory file handle after the chdir fails. Otherwise when passing many
 
693
  filenames into a command line ``bzr status`` we would leak descriptors.
 
694
  (John Arbash Meinel, #583486)
 
695
 
547
696
Internals
548
697
*********
549
698
 
993
1142
  permissions as ``.bzr`` directory on a POSIX OS.
994
1143
  (Parth Malwankar, #262450)
995
1144
 
 
1145
* Reduce peak memory by one copy of compressed text.
 
1146
  (John Arbash Meinel, #566940)
 
1147
 
996
1148
* Repositories accessed via a smart server now reject being stacked on a
997
1149
  repository in an incompatible format, as is the case when accessing them
998
1150
  via other methods.  This was causing fetches from those repositories via
999
1151
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1152
  (Andrew Bennetts, #562380)
1001
1153
 
 
1154
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1155
  error. This error was caused by 2.0 not being updated when upstream
 
1156
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1157
  ``done``. (Robert Collins, #571437)
 
1158
 
 
1159
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1160
  directory file handle after the chdir fails. Otherwise when passing many
 
1161
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1162
  (John Arbash Meinel, #583486)
 
1163
 
 
1164
 
1002
1165
bzr 2.0.5
1003
1166
#########
1004
1167