/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

  • Committer: Robert Collins
  • Date: 2010-05-21 07:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 5247.
  • Revision ID: robertc@robertcollins.net-20100521071713-2wx301fr3h205t4x
* ``bzr lp-propose`` which was switched to use production Launchpad API
  servers a few commits ago has been reverted to use edge: there is a
  problem with using production which isn't trivially obvious, so we've
  filed a bug to track it, and until thats fixed will be using edge.
  (Robert Collins, #583667)

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 lp-propose`` which was switched to use production Launchpad API
 
85
  servers a few commits ago has been reverted to use edge: there is a
 
86
  problem with using production which isn't trivially obvious, so we've
 
87
  filed a bug to track it, and until thats fixed will be using edge.
 
88
  (Robert Collins, #583667)
 
89
 
 
90
* ``bzr rm`` should not refuse to delete directories which contained a file
 
91
  which has been moved elsewhere in the tree after the previous commit.
 
92
  (Marius Kruger, Daniel Watkins, #129880)
 
93
 
46
94
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
95
  (Vincent Ladeuil, #566670)
48
96
 
49
97
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
98
  (Vincent Ladeuil, #563997)
51
99
 
 
100
* CommitBuilder refuses to create revisions whose trees have no root.
 
101
  (Aaron Bentley)
 
102
 
52
103
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
104
  (Vincent Ladeuil, #401599)
54
105
 
56
107
  versions before 1.6.
57
108
  (Andrew Bennetts, #528041)
58
109
 
 
110
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
111
  estimate of the number of records to be fetched vs actually fetched.
 
112
  (Parth Malwankar, #374740, #538868)
 
113
 
59
114
* Reduce peak memory by one copy of compressed text.
60
115
  (John Arbash Meinel, #566940)
61
116
 
 
117
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
118
  read lock, rather than causing an ``AttributeError``.
 
119
  (Andrew Bennetts, Данило Шеган, #582781)
 
120
 
 
121
* Selftest was failing with testtools 0.9.3, which caused an
 
122
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
123
  Error, breaking on of our test hygiene tests.
 
124
  (Robert Collins, Vincent Ladeuil).
 
125
 
 
126
* ``set_user_option`` with a dict on remote branches no longer fails with
 
127
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
128
  to support this efficiently.
 
129
  (Andrew Bennetts, #430382)
 
130
  
62
131
* Show the filenames when a file rename fails so that the error will be
63
132
  more comprehensible.
64
133
  (Martin Pool, #491763)
65
134
 
 
135
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
136
  (John Arbash Meinel, #582656)
 
137
 
 
138
* Unicode characters in aliases are now handled correctly and do not cause
 
139
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
140
 
 
141
* Unicode commit messages that are the same as a file name no longer cause
 
142
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
143
  messages.
 
144
  (Parth Malwankar, #563646)
 
145
 
 
146
* Using bzr with `lp:` urls behind an http proxy should work.
 
147
  (Robert Collins, #558343)
 
148
 
 
149
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
150
  directory file handle after the chdir fails. Otherwise when passing many
 
151
  filenames into a command line ``bzr status`` we would leak descriptors.
 
152
  (John Arbash Meinel, #583486)
 
153
 
66
154
Improvements
67
155
************
68
156
 
74
162
  (case-sensitive) as false.
75
163
  (Brian de Alwis, Vincent Ladeuil)
76
164
 
 
165
* ``bzr ls`` now supports short options for existing long options.
 
166
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
167
  (Parth Malwankar, #181124)
 
168
 
77
169
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
170
  be interpreted as a boolean.
79
171
  (Vincent Ladeuil)
96
188
  implementations.
97
189
  (Martin Pool)
98
190
 
 
191
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
192
  expected to return an object which can be used to unlock them. This reduces
 
193
  duplicate code when using cleanups. The previous 'tokens's returned by
 
194
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
195
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
196
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
197
 
 
198
* ``Repository.refresh_data`` may now be called in a write group on
 
199
  pack-based repositories.  Older repositories will still raise an error
 
200
  in this case.  Subclasses of ``Repository`` can still override
 
201
  ``Repository._refresh_data``, but are now responsible for raising
 
202
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
203
  ``refresh_data`` during a write group.
 
204
  (Andrew Bennetts, #574236)
 
205
 
99
206
Internals
100
207
*********
101
208
 
 
209
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
210
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
211
  potentially shave 5-10% time off during a large fetch. Related to bug
 
212
  #562666. (John Arbash Meinel)
 
213
 
 
214
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
215
  (Robert Collins)
 
216
 
102
217
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
218
  suboptimal network behaviour is noticed; instead it just mutters to the
104
219
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
226
  stripped, the prefix ``__doc__ =`` should now be used.
112
227
  (Martin <gzlist@googlemail.com>)
113
228
 
 
229
* No longer require zlib headers to build extensions, and remove the need
 
230
  for seperate copy of zlib library on windows.
 
231
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
232
 
114
233
Testing
115
234
*******
116
235
 
232
351
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
352
  ``get_trees_and_branches_to_diff_locked`` instead.
234
353
  (Andrew Bennetts)
 
354
 
 
355
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
356
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
357
  
236
358
Internals
237
359
*********
535
657
Bug Fixes
536
658
*********
537
659
 
 
660
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
661
  support of bzr-externals and scmproj plugins.
 
662
  (Alexander Belchenko, bug #572098)
 
663
 
538
664
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
665
  (Aaron Bentley, #559436)
540
666
 
548
674
  errors after two window resizes.
549
675
  (Andrew Bennetts)
550
676
 
 
677
* Reduce peak memory by one copy of compressed text.
 
678
  (John Arbash Meinel, #566940)
 
679
 
 
680
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
681
  (John Arbash Meinel, #582656)
 
682
 
 
683
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
684
  directory file handle after the chdir fails. Otherwise when passing many
 
685
  filenames into a command line ``bzr status`` we would leak descriptors.
 
686
  (John Arbash Meinel, #583486)
 
687
 
551
688
Internals
552
689
*********
553
690
 
997
1134
  permissions as ``.bzr`` directory on a POSIX OS.
998
1135
  (Parth Malwankar, #262450)
999
1136
 
 
1137
* Reduce peak memory by one copy of compressed text.
 
1138
  (John Arbash Meinel, #566940)
 
1139
 
1000
1140
* Repositories accessed via a smart server now reject being stacked on a
1001
1141
  repository in an incompatible format, as is the case when accessing them
1002
1142
  via other methods.  This was causing fetches from those repositories via
1003
1143
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1144
  (Andrew Bennetts, #562380)
1005
1145
 
 
1146
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1147
  error. This error was caused by 2.0 not being updated when upstream
 
1148
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1149
  ``done``. (Robert Collins, #571437)
 
1150
 
 
1151
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1152
  directory file handle after the chdir fails. Otherwise when passing many
 
1153
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1154
  (John Arbash Meinel, #583486)
 
1155
 
 
1156
 
1006
1157
bzr 2.0.5
1007
1158
#########
1008
1159