~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Andrew Bennetts
  • Date: 2010-01-12 03:53:21 UTC
  • mfrom: (4948 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4964.
  • Revision ID: andrew.bennetts@canonical.com-20100112035321-hofpz5p10224ryj3
Merge lp:bzr, resolving conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--------------------
 
1
####################
2
2
Bazaar Release Notes
3
 
--------------------
4
 
 
5
 
.. contents::
6
 
 
7
 
IN DEVELOPMENT
8
 
--------------
9
 
 
10
 
  COMPATIBILITY BREAKS:
11
 
 
12
 
    * By default, ``bzr status`` after a merge now shows just the pending
13
 
      merge tip revisions. This improves the signal-to-noise ratio after
14
 
      merging from trunk and completes much faster. To see all merged
15
 
      revisions, use the new ``-v`` flag.  (Ian Clatworthy)
16
 
 
17
 
    * ``bzr log --line`` now shows any tags after the date and before
18
 
      the commit message. If you have scripts which parse the output
19
 
      from this command, you may need to adjust them accordingly.
20
 
      (Ian Clatworthy)
21
 
 
22
 
    * ``bzr log --short`` now shows any additional revision properties
23
 
      after the date and before the commit message.  Scripts that parse 
24
 
      output of the log command in this situation may need to adjust.
25
 
      (Neil Martinsen-Burrell)
26
 
 
27
 
    * The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
28
 
      have been renamed ``development-wt5`` and ``development-wt5-rich-root``
29
 
      respectively, given they are not ready for release in 1.12.
30
 
      (Ian Clatworthy)
31
 
 
32
 
  NEW FEATURES:
33
 
 
34
 
    * Add support for filtering `bzr missing` on revisions.  Remote revisions
35
 
      can be filtered using `bzr missing -r -20..-10` and local revisions can
36
 
      be filtered using `bzr missing --my-revision -20..-10`.
37
 
      (Marius Kruger)
38
 
 
39
 
    * ``bzr log -p`` displays the patch diff for each revision.
40
 
      When logging a file, the diff only includes changes to that file.
41
 
      (Ian Clatworthy, #202331, #227335)
42
 
 
43
 
    * ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
44
 
      A value of 0 (zero) means "show all nested merge revisions" while
45
 
      a value of 1 (one) means "show just the top level". Values above
46
 
      1 can be used to see a limited amount of nesting. That can be
47
 
      useful for seeing the level or two below PQM submits for example.
48
 
      To force the ``--short`` and ``--line`` formats to display all nested
49
 
      merge revisions just like ``--long`` does by default, use a command
50
 
      like ``bzr log --short -n0``. To display just the mainline using
51
 
      ``--long`` format, ``bzr log --long -n1``.
52
 
      (Ian Clatworthy)
53
 
 
54
 
  IMPROVEMENTS:
55
 
 
56
 
    * ``bzr add`` more clearly communicates success vs failure.
57
 
      (Daniel Watkins)
58
 
 
59
 
    * ``bzr init`` will now print a little less verbose output.
60
 
      (Marius Kruger)
61
 
 
62
 
    * ``bzr log`` is now much faster in many use cases, particularly
63
 
      at incrementally displaying results and filtering by a
64
 
      revision range. (Ian Clatworthy)
65
 
 
66
 
    * ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
67
 
      for each revision. The tags are shown comma-separated inside
68
 
      ``{}``. For short format, the tags appear at the end of line
69
 
      before the optional ``[merge]`` indicator. For line format,
70
 
      the tags appear after the date. (Ian Clatworthy)
71
 
 
72
 
    * ``bzr switch`` now takes a ``--revision`` option, to allow switching to a
73
 
      specific revision of a branch. (Daniel Watkins, #183559)
74
 
 
75
 
    * Progress bars now show the rate of activity for some sftp 
76
 
      operations, and they are drawn different.  (Martin Pool, #172741)
77
 
 
78
 
    * Progress bars now show the rate of activity for urllib and pycurl based
79
 
      http client implementations. The operations are tracked at the socket
80
 
      level for better precision.
81
 
      (Vincent Ladeuil)
82
 
 
83
 
    * Rule-based preferences can now accept multiple patterns for a set of
84
 
      rules.  (Marius Kruger)
85
 
 
86
 
    * The ``ancestor:`` revision spec will now default to referring to the
87
 
      parent of the branch if no other location is given.
88
 
      (Daniel Watkins, #198417)
89
 
 
90
 
    * The debugger started as a result of setting ``$BZR_PDB`` works
91
 
      around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
92
 
      can cause truncated tracebacks in Python versions before 2.6.
93
 
      (Andrew Bennetts)
94
 
 
95
 
    * VirtualVersionedFiles now implements
96
 
      ``iter_lines_added_or_present_in_keys``. This allows the creation of 
97
 
      new branches based on stacked bzr-svn branches. (#311997)
98
 
 
99
 
  BUG FIXES:
100
 
 
101
 
    * ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
102
 
      anymore.
103
 
      (Anne Mohsen, Vincent Ladeuil, #314525)
104
 
 
105
 
    * ``bzr log FILE`` now correctly shows mainline revisions merging
106
 
      a change to FILE when the ``--short`` and ``--line`` log formats
107
 
      are used. (Ian Clatworthy, #317417)
108
 
 
109
 
    * ``bzr log -rX..Y FILE`` now shows the history of FILE provided
110
 
      it existed in Y or X, even if the file has since been deleted or
111
 
      renamed. If no range is given, the current/basis tree and
112
 
      initial tree are searched in that order. More generally, log
113
 
      now interprets filenames in their historical context.
114
 
      (Ian Clatworthy, #175520)
115
 
 
116
 
    * ``bzr status`` now reports nonexistent files and continues, then
117
 
       errors (with code 3) at the end.  (Karl Fogel, #306394)
118
 
 
119
 
    * Don't require the present compression base in knits to be the same
120
 
      when adding records in knits. (Jelmer Vernooij, #307394)
121
 
 
122
 
    * Fix a problem with CIFS client/server lag on Windows colliding with
123
 
      an invariant-per-process algorithm for generating AtomicFile names
124
 
      (Adrian Wilkins, #304023)
125
 
 
126
 
    * Many socket operations now handle EINTR by retrying the operation.
127
 
      Previously EINTR was treated as an unrecoverable failure.  There is
128
 
      a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
129
 
      (Andrew Bennetts)
130
 
 
131
 
    * Support symlinks with non-ascii characters in the symlink filename.
132
 
      (Jelmer Vernooij, #319323)
133
 
 
134
 
    * There was a bug in how we handled resolving when a file is deleted
135
 
      in one branch, and modified in the other. If there was a criss-cross
136
 
      merge, we would cause the deletion to conflict a second time.
137
 
      (Vincent Ladeuil, John Arbash Meinel)
138
 
 
139
 
    * There was another bug in how we chose the correct intermediate LCA in
140
 
      criss-cross merges leading to several kind of changes be incorrectly
141
 
      handled.
142
 
      (John Arbash Meinel, Vincent Ladeuil)
143
 
 
144
 
    * Unshelve now handles deleted paths without crashing. (Robert Collins)
145
 
 
146
 
  DOCUMENTATION:
147
 
 
148
 
    * Improved plugin developer documentation.  (Martin Pool)
149
 
 
150
 
  API CHANGES:
151
 
 
152
 
    * ``ProgressBarStack`` is deprecated; instead use
153
 
      ``ui_factory.nested_progress_bar`` to create new progress bars.
154
 
 
155
 
    * ForeignVcsMapping() now requires a ForeignVcs object as first
156
 
      argument. (Jelmer Vernooij)
157
 
 
158
 
    * ForeignVcsMapping.show_foreign_revid() has been moved to
159
 
      ForeignVcs. (Jelmer Vernooij)
160
 
 
161
 
    * Revision specifiers are now registered in
162
 
      ``bzrlib.revisionspec.revspec_registry``, and the old list of 
163
 
      revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
164
 
      deprecated. (Jelmer Vernooij, #321183)
165
 
 
166
 
    * The progress and UI classes have changed; the main APIs remain the
167
 
      same but code that provides a new UI or progress bar class may
168
 
      need to be updated.  (Martin Pool)
169
 
 
170
 
  TESTING:
171
 
 
172
 
  INTERNALS:
173
 
 
174
 
    * Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
175
 
      terminal. It is sometimes desirable do override this default by forcing
176
 
      bzr to use TextUIFactory. This can be achieved by setting the
177
 
      BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
178
 
      compile buffers, are such an example).
179
 
      (Vincent Ladeuil)
180
 
 
181
 
    * New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
182
 
      ``(revision_id, depth, revno, end_of_merge)`` tuples.
183
 
      (Ian Clatworthy)
184
 
 
185
 
    * New ``Branch.dotted_revno_to_revision_id()`` and
186
 
      ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
187
 
      efficient way of doing the mapping.
188
 
      (Ian Clatworthy)
189
 
 
190
 
    * Refactor cmd_serve so that it's a little easier to build commands that
191
 
      extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
192
 
 
193
 
    * ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
194
 
      formatters to retrict the output.
195
 
      (Vincent Ladeuil)
196
 
 
197
 
 
198
 
bzr 1.11 "Eyes up!" 2009-01-19
199
 
------------------------------
 
3
####################
 
4
 
 
5
.. contents:: List of Releases
 
6
   :depth: 1
 
7
 
 
8
bzr 2.1.0rc1 (not released yet)
 
9
###############################
 
10
 
 
11
:Codename: the 'new' stable
 
12
:2.1.0rc1: 2009-01-06 (expected)
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
* Add bug information to log output when available.
 
21
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
22
 
 
23
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
24
  a specific revision of a branch. (Daniel Watkins, #183559)
 
25
 
 
26
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
27
  change the revision of the working tree to any revision in the
 
28
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
29
  Martin Pool, #45719)
 
30
 
 
31
* ``-Dbytes`` can now be used to display the total number of bytes
 
32
  transferred for the current command. This information is always logged
 
33
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
34
 
 
35
* The ``suppress_warnings`` configuration option has been introduced and
 
36
  accept the ``format_deprecation`` value to disable the corresponding
 
37
  warning for repositories. It can be set to in either ``bazaar.conf``,
 
38
  ``locations.conf`` or ``branch.conf``.
 
39
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
40
 
 
41
 
 
42
Bug Fixes
 
43
*********
 
44
 
 
45
* ``bzr export dir`` now requests all file content as a record stream,
 
46
  rather than requsting the file content one file-at-a-time. This can make
 
47
  exporting over the network significantly faster (54min => 9min in one
 
48
  case). (John Arbash Meinel, #343218)
 
49
 
 
50
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
51
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
52
  free resources, and it should have been using ``__dealloc__``.
 
53
  This will likely have an impact on any other process that is serving for
 
54
  an extended period of time.  (John Arbash Meinel, #494406)
 
55
 
 
56
* ``bzr switch -b`` can now create branches that are located using directory
 
57
  services such as ``lp:``, even when the branch name doesn't contain a
 
58
  '/'.  (Neil Martinsen-Burrell, #495263)
 
59
 
 
60
* ``bzr unshelve`` has improved messages about what it is doing.
 
61
  (Neil Martinsen-Burrell, #496917)
 
62
 
 
63
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
64
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
65
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
66
 
 
67
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
68
  that caused some tests to fail when run in a non-default order.
 
69
  Probably no user impact.  (Martin Pool, #504102)
 
70
 
 
71
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
72
  (Vincent Ladeuil, #472161)
 
73
 
 
74
* Give a clearer message if the lockdir disappears after being apparently
 
75
  successfully taken.  (Martin Pool, #498378)
 
76
 
 
77
* Listen to the SIGWINCH signal to update the terminal width.
 
78
  (Vincent Ladeuil, #316357)
 
79
 
 
80
* The 2a format wasn't properly restarting autopacks when something
 
81
  changed underneath it (like another autopack). Now concurrent
 
82
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
83
 
 
84
* When operations update the working tree, all affected files should end
 
85
  up with the same mtime. (eg. when versioning a generated file, if you
 
86
  update the source and the generated file together, the generated file
 
87
  should appear up-to-date.)
 
88
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
89
 
 
90
Improvements
 
91
************
 
92
 
 
93
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
94
  All the builtin commands now use ``add_cleanup`` rather than
 
95
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
96
  robust.  (Andrew Bennetts)
 
97
 
 
98
* Push will now inform the user when they are trying to push to a foreign 
 
99
  VCS for which roundtripping is not supported, and will suggest them to 
 
100
  use dpush. (Jelmer Vernooij)
 
101
 
 
102
* The version of bzr being run is now written to the log file.
 
103
  (__monty__, #257170)
 
104
 
 
105
* Transport network activity indicator is shown more of the time when
 
106
  Bazaar is doing network IO.
 
107
  (Martin Pool)
 
108
 
 
109
Documentation
 
110
*************
 
111
 
 
112
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
113
  including discussions of installation, relevant plugins, security and 
 
114
  backup. (Neil Martinsen-Burrell)
 
115
 
 
116
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
117
  (Ian Clatworthy)
 
118
 
 
119
* The User Reference is now presented as a series of topics.
 
120
  Many of the included topics have link and format tweaks applied.
 
121
  (Ian Clatworthy)
 
122
 
 
123
API Changes
 
124
***********
 
125
 
 
126
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
127
  to be consistent with instances being lower case and classes being
 
128
  CamelCase. For the features that were more likely to be used, we added a
 
129
  deprecation thunk, but not all. (John Arbash Meinel)
 
130
 
 
131
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
132
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
133
 
 
134
* The Transport ``Server.tearDown`` method is now renamed to
 
135
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
136
  our normal naming pattern, and to avoid confusion with Python's
 
137
  ``TestCase.tearDown``.  (Martin Pool)
 
138
 
 
139
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
140
  parameter.
 
141
 
 
142
Internals
 
143
*********
 
144
 
 
145
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
146
  objects but passes str objects straight through. This is used for
 
147
  selftest but may be useful for diff and other operations that generate
 
148
  mixed output. (Robert Collins)
 
149
 
 
150
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
151
  plugins. (Jelmer Vernooij)
 
152
 
 
153
Testing
 
154
*******
 
155
 
 
156
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
157
  running all tests in the current module, once against a pure python
 
158
  implementation, and once against an extension (pyrex/C) implementation.
 
159
  It can be used to dramatically simplify the implementation of
 
160
  ``load_tests``.  (John Arbash Meinel)
 
161
 
 
162
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
163
  This permits features in testtools such as getUniqueInteger and
 
164
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
165
  newer is now a dependency to run bzr selftest. Running with versions of
 
166
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
167
  suite. (Robert Collins)
 
168
 
 
169
* The test progress bar no longer distinguishes tests that 'errored' from
 
170
  tests that 'failed' - they're all just failures.
 
171
  (Martin Pool)
 
172
 
 
173
bzr 2.0.4 (not released yet)
 
174
############################
 
175
 
 
176
:Codename:
 
177
:2.0.4: smooth sailing
 
178
 
 
179
Compatibility Breaks
 
180
********************
 
181
 
 
182
New Features
 
183
************
 
184
 
 
185
Bug Fixes
 
186
*********
 
187
 
 
188
* ``bzr export dir`` now requests all file content as a record stream,
 
189
  rather than requsting the file content one file-at-a-time. This can make
 
190
  exporting over the network significantly faster (54min => 9min in one
 
191
  case). (John Arbash Meinel, #343218)
 
192
 
 
193
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
194
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
195
  free resources, and it should have been using ``__dealloc__``.
 
196
  This will likely have an impact on any other process that is serving for
 
197
  an extended period of time.  (John Arbash Meinel, #494406)
 
198
 
 
199
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
200
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
201
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
202
 
 
203
* Give a clearer message if the lockdir disappears after being apparently
 
204
  successfully taken.  (Martin Pool, #498378)
 
205
 
 
206
* The 2a format wasn't properly restarting autopacks when something
 
207
  changed underneath it (like another autopack). Now concurrent
 
208
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
209
 
 
210
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
211
  the right time will get propagated, rather than silently failing to move
 
212
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
213
 
 
214
Improvements
 
215
************
 
216
 
 
217
Documentation
 
218
*************
 
219
 
 
220
API Changes
 
221
***********
 
222
 
 
223
Internals
 
224
*********
 
225
 
 
226
Testing
 
227
*******
 
228
 
 
229
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
230
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
231
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
232
  bug #495023. (John Arbash Meinel)
 
233
 
 
234
 
 
235
bzr 2.1.0b4
 
236
###########
 
237
 
 
238
:Codename: san francisco airport
 
239
:2.1.0b4: 2009-12-14
 
240
 
 
241
The fourth beta release in the 2.1 series brings with it a significant
 
242
number of bugfixes (~20). The test suite is once again (finally) "green"
 
243
on Windows, and should remain that way for future releases. There are a
 
244
few performance related updates (faster upgrade and log), and several UI
 
245
tweaks. There has also been a significant number of tweaks to the runtime
 
246
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
247
 
 
248
 
 
249
Compatibility Breaks
 
250
********************
 
251
 
 
252
* The BZR_SSH environmental variable may now be set to the path of a secure
 
253
  shell client. If currently set to the value ``ssh`` it will now guess the
 
254
  vendor of the program with that name, to restore the old behaviour that
 
255
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
256
  string. (Martin <gzlist@googlemail.com>, #176292)
 
257
 
 
258
New Features
 
259
************
 
260
 
 
261
* ``bzr commit`` now has a ``--commit-time`` option.
 
262
  (Alexander Sack, #459276)
 
263
 
 
264
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
265
  similarly to how it works on the client. (John Arbash Meinel)
 
266
 
 
267
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
268
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
269
 
 
270
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
271
  respect a given terminal width. This can be useful when output is
 
272
  redirected or in obscure cases where the default value is not
 
273
  appropriate. Pagers can use it to get a better control of the line
 
274
  lengths. 
 
275
  (Vincent Ladeuil)
 
276
 
 
277
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
278
  mirror of a local branch. This command will only function if launchpadlib
 
279
  is installed.
 
280
  (Jonathan Lange)
 
281
 
 
282
 
 
283
Bug Fixes
 
284
*********
 
285
 
 
286
* After renaming a file, the dirstate could accidentally reference
 
287
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
288
  source of some dirstate-related failures. (John Arbash Meinel)
 
289
 
 
290
* ``bzr commit`` now detects commit messages that looks like file names
 
291
  and issues a warning.
 
292
  (Gioele Barabucci, #73073)
 
293
 
 
294
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
 
295
 
 
296
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
297
  (#325618, #484109, Marius Kruger)
 
298
 
 
299
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
300
  files with conflicts (similar to ``--merge3``). The contents of the file
 
301
  is a synthesis of all bases used for the merge.
 
302
  (John Arbash Meinel, #40412)
 
303
 
 
304
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
305
 
 
306
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
307
  (Robert Collins, #84659)
 
308
 
 
309
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
310
 
 
311
* Fix bug with redirected URLs over authenticated HTTP.
 
312
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
313
 
 
314
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
315
 
 
316
* Lots of bugfixes for the test suite on Windows. We should once again
 
317
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
318
 
 
319
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
320
  variable but returns None if the terminal is not a tty (when output is
 
321
  redirected for example). Also fixes its usage under OSes that doesn't
 
322
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
323
  windows too.
 
324
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
325
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
326
 
 
327
* Terminate ssh subprocesses when no references to them remain, fixing
 
328
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
329
  
 
330
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
331
  works for 2a format trees.  Only files unaffected by content filters
 
332
  will be hardlinked.  (Andrew Bennetts, #408193)
 
333
 
 
334
* The new glob expansion on Windows would replace all ``\`` characters
 
335
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
336
  etc. Now only change slashes if there is something being glob expanded.
 
337
  (John Arbash Meinel, #485771)
 
338
 
 
339
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
340
  new rich-root heads. This can cut a conversion time in half (mysql from
 
341
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
342
 
 
343
* When launching a external diff tool via bzr diff --using, temporary files
 
344
  are no longer created, rather, the path to the file in the working tree is
 
345
  passed to the external diff tool. This allows the file to be edited if the
 
346
  diff tool provides for this. (Gary van der Merwe, #490738)
 
347
  
 
348
* The launchpad-open command can now be used from a subdirectory of a
 
349
  branch, not just from the root of the branch. 
 
350
  (Neil Martinsen-Burrell, #489102)
 
351
 
 
352
 
 
353
Improvements
 
354
************
 
355
 
 
356
* ``bzr log`` is now faster. (Ian Clatworthy)
 
357
 
 
358
* ``bzr update`` provides feedback on which branch it is up to date with.
 
359
  (Neil Martinsen-Burrell)
 
360
 
 
361
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
362
  For details see the xml8 patch and heads() improvements.
 
363
  (John Arbash Meinel)
 
364
 
 
365
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
366
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
367
  Hudson)
 
368
 
 
369
* The progress bar now shows only a spinner and per-operation counts,
 
370
  not an overall progress bar.  The previous bar was often not correlated
 
371
  with real overall operation progress, either because the operations take
 
372
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
373
  estimate how much work there was to do.  (Martin Pool)
 
374
 
 
375
Documentation
 
376
*************
 
377
 
 
378
* Lots of documentation tweaks for inline help topics and command help
 
379
  information.
 
380
 
 
381
API Changes
 
382
***********
 
383
 
 
384
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
385
 
 
386
* The Launchpad plugin now has a function ``login`` which will log in to
 
387
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
388
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
389
  (Jonathan Lange)
 
390
 
 
391
Internals
 
392
*********
 
393
 
 
394
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
395
  easier to handle what tests you want to run based on what modules can be
 
396
  imported. (Rather than lots of custom-implemented features that were
 
397
  basically copy-and-pasted.) (John Arbash Meinel)
 
398
 
 
399
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
400
  ``time.clock()`` when you want to do performance timing.
 
401
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
402
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
403
  (John Arbash Meinel)
 
404
 
 
405
* Several code paths that were calling ``Transport.get().read()`` have
 
406
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
407
  difference is that the latter will explicitly call ``file.close()``,
 
408
  rather than expecting the garbage collector to handle it. This helps
 
409
  with some race conditions on Windows during the test suite and sftp
 
410
  tests. (John Arbash Meinel)
 
411
 
 
412
Testing
 
413
*******
 
414
 
 
415
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
416
  unicode strings. (Michael Hudson, #464174)
 
417
 
 
418
 
 
419
bzr 2.0.3
 
420
#########
 
421
 
 
422
:Codename: little italy
 
423
:2.0.3: 2009-12-14
 
424
 
 
425
 
 
426
The third stable release of Bazaar has a small handful of bugfixes. As
 
427
expected, this has no internal or external compatibility changes versus
 
428
2.0.2 (or 2.0.0).
 
429
 
 
430
Bug Fixes
 
431
*********
 
432
 
 
433
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
434
  exists but contains an invalid ``.bzr`` directory.
 
435
  (Andrew Bennetts, #423563)
 
436
 
 
437
* Content filters are now applied correctly after pull, merge and switch.
 
438
  (Ian Clatworthy, #385879)
 
439
 
 
440
* Fix a potential segfault in the groupcompress hash map handling code.
 
441
  When inserting new entries, if the final hash bucket was empty, we could
 
442
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
443
  (John Arbash Meinel, #490228)
 
444
 
 
445
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
446
 
 
447
 
 
448
bzr 2.1.0b3
 
449
###########
 
450
 
 
451
:Codename: after sprint recovery
 
452
:2.1.0b3: 2009-11-16
 
453
 
 
454
This release was pushed up from its normal release cycle due to a
 
455
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
456
was caught before 2.1.0b2 was officially announced, the full changelog
 
457
includes both 2.1.0b3 and 2.1.0b2 changes.
 
458
 
 
459
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
460
the test suite now conforms to python's trunk enhanced semantics (skip,
 
461
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
462
formats for Remote objects.
 
463
 
 
464
 
 
465
New Features
 
466
************
 
467
 
 
468
* Users can define a shelve editor to provide shelf functionality at a
 
469
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
470
 
 
471
Bug Fixes
 
472
*********
 
473
 
 
474
* Fix for shell completion and short options.  (Benoît PIERRE)
 
475
 
 
476
* Hooks daughter classes should always call the base constructor.
 
477
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
478
 
 
479
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
480
 
 
481
* On Windows, do glob expansion at the command-line level (as is usually
 
482
  done in bash, etc.) This means that *all* commands get glob expansion
 
483
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
484
  parser, which allows us to know if a given section was quoted. It means
 
485
  you can now do ``bzr ignore "*.py"``.
 
486
  (John Arbash Meinel, #425510, #426410, #194450)
 
487
 
 
488
* Sanitize commit messages that come in from the '-m' flag. We translate
 
489
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
490
  allow those because XML store silently translate it anyway. (The parser
 
491
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
492
 
 
493
* Show correct branch and repository format descriptions in 
 
494
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
495
 
 
496
* The fix for bug #186920 accidentally broke compatibility with python
 
497
  2.4.  (Vincent Ladeuil, #475585)
 
498
 
 
499
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
500
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
501
  ``self.new_inventory`` to an Inventory instance after calling
 
502
  ``self.finish_inventory()``. (Previously it accidently set both values
 
503
  as a tuple on ``self.inv_sha1``. This was missed because
 
504
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
505
  the sha1 from the repo directly. (John Arbash Meinel)
 
506
 
 
507
* Shelve command refuse to run if there is no real terminal.
 
508
  (Alexander Belchenko)
 
509
 
 
510
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
511
  Python level.  (Martin Pool)
 
512
 
 
513
Documentation
 
514
*************
 
515
 
 
516
* Include Japanese translations for documentation (Inada Naoki)
 
517
 
 
518
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
519
  (rather than user-interaction) data to stdout.  This automatically
 
520
  coordinates with progress bars or other terminal activity, and can be
 
521
  overridden by GUIs.
 
522
  (Martin Pool, 493944)
 
523
 
 
524
Internals
 
525
*********
 
526
 
 
527
* Some of the core groupcompress functionality now releases the GIL before
 
528
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
529
  core compression and decompression routines. (John Arbash Meinel)
 
530
 
 
531
Testing
 
532
*******
 
533
 
 
534
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
535
  more debugging of VFS access triggers. (Robert Collins)
 
536
 
 
537
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
538
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
539
 
 
540
* ``--parallel=fork`` is now compatible with --subunit.
 
541
  (Robert Collins, Vincent Ladeuil, #419776)
 
542
 
 
543
* TestNotApplicable is now handled within the TestCase.run method rather
 
544
  than being looked for within ``ExtendedTestResult.addError``. This
 
545
  provides better handling with other ``TestResult`` objects, degrading to
 
546
  sucess rather than error. (Robert Collins)
 
547
 
 
548
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
549
  removed - it was empty and unused. (Robert Collins)
 
550
 
 
551
* UnavailableFeature is now handled within the TestCase.run method rather
 
552
  than being looked for within addError. If the Result object does not
 
553
  have an addNotSupported method, addSkip is attempted instead, and
 
554
  failing that addSuccess. (Robert Collins)
 
555
 
 
556
* When a TestResult does not have an addSkip method, skipped tests are now
 
557
  reported as successful tests, rather than as errors. This change is
 
558
  to make it possible to get a clean test run with a less capable
 
559
  TestResult. (Robert Collins)
 
560
 
 
561
 
 
562
 
 
563
bzr 2.1.0b2
 
564
###########
 
565
 
 
566
:Codename: a load off my mind
 
567
:2.1.0b2: 2009-11-02
 
568
 
 
569
This is our second feature-filled release since 2.0, pushing us down the
 
570
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
571
 
 
572
Key highlights in this release are: improved handling of
 
573
failures-during-cleanup for commit, fixing a long-standing bug with
 
574
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
575
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
576
memory consumption (50%) and garbage collector overhead (40% faster) for
 
577
many operations.
 
578
 
 
579
* A new ``--concurrency`` option has been added as well as an associated
 
580
  BZR_CONCURRENCY environment variable to specify the number of
 
581
  processes that can be run concurrently when running ``bzr selftest``. The
 
582
  command-line option overrides the environment variable if both are
 
583
  specified. If none is specified. the number of processes is obtained
 
584
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
585
 
 
586
Bug Fixes
 
587
*********
 
588
 
 
589
* ``bzr+http`` servers no longer give spurious jail break errors when
 
590
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
591
 
 
592
* Errors during commit are handled more robustly so that knock-on errors
 
593
  are less likely to occur, and will not obscure the original error if
 
594
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
595
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
596
 
 
597
* Launchpad urls can now be resolved from behind proxies.
 
598
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
599
 
 
600
* Reduce the strictness for StaticTuple, instead add a debug flag
 
601
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
602
  This way, most users won't see failures, but developers can improve
 
603
  internals. (John Arbash Meinel, #471193)
 
604
 
 
605
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
606
  files.  (Aaron Bentley)
 
607
 
 
608
* Unicode paths are now handled correctly and consistently by the smart
 
609
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
610
 
 
611
Improvements
 
612
************
 
613
 
 
614
* When reading index files, we now use a ``StaticTuple`` rather than a
 
615
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
616
  memory, and can give a performance boost up to 40% on large projects.
 
617
  (John Arbash Meinel)
 
618
 
 
619
* Peak memory under certain operations has been reduced significantly.
 
620
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
621
  (John Arbash Meinel)
 
622
 
 
623
Documentation
 
624
*************
 
625
 
 
626
* Filtered views user documentation upgraded to refer to format 2a
 
627
  instead of pre-2.0 formats. (Ian Clatworthy)
 
628
 
 
629
API Changes
 
630
***********
 
631
 
 
632
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
633
 
 
634
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
635
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
636
  (Martin Pool)
 
637
 
 
638
Internals
 
639
*********
 
640
 
 
641
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
642
  Dict (it only holds keys, but you can lookup the object located at a
 
643
  given key). It has significantly reduced memory consumption versus the
 
644
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
645
  used as the interning structure for StaticTuple objects.
 
646
  (John Arbash Meinel)
 
647
 
 
648
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
649
  the btree index parser and the chk map parser. This class functions
 
650
  similarly to ``tuple`` objects. However, it can only point to a limited
 
651
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
652
  int, long, float, but not subclasses).  This allows us to remove it from
 
653
  the garbage collector (it cannot be in a cycle), it also allows us to
 
654
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
655
  and significantly improve performance by removing objects from being
 
656
  inspected by the garbage collector.  (John Arbash Meinel)
 
657
 
 
658
* ``GroupCompressBlock._ensure_content()`` will now release the
 
659
  ``zlib.decompressobj()`` when the first request is for all of the
 
660
  content. (Previously it would only be released if you made a request for
 
661
  part of the content, and then all of it later.) This turns out to be a
 
662
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
663
  of internal state and buffers. (For branching bzr.dev this drops peak
 
664
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
665
 
 
666
* When streaming content between ``2a`` format repositories, we now clear
 
667
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
668
  start reading 'inventories', etc.) This can have a significant impact on
 
669
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
670
 
 
671
 
 
672
bzr 2.0.2
 
673
#########
 
674
 
 
675
:Codename: after the scare
 
676
:2.0.2: 2009-11-02
 
677
 
 
678
The second in our "let's keep the stable bugfixes flowing" series. As
 
679
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
680
changes or features.
 
681
 
 
682
Bug Fixes
 
683
*********
 
684
 
 
685
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
686
  from a directory while it's being read.  (Martin Pool, #446033)
 
687
 
 
688
* Content filters are now applied correctly after revert.
 
689
  (Ian Clatworthy)
 
690
 
 
691
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
692
 
 
693
* Fetching from stacked pre-2a repository via a smart server no longer
 
694
  fails intermittently with "second push failed to complete".
 
695
  (Andrew Bennetts, #437626)
 
696
 
 
697
* Fix typos left after test_selftest refactoring.
 
698
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
699
 
 
700
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
701
  (Andrew Bennetts, #445171)
 
702
  
 
703
* PreviewTree file names are not limited by the encoding of the temp
 
704
  directory's filesystem. (Aaron Bentley, #436794)
 
705
 
 
706
Improvements
 
707
************
 
708
 
 
709
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
710
  data caches.  (Andrew Bennetts)
 
711
 
 
712
Documentation
 
713
*************
 
714
 
 
715
* Filtered views user documentation upgraded to refer to format 2a
 
716
  instead of pre-2.0 formats. (Ian Clatworthy)
 
717
 
 
718
 
 
719
bzr 2.1.0b1
 
720
###########
 
721
 
 
722
:Codename: While the cat is away
 
723
:2.1.0b1: 2009-10-14
 
724
 
 
725
This is the first development release in the new split "stable" and
 
726
"development" series. As such, the release is a snapshot of bzr.dev
 
727
without creating a release candidate first. This release includes a
 
728
fair amount of internal changes, with deprecated code being removed,
 
729
and several new feature developments. People looking for a stable code
 
730
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
731
present in 2.0.1 are present in 2.1.0b1.
 
732
 
 
733
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
734
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
735
syntax, visible warnings when extension modules fail to load, and improved
 
736
error handling during unlocking.
 
737
 
 
738
 
 
739
New Features
 
740
************
 
741
 
 
742
* Bazaar can now send mail through Apple OS X Mail.app. 
 
743
  (Brian de Alwis)
 
744
 
 
745
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
746
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
747
  relative to the home directory of the user running the server, and paths
 
748
  starting with ``~user`` are relative to the home directory of the named
 
749
  user.  For example, for a user "bob" with a home directory of
 
750
  ``/home/bob``, these URLs are all equivalent:
 
751
 
 
752
  * ``bzr+ssh://bob@host/~/repo``
 
753
  * ``bzr+ssh://bob@host/~bob/repo``
 
754
  * ``bzr+ssh://bob@host/home/bob/repo``
 
755
 
 
756
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
757
  home directories outside that directory will be accessible via this
 
758
  method.
 
759
 
 
760
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
761
  automatically benefit from this feature when ``bzr`` on the server is
 
762
  upgraded.  (Andrew Bennetts, #109143)
 
763
 
 
764
* Extensions can now be compiled if either Cython or Pyrex is available.
 
765
  Currently Pyrex is preferred, but that may change in the future.
 
766
  (Arkanes)
 
767
 
 
768
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
769
  disable the user, site and core plugin directories.
 
770
  (Vincent Ladeuil, #412930, #316192, #145612)
 
771
 
 
772
Bug Fixes
 
773
*********
 
774
 
 
775
* Bazaar's native protocol code now correctly handles EINTR, which most
 
776
  noticeably occurs if you break in to the debugger while connected to a
 
777
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
778
  'c') and the process continues.  However, note that pressing C-\ in the
 
779
  shell may still kill the SSH process, which is bug 162509, so you must
 
780
  sent a signal to the bzr process specifically, for example by typing
 
781
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
782
 
 
783
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
784
  filename will issue a warning and skip over those files.
 
785
  (Robert Collins, #3918)
 
786
 
 
787
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
788
  are present in the working tree. The configuration option ``dpush_strict``
 
789
  can be used to set the default for this behavior.
 
790
  (Vincent Ladeuil, #438158)
 
791
 
 
792
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
793
  merges are present in the working tree.
 
794
  (Vincent Ladeuil, #426344)
 
795
 
 
796
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
797
  traceback.  (Martin Pool, #109115)
 
798
 
 
799
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
800
  as it is never built. (John Arbash Meinel, #430645)
 
801
 
 
802
* Don't restrict the command name used to run the test suite.
 
803
  (Vincent Ladeuil, #419950)
 
804
 
 
805
* ftp transports were built differently when the kerberos python module was
 
806
  present leading to obscure failures related to ASCII/BINARY modes.
 
807
  (Vincent Ladeuil, #443041)
 
808
 
 
809
* Network streams now decode adjacent records of the same type into a
 
810
  single stream, reducing layering churn. (Robert Collins)
 
811
 
 
812
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
813
  file. (Aaron Bentley, #251532)
 
814
 
 
815
* Registry objects should not use iteritems() when asked to use items().
 
816
  (Vincent Ladeuil, #430510)
 
817
 
 
818
* Weave based repositories couldn't be cloned when committers were using
 
819
  domains or user ids embedding '.sig'. Now they can.
 
820
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
821
 
 
822
Improvements
 
823
************
 
824
 
 
825
* Revision specifiers can now be given in a more DWIM form, without
 
826
  needing explicit prefixes for specifiers like tags or revision id's.
 
827
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
828
 
 
829
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
830
  compiled extensions can't be loaded.  This typically indicates a
 
831
  packaging or installation problem.  In this case Bazaar will keep
 
832
  running using pure-Python versions, but this may be substantially
 
833
  slower.  The warning can be disabled by setting
 
834
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
835
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
836
  (Martin Pool, #406113, #430529)
 
837
 
 
838
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
839
  no longer obscure the original error.  These methods now use a new
 
840
  decorator, ``only_raises``.  This fixes many causes of
 
841
  ``TooManyConcurrentRequests`` and similar errors.
 
842
  (Andrew Bennetts, #429747)
 
843
 
 
844
Documentation
 
845
*************
 
846
 
 
847
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
848
 
 
849
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
850
  currently supported. (Ian Clatworthy, #422415)
 
851
 
 
852
API Changes
 
853
***********
 
854
 
 
855
* ``bzrlib.user_encoding`` has been removed; use
 
856
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
857
 
 
858
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
859
  subclasses - the same as python's unittest module. (Robert Collins)
 
860
  
 
861
* ``diff._get_trees_to_diff`` has been renamed to 
 
862
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
863
  returns the old and new branches. (Gary van der Merwe)
 
864
 
 
865
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
866
  (Martin Pool)
 
867
 
 
868
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
869
  now defaults to comparing to the basis tree. It now checks for pending
 
870
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
871
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
872
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
873
  been deprecated.
 
874
  (Vincent Ladeuil, #440631)
 
875
 
 
876
* ``ProgressTask.note`` is deprecated.
 
877
  (Martin Pool)
 
878
 
 
879
Internals
 
880
*********
 
881
 
 
882
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
883
  repository or branch object is unlocked then relocked the same way.
 
884
  (Andrew Bennetts)
 
885
  
 
886
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
887
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
888
  This results in a 10% speedup while reading an index.
 
889
  (John Arbash Meinel)
 
890
 
 
891
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
892
  profiling in some situations like callbacks and generators easier.
 
893
  (Robert Collins)
 
894
 
 
895
Testing
 
896
*******
 
897
 
 
898
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
899
  be output for every test. Note that this is very verbose! (Robert Collins)
 
900
 
 
901
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
902
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
903
 
 
904
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
905
  documentation in ``developers/testing.txt`` for details.
 
906
  (Vincent Ladeuil)
 
907
 
 
908
* Some tests could end up with the same id, that was dormant for
 
909
  a long time.
 
910
  (Vincent Ladeuil, #442980)
 
911
 
 
912
* Stop showing the number of tests due to missing features in the test
 
913
  progress bar.  (Martin Pool)
 
914
 
 
915
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
916
  to be parameterised. This is not expected to break external use of test
 
917
  parameterisation, and is substantially faster. (Robert Collins)
 
918
 
 
919
* Tests that try to open a bzr dir on an arbitrary transport will now
 
920
  fail unless they have explicitly permitted the transport via
 
921
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
922
  will permit the urls they provide automatically, so only exceptional
 
923
  tests should need to do this. (Robert Collins)
 
924
 
 
925
* The break-in test no longer cares about clean shutdown of the child,
 
926
  instead it is happy if the debugger starts up. (Robert  Collins)
 
927
 
 
928
* The full test suite is expected to pass when the C extensions are not
 
929
  present. (Vincent Ladeuil, #430749)
 
930
 
 
931
 
 
932
bzr 2.0.1
 
933
#########
 
934
 
 
935
:Codename: Stability First
 
936
:2.0.1: 2009-10-14
 
937
 
 
938
The first of our new ongoing bugfix-only stable releases has arrived. It
 
939
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
940
include any of the feature development in the 2.1.0 series.
 
941
 
 
942
 
 
943
Bug Fixes
 
944
*********
 
945
 
 
946
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
947
  filename will issue a warning and skip over those files.
 
948
  (Robert Collins, #3918)
 
949
 
 
950
* bzr will attempt to authenticate with SSH servers that support
 
951
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
952
  Paramiko.   (Andrew Bennetts, #433846)
 
953
 
 
954
* Fixed fetches from a stacked branch on a smart server that were failing
 
955
  with some combinations of remote and local formats.  This was causing
 
956
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
957
 
 
958
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
959
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
960
 
 
961
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
962
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
963
  assumed that ``abspath()`` returned a path that did not have a trailing
 
964
  ``/``, but that is not true when working at the root of the filesystem.
 
965
  (John Arbash Meinel, Jason Spashett, #322807)
 
966
 
 
967
* Hide deprecation warnings for 'final' releases for python2.6.
 
968
  (John Arbash Meinel, #440062)
 
969
 
 
970
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
971
  We had been using the same code path as for <2a formats, which required
 
972
  iterating over all objects in all revisions.
 
973
  (John Arbash Meinel, #374730)
 
974
 
 
975
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
976
  object when doing a merge, and there is limbo, or pending-deletions
 
977
  directory.  (Gary van der Merwe, #427773)
 
978
 
 
979
* Occasional IndexError on renamed files have been fixed. Operations that
 
980
  set a full inventory in the working tree will now go via the
 
981
  apply_inventory_delta code path which is simpler and easier to
 
982
  understand than dirstates set_state_from_inventory method. This may
 
983
  have a small performance impact on operations built on _write_inventory,
 
984
  but such operations are already doing full tree scans, so no radical
 
985
  performance change should be observed. (Robert Collins, #403322)
 
986
 
 
987
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
988
  there are many changes.  (Aaron Bentley)
 
989
 
 
990
* The CHK index pages now use an unlimited cache size. With a limited
 
991
  cache and a large project, the random access of chk pages could cause us
 
992
  to download the entire cix file many times.
 
993
  (John Arbash Meinel, #402623)
 
994
 
 
995
* When a file kind becomes unversionable after being added, a sensible
 
996
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
997
 
 
998
Documentation
 
999
*************
 
1000
 
 
1001
* Improved README. (Ian Clatworthy)
 
1002
 
 
1003
* Improved upgrade documentation for Launchpad branches.
 
1004
  (Barry Warsaw)
 
1005
 
 
1006
 
 
1007
bzr 2.0.0
 
1008
#########
 
1009
 
 
1010
:2.0.0: 2009-09-22
 
1011
:Codename: Instant Karma
 
1012
 
 
1013
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
1014
the default when new branches or repositories are created.  This format is
 
1015
substantially smaller and faster for many operations.  Most of the work in
 
1016
this release focuses on bug fixes and stabilization, covering both 2a and
 
1017
previous formats.  (See the Upgrade Guide for information on migrating
 
1018
existing projects.)
 
1019
 
 
1020
This release also improves the documentation content and presentation,
 
1021
including adding Windows HtmlHelp manuals.
 
1022
 
 
1023
The Bazaar team decided that 2.0 will be a long-term supported release,
 
1024
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
1025
months or until the following stable release.
 
1026
 
 
1027
Changes from 2.0.0rc2 to final
 
1028
******************************
 
1029
 
 
1030
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
1031
  that "want to happen on the 2.0.x stable series" versus things that want
 
1032
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
1033
  micro = 0.) (John Arbash Meinel)
 
1034
 
 
1035
 
 
1036
bzr 2.0.0rc2
 
1037
############
 
1038
 
 
1039
:2.0.0rc2: 2009-09-10
 
1040
 
 
1041
New Features
 
1042
************
 
1043
 
 
1044
* Added post_commit hook for mutable trees. This allows the keywords
 
1045
  plugin to expand keywords on files changed by the commit.
 
1046
  (Ian Clatworthy, #408841)
 
1047
 
 
1048
Bug Fixes
 
1049
*********
 
1050
 
 
1051
* Bazaar's native protocol code now correctly handles EINTR, which most
 
1052
  noticeably occurs if you break in to the debugger while connected to a
 
1053
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
1054
  'c') and the process continues.  However, note that pressing C-\ in the
 
1055
  shell may still kill the SSH process, which is bug 162509, so you must
 
1056
  sent a signal to the bzr process specifically, for example by typing
 
1057
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
1058
 
 
1059
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
1060
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
1061
  (Robert Collins, #416732)
 
1062
 
 
1063
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
1064
  format" (John Arbash Meinel, #424392)
 
1065
 
 
1066
* ``bzr log stacked-branch`` shows the full log including
 
1067
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
1068
  (John Arbash Meinel, #419241)
 
1069
 
 
1070
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
1071
  traceback.  (Martin Pool, #109115)
 
1072
 
 
1073
* Conversion to 2a will create a single pack for all the new revisions (as
 
1074
  long as it ran without interruption). This improves both ``bzr upgrade``
 
1075
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
1076
  The autopack logic that occurs every 100 revisions during local
 
1077
  conversions was not returning that pack's identifier, which resulted in
 
1078
  the partial packs created during the conversion not being consolidated
 
1079
  at the end of the conversion process. (Robert Collins, #423818)
 
1080
 
 
1081
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
1082
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
1083
  This means that when the source is fully packed, there is minimal
 
1084
  overhead during the fetch, but if the source is poorly packed the result
 
1085
  is a fairly well packed repository (not as good as 'bzr pack' but
 
1086
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
1087
 
 
1088
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
1089
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
1090
  (John Arbash Meinel, #419241)
 
1091
 
 
1092
* ``groupcompress`` sort order is now more stable, rather than relying on
 
1093
  ``topo_sort`` ordering. The implementation is now
 
1094
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
1095
 
 
1096
* Local data conversion will generate correct deltas. This is a critical
 
1097
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
1098
  converting repositories. (Robert Collins, #422849)
 
1099
 
 
1100
* Network streams now decode adjacent records of the same type into a
 
1101
  single stream, reducing layering churn. (Robert Collins)
 
1102
 
 
1103
* Prevent some kinds of incomplete data from being committed to a 2a
 
1104
  repository, such as revisions without inventories, a missing chk_bytes
 
1105
  record for an inventory, or a missing text referenced by an inventory.
 
1106
  (Andrew Bennetts, #423506, #406687)
 
1107
  
 
1108
Documentation
 
1109
*************
 
1110
 
 
1111
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
1112
  older smart servers.
 
1113
  (Andrew Bennetts, #418931)
 
1114
 
 
1115
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
1116
  currently supported. (Ian Clatworthy, #422415)
 
1117
 
 
1118
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
1119
  user documentation. The HTML documentation is better broken up into
 
1120
  topics. (Ian Clatworthy)
 
1121
 
 
1122
* The developer and foreign language documents are now separated
 
1123
  out so that searching in the HTML and CHM files produces more
 
1124
  useful results. (Ian Clatworthy)
 
1125
 
 
1126
* The main table of contents now provides links to the new Migration Docs
 
1127
  and Plugins Guide. (Ian Clatworthy)
 
1128
 
 
1129
 
 
1130
bzr 2.0.0rc1
 
1131
############
 
1132
 
 
1133
:Codename: no worries
 
1134
:2.0.0rc1: 2009-08-26
 
1135
 
 
1136
Compatibility Breaks
 
1137
********************
 
1138
 
 
1139
* The default format for bzr is now ``2a``. This format brings many
 
1140
  significant performance and size improvements. bzr can pull from
 
1141
  any existing repository into a ``2a`` one, but can only transfer
 
1142
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
1143
  has more information about this change. (Robert Collins)
 
1144
 
 
1145
* On Windows auto-detection of Putty's plink.exe is disabled.
 
1146
  Default SSH client for Windows is paramiko. User still can force
 
1147
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
1148
  (#414743, Alexander Belchenko)
 
1149
 
 
1150
New Features
 
1151
************
 
1152
 
 
1153
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
1154
  to the newly created branch. (Lukáš Lalinský)
 
1155
 
 
1156
Bug Fixes
 
1157
*********
 
1158
 
 
1159
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
1160
  (Jason Spashett, #76616)
 
1161
 
 
1162
* Fetches were being requested in 'groupcompress' order, but weren't
 
1163
  recombining the groups. Thus they would 'fragment' to get the correct
 
1164
  order, but not 'recombine' to actually benefit from it. Until we get
 
1165
  recombining to work, switching to 'unordered' fetches avoids the
 
1166
  fragmentation. (John Arbash Meinel, #402645)
 
1167
 
 
1168
* Fix a pycurl related test failure on karmic by recognizing an error
 
1169
  raised by newer versions of pycurl.
 
1170
  (Vincent Ladeuil, #306264)
 
1171
 
 
1172
* Fix a test failure on karmic by making a locale test more robust.
 
1173
  (Vincent Ladeuil, #413514)
 
1174
 
 
1175
* Fix IndexError printing CannotBindAddress errors.
 
1176
  (Martin Pool, #286871)
 
1177
 
 
1178
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
1179
  or when doing fetches from a stacked source to a stacked target.
 
1180
  (Andrew Bennetts, #399140)
 
1181
 
 
1182
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
1183
  batches together small fetches from 2a repositories, rather than
 
1184
  fetching only a few hundred bytes at a time.
 
1185
  (Andrew Bennetts, #402657)
 
1186
 
 
1187
Improvements
 
1188
************
 
1189
 
 
1190
* A better description of the platform is shown in crash tracebacks, ``bzr
 
1191
  --version`` and ``bzr selftest``.
 
1192
  (Martin Pool, #409137)
 
1193
 
 
1194
* bzr can now (again) capture crash data through the apport library, 
 
1195
  so that a single human-readable file can be attached to bug reports.
 
1196
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
1197
  putting ``no_apport`` into the ``debug_flags`` section of
 
1198
  ``bazaar.conf``.
 
1199
  (Martin Pool, Robert Collins, #389328)
 
1200
 
 
1201
* ``bzr push`` locally on windows will no longer give a locking error with
 
1202
  dirstate based formats. (Robert Collins)
 
1203
 
 
1204
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
1205
  (Robert Collins, #305006)
 
1206
 
 
1207
* Commit of specific files no longer prevents using the iter_changes
 
1208
  codepath. On 2a repositories, commit of specific files should now be as
 
1209
  fast, or slightly faster, than a full commit. (Robert Collins)
 
1210
 
 
1211
* The internal core code that handles specific file operations like
 
1212
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
1213
  include the parent directories if they have altered, and when a
 
1214
  directory stops being a directory its children are always included. This
 
1215
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
1216
  faster commit of specific paths. (Robert Collins, #347649)
 
1217
 
 
1218
Documentation
 
1219
*************
 
1220
 
 
1221
* New developer documentation for content filtering.
 
1222
  (Martin Pool)
 
1223
 
 
1224
API Changes
 
1225
***********
 
1226
 
 
1227
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
1228
  classes changed to manage lock lifetime of the trees they open in a way
 
1229
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
1230
 
 
1231
Testing
 
1232
*******
 
1233
 
 
1234
bzr 1.18.1
 
1235
##########
 
1236
 
 
1237
:Codename:     nein nein nein!
 
1238
:1.18.1:       2009-09-09
 
1239
 
 
1240
This release fixes two small but worthwhile bugs relevant to users on
 
1241
Microsoft Windows: some commands that failed on with locking errors will
 
1242
now work, and a bug that caused poor performance after committing a file
 
1243
with line-ending conversion has now been fixed.  It also fixes a bug in
 
1244
pushing to older servers.
 
1245
 
 
1246
Bug Fixes
 
1247
*********
 
1248
 
 
1249
* Fixed a problem where using content filtering and especially end-of-line
 
1250
  conversion will commit too many copies a file.
 
1251
  (Martin Pool, #415508)
 
1252
 
 
1253
* Fix assertion error about ``_remember_remote_is_before`` in
 
1254
  ``set_tags_bytes`` when pushing to older smart servers.  
 
1255
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
1256
 
 
1257
Improvements
 
1258
************
 
1259
 
 
1260
* ``bzr push`` locally on Windows will no longer give a locking error with
 
1261
  dirstate based formats. (Robert Collins)
 
1262
 
 
1263
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
1264
  (Robert Collins, #305006)
 
1265
 
 
1266
API Changes
 
1267
***********
 
1268
 
 
1269
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
1270
  classes changed to manage lock lifetime of the trees they open in a way
 
1271
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
1272
 
 
1273
* ``Tree.path_content_summary`` may return a size of None, when called on
 
1274
  a tree with content filtering where the size of the canonical form
 
1275
  cannot be cheaply determined.  (Martin Pool)
 
1276
 
 
1277
* When manually creating transport servers in test cases, a new helper
 
1278
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
1279
  should be used. (Robert Collins)
 
1280
 
 
1281
bzr 1.18
 
1282
########
 
1283
 
 
1284
Compatibility Breaks
 
1285
********************
 
1286
 
 
1287
* Committing directly to a stacked branch from a lightweight checkout will
 
1288
  no longer work. In previous versions this would appear to work but would
 
1289
  generate repositories with insufficient data to create deltas, leading
 
1290
  to later errors when branching or reading from the repository.
 
1291
  (Robert Collins, bug #375013)
 
1292
 
 
1293
New Features
 
1294
************
 
1295
 
 
1296
Bug Fixes
 
1297
*********
 
1298
 
 
1299
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
1300
  copy the internal inventory pages from the CHK store. This cannot happen
 
1301
  in normal use as all 2a compatible clients and servers support the
 
1302
  version-3 protocol, but it does cause test suite failures when testing
 
1303
  downlevel protocol behaviour. (Robert Collins)
 
1304
 
 
1305
* Fix a test failure on karmic by making a locale test more robust.
 
1306
  (Vincent Ladeuil, #413514)
 
1307
 
 
1308
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
1309
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
1310
 
 
1311
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
1312
  (Jason Spashett, #76616)
 
1313
 
 
1314
* Properly handle fetching into a stacked branch while converting the
 
1315
  data, especially when there are also ghosts. The code was filling in
 
1316
  parent inventories incorrectly, and also not handling when one of the
 
1317
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
1318
 
 
1319
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
1320
  inventory pages when appropriate (by falling back to the vfs stream
 
1321
  source).  (Andrew Bennetts, #406686)
 
1322
 
 
1323
* StreamSource generates rich roots from non-rich root sources correctly
 
1324
  now.  (Andrew Bennetts, #368921)
 
1325
 
 
1326
* When deciding whether a repository was compatible for upgrading or
 
1327
  fetching, we previously incorrectly checked the default repository
 
1328
  format for the bzrdir format, rather than the format that was actually
 
1329
  present on disk.  (Martin Pool, #408824)
 
1330
 
 
1331
Improvements
 
1332
************
 
1333
 
 
1334
* A better description of the platform is shown in crash tracebacks, ``bzr
 
1335
  --version`` and ``bzr selftest``.
 
1336
  (Martin Pool, #409137)
 
1337
 
 
1338
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
1339
  smart server are more efficient now.  They send inventory deltas rather
 
1340
  than full inventories.  The smart server has two new requests,
 
1341
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
1342
  support this.  (Andrew Bennetts, #374738, #385826)
 
1343
 
 
1344
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
1345
  significantly faster. This effects things like ``bzr log -n0``. (For
 
1346
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
1347
  (John Arbash Meinel)
 
1348
 
 
1349
Documentation
 
1350
*************
 
1351
 
 
1352
API Changes
 
1353
***********
 
1354
 
 
1355
Internals
 
1356
*********
 
1357
 
 
1358
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
1359
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
1360
  read lock on a file that we already have an OS write lock on.) This is
 
1361
  now set by default for all tests, if you have a test which cannot be
 
1362
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
1363
  compatibility knob. (John Arbash Meinel)
 
1364
 
 
1365
* InterDifferingSerializer is now only used locally.  Other fetches that
 
1366
  would have used InterDifferingSerializer now use the more network
 
1367
  friendly StreamSource, which now automatically does the same
 
1368
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
1369
 
 
1370
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
1371
  are implemented in pyrex and significantly faster. This is exposed along
 
1372
  with ``CombinedGraphIndex.find_ancestry()`` as
 
1373
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
1374
  (John Arbash Meinel)
 
1375
 
 
1376
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
1377
  protocols. (Robert Collins)
 
1378
 
 
1379
* The index code now has some specialized routines to extract the full
 
1380
  ancestry of a key in a more efficient manner.
 
1381
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
1382
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
1383
  Arbash Meinel)
 
1384
 
 
1385
Testing
 
1386
*******
 
1387
 
 
1388
* Install the test ssl certificate and key so that installed bzr
 
1389
  can run the https tests. (Denys Duchier, #392401)
 
1390
  
 
1391
 
 
1392
bzr 1.18rc1
 
1393
###########
 
1394
 
 
1395
:Codename: little traveller
 
1396
:1.18:    2009-08-20
 
1397
:1.18rc1: 2009-08-10
 
1398
 
 
1399
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
1400
'brisbane-core' format becomes generally recommended.  Most of the work in
 
1401
this release now focusses on bug fixes and stabilization, covering both 2a
 
1402
and previous formats.  There is a new text-mode interactive merge feature,
 
1403
a new guide to migration to 2a format in the user documentation, and
 
1404
pushing branches to a smart server is now much faster.  
 
1405
 
 
1406
The Bazaar team decided that 2.0 will be a long-term supported release,
 
1407
with bugfix-only releases based on it continuing for at least six months
 
1408
or until the following stable release.
 
1409
 
 
1410
There are no changes from 1.18rc1 to 1.18.
 
1411
 
 
1412
New Features
 
1413
************
 
1414
 
 
1415
* ``bzr merge --interactive`` applies a user-selected portion of the
 
1416
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
1417
 
 
1418
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
1419
  ``--unstacked`` to change stacking of a branch.
 
1420
  (Martin Pool, #391411)
 
1421
 
 
1422
Bug Fixes
 
1423
*********
 
1424
 
 
1425
* Annotating on a stacked branch will now succeed in simple scenarios.
 
1426
  There are still some complex scenarios where it will fail (bug #399884)
 
1427
  (John Arbash Meinel, #393366)
 
1428
 
 
1429
* A progress bar is no longer left dangling when ``bzr selftest``
 
1430
  completes, and the progress bar updates with zero latency so the
 
1431
  displayed test name is always the one that's actually running.
 
1432
  (Martin Pool, #123688)
 
1433
 
 
1434
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
1435
  if password authentication is even supported. This fixes a bug where
 
1436
  users would be prompted for a launchpad password, even though launchpad
 
1437
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
1438
 
 
1439
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
1440
  from GMT. (Vincent Ladeuil, #397716)
 
1441
 
 
1442
* ``bzr commit`` no longer saves the unversioning of missing files until
 
1443
  the commit has completed on the branch. This means that aborting a
 
1444
  commit that found a missing file will leave the tree unedited.
 
1445
  (Robert Collins, #282402)
 
1446
 
 
1447
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
1448
  when the branch is readonly. (Robert Collins, #216541)
 
1449
 
 
1450
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
1451
  there are missing subtrees. (Robert Collins, #367632)
 
1452
 
 
1453
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
1454
  do to internal changes necessary to support this, older clients will
 
1455
  fail when trying to insert them. For newer clients, the bundle can be
 
1456
  used to apply the changes to any rich-root compatible format.
 
1457
  (John Arbash Meinel, #393349)
 
1458
 
 
1459
* Cope with FTP servers that don't support restart/append by falling back
 
1460
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
1461
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
1462
 
 
1463
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
1464
  external diff client. This at least allows supporting filenames that are
 
1465
  not ascii, but are present in the current locale. Ideally we would be
 
1466
  able to pass the Unicode path, but that would be client dependent.
 
1467
  (John Arbash Meinel, #382709)
 
1468
 
 
1469
* Fix a compile bug on Solaris having to do with const and
 
1470
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
1471
 
 
1472
* Fixed a NameError that occurs when merging or pulling from a URL that
 
1473
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
1474
  (Andrew Bennetts, #400847)
 
1475
 
 
1476
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
1477
  running send and similar commands on 2a formats.
 
1478
  (Martin Pool, #408201)
 
1479
  
 
1480
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
1481
  (Martin Pool, #403523)
 
1482
 
 
1483
* Fixed export to existing directory: if directory is empty then export 
 
1484
  will succeed, otherwise it fails with error.
 
1485
  (Alexander Belchenko, #406174)
 
1486
 
 
1487
* Fixed spurious "Source branch does not support stacking" warning when
 
1488
  pushing. (Andrew Bennetts, #388908)
 
1489
 
 
1490
* Fixed spurious transport activity indicator appearing while tests are
 
1491
  running.  (Martin Pool, #343532)
 
1492
 
 
1493
* Merge now correctly handles empty right-hand revision specs.
 
1494
  (Aaron Bentley, #333961)
 
1495
 
 
1496
* Renames to lexographically lower basenames in trees that have never been
 
1497
  committed to will no longer corrupt the dirstate. This was caused by an
 
1498
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
1499
 
 
1500
* Requests for unknown methods no longer cause the smart server to log
 
1501
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
1502
  ``do_end``.  (Andrew Bennetts, #338561)
 
1503
 
 
1504
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
1505
 
 
1506
* Streaming from bzr servers where there is a chain of stacked branches
 
1507
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
1508
 
 
1509
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
1510
  always forces progress bars either on or off respectively.  Otherwise,
 
1511
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
1512
  bzr always uses the 'text' user interface when run as a command, so
 
1513
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
1514
  (Martin Pool, #339385, #387717)
 
1515
 
 
1516
* The optional ``_knit_load_data_pyx`` C extension was never being
 
1517
  imported.  This caused significant slowdowns when reading data from
 
1518
  repositories.  (Andrew Bennetts, #405653)
 
1519
  
 
1520
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
1521
  supported at the moment on workingtree formats that can do content
 
1522
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
1523
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
1524
 
 
1525
* There was a bug in ``osutils.relpath`` that was only triggered on
 
1526
  Windows. Essentially if you were at the root of a drive, and did
 
1527
  something to a branch/repo on another drive, we would go into an
 
1528
  infinite loop while trying to find a 'relative path'.
 
1529
  (John Arbash Meinel, #394227)
 
1530
 
 
1531
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
1532
  were present in a parent tree but renamed in the working tree.
 
1533
  (Robert Collins, #187207)
 
1534
 
 
1535
Improvements
 
1536
************
 
1537
 
 
1538
* Can now rename/move files even if they have been removed from the inventory.
 
1539
  (Marius Kruger)
 
1540
 
 
1541
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
1542
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
1543
  than VFS methods.  For example, pushes of small branches with tags take
 
1544
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
1545
 
 
1546
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
1547
  the same way that sending Ctrl-\\ does on other platforms.
 
1548
  (John Arbash Meinel)
 
1549
 
 
1550
Documentation
 
1551
*************
 
1552
 
 
1553
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
1554
 
 
1555
API Changes
 
1556
***********
 
1557
 
 
1558
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
1559
  need to subclass or create a specific class, or better yet the existing
 
1560
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
1561
  user interaction at all, rather than trying to read from stdin but not
 
1562
  writing any output, which would be strange if reading prompts or
 
1563
  passwords.  (Martin Pool)
 
1564
 
 
1565
* New TransformPreview.commit() allows committing without a working tree.
 
1566
  (Aaron Bentley)
 
1567
 
 
1568
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
1569
  (Martin Pool)
 
1570
 
 
1571
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
1572
  UIFactory. 
 
1573
  (Martin Pool)
 
1574
 
 
1575
* ``WorkingTree._check`` now requires a references dict with keys matching
 
1576
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
1577
 
 
1578
Internals
 
1579
*********
 
1580
 
 
1581
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
1582
  reading the entries along the path, reducing work to lookup ids from
 
1583
  paths. (Robert Collins)
 
1584
 
 
1585
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
1586
  as new a key which was already mapped. (Robert Collins)
 
1587
 
 
1588
* Inventory delta application catches more cases of corruption and can
 
1589
  prevent corrupt deltas from affecting consistency of data structures on
 
1590
  disk. (Robert Collins)
 
1591
 
 
1592
* --subunit support now adds timestamps if the subunit version supports
 
1593
  it. (Robert Collins)
 
1594
 
 
1595
* The Windows all-in-one installer now bundles the PyQt image format
 
1596
  plugins, which allows previewing more images as part of 'qdiff'.
 
1597
  (Alexander Belchenko)
 
1598
 
 
1599
 
 
1600
Testing
 
1601
*******
 
1602
 
 
1603
* Merge directive cherrypick tests must use the same root id.
 
1604
  (Martin Pool, #409684)
 
1605
 
 
1606
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
1607
  (Martin Pool, #408199)
 
1608
 
 
1609
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
1610
  ``countTestsCases`` on the test being run. Progress information is
 
1611
  instead handled by having the test passed in call ``result.progress``
 
1612
  before running its contents. This improves the behaviour when using
 
1613
  ``TextTestRunner`` with test suites that don't support
 
1614
  ``countTestsCases``. (Robert Collins)
 
1615
 
 
1616
 
 
1617
bzr 1.17.1 (unreleased)
 
1618
#######################
 
1619
 
 
1620
Bug Fixes
 
1621
*********
 
1622
 
 
1623
* The optional ``_knit_load_data_pyx`` C extension was never being
 
1624
  imported.  This caused significant slowdowns when reading data from
 
1625
  knit format repositories.  (Andrew Bennetts, #405653)
 
1626
  
 
1627
 
 
1628
bzr 1.17
 
1629
########
 
1630
:Codename: so-late-its-brunch
 
1631
:1.17rc1: 2009-07-13
 
1632
:1.17: 2009-07-20
 
1633
 
 
1634
 
 
1635
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
1636
the elevation of the ``2a`` beta format to the full glory of "supported and
 
1637
stable".
 
1638
 
 
1639
Highlights in this release include greatly reduced memory consumption during
 
1640
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
1641
you're specifying a revision number and the final destruction of those
 
1642
annoying progress bar artifacts.
 
1643
 
 
1644
 
 
1645
Changes from 1.17rc1 to 1.17final
 
1646
*********************************
 
1647
 
 
1648
* Change an extension to call the python ``frozenset()`` rather than the C
 
1649
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
1650
  C api. (John Arbash Meinel, #399366)
 
1651
 
 
1652
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
1653
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
1654
  (John Arbash Meinel, #399356)
 
1655
 
 
1656
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
1657
  directory before serving it. (Andrew Bennetts, #400535)
 
1658
 
 
1659
 
 
1660
Compatibility Breaks
 
1661
********************
 
1662
 
 
1663
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
1664
  instead of "product" which is the correct Launchpad terminology.  The
 
1665
  --product option is deprecated and users should switch to using --project.
 
1666
  (Neil Martinsen-Burrell, #238764)
 
1667
 
 
1668
 
 
1669
New Features
 
1670
************
 
1671
 
 
1672
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
1673
  are present in the working tree (if one is present) and no revision is
 
1674
  specified. The configuration option ``push_strict`` can be used to set the
 
1675
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
1676
 
 
1677
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
1678
  show revision info for the working tree instead of the branch.
 
1679
  (Matthew Fuller, John Arbash Meinel)
 
1680
 
 
1681
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
1682
  are present in the working tree and no revision is specified. The
 
1683
  configuration option ``send_strict`` can be used to set the default for this
 
1684
  behavior.
 
1685
  (Vincent Ladeuil, #206577)
 
1686
 
 
1687
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
1688
  to a new branch. Supplying a name without a ``/`` will create the branch
 
1689
  relative to the existing branch. (similar to how ``bzr switch name``
 
1690
  works when the branch already exists.) (John Arbash Meinel)
 
1691
 
 
1692
 
 
1693
Bug Fixes
 
1694
*********
 
1695
 
 
1696
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
1697
  (#335182, Tim Powell, Martin Pool)
 
1698
 
 
1699
* Add documentation about diverged branches and how to fix them in the
 
1700
  centralized workflow with local commits.  Mention ``bzr help
 
1701
  diverged-branches`` when a push fails because the branches have
 
1702
  diverged.  (Neil Martinsen-Burrell, #269477)
 
1703
 
 
1704
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
1705
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
1706
 
 
1707
* Automatic format upgrades triggered by default stacking policies on a
 
1708
  1.16rc1 (or later) smart server work again.
 
1709
  (Andrew Bennetts, #388675)
 
1710
 
 
1711
* Avoid progress bar artifacts being left behind on the screen.
 
1712
  (Martin Pool, #321935)
 
1713
 
 
1714
* Better message in ``bzr split`` error suggesting a rich root format.
 
1715
  (Neil Martinsen-Burrell, #220067)
 
1716
 
 
1717
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
1718
  server. (Andrew Bennetts, #365865)
 
1719
 
 
1720
* By default, ``bzr branch`` will fail if the target directory exists, but
 
1721
  does not already have a control directory.  The flag ``--use-existing-dir``
 
1722
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
1723
 
 
1724
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
1725
  (Ian Clatworthy)
 
1726
 
 
1727
* Fetch between repositories does not error if they have inconsistent data
 
1728
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
1729
 
 
1730
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
1731
  of a remote repository.
 
1732
  (Jelmer Vernooij, #332194)
 
1733
 
 
1734
* Fix bug in decoding v3 smart server messages when receiving multiple
 
1735
  lots of excess bytes after an end-of-message.
 
1736
  (Andrew Bennetts)
 
1737
 
 
1738
* Force deletion of readonly files during merge, update and other tree
 
1739
  transforms.
 
1740
  (Craig Hewetson, Martin Pool, #218206)
 
1741
 
 
1742
* Force socket shutdown in threaded http test servers to avoid client hangs
 
1743
  (pycurl).  (Vincent Ladeuil, #383920).
 
1744
 
 
1745
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
1746
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
1747
 
 
1748
* Progress bars are now suppressed again when the environment variable
 
1749
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
1750
  (Martin Pool, #339385)
 
1751
 
 
1752
* Reduced memory consumption during ``bzr commit`` of large files. For
 
1753
  pre 2a formats, should be down to ~3x the size of a file.
 
1754
  For ``--2a`` format repositories, it is down to the size of the file
 
1755
  content plus the size of the compressed text.  Related to bug #109114.
 
1756
  (John Arbash Meinel)
 
1757
 
 
1758
* Set hidden attribute on .bzr directory below unicode path should never
 
1759
  fail with error. The operation should succeed even if bzr unable to set 
 
1760
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
1761
  
 
1762
* Stacking will no longer accept requests to stack on the same
 
1763
  branch/repository. Existing branches that incorrectly reference the same
 
1764
  repository in a stacking configuration will now raise
 
1765
  UnstackableLocationError when the branch is opened. This can be fixed by
 
1766
  removing the stacking location inside ``.bzr/branch``.
 
1767
  (Robert Collins, #376243)
 
1768
 
 
1769
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
1770
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
1771
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
1772
  rate because they're available in the log prefixes and the transport
 
1773
  activity display respectively.
 
1774
  (Martin Pool, #340347)
 
1775
 
 
1776
* Unshelve works correctly when multiple zero-length files are present on
 
1777
  the shelf. (Aaron Bentley, #363444)
 
1778
 
 
1779
* Progress bars no longer show the network transport scheme or direction.
 
1780
  (Martin Pool)
 
1781
 
 
1782
* launchpad-login now respects the 'verbose' option.
 
1783
  (Jonathan Lange, #217031)
 
1784
 
 
1785
 
 
1786
Internals
 
1787
*********
 
1788
 
 
1789
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
1790
  possible to write a deprecation wrapper, but the variable will be
 
1791
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
1792
  instead. (Alexander Belchenko)
 
1793
 
 
1794
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
1795
  three new hook points: ``get_command``, ``get_missing_command`` and
 
1796
  ``list_commands``, which allow just-in-time command name provision
 
1797
  rather than requiring all command names be known a-priori.
 
1798
  (Robert Collins)
 
1799
 
 
1800
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
1801
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
1802
 
 
1803
* ``graph.KnownGraph`` has been added. This is a class that can give
 
1804
  answers to ``heads()`` very quickly. However, it has the assumption that
 
1805
  the whole graph has already been loaded. This is true during
 
1806
  ``annotate`` so it is used there with good success (as much as 2x faster
 
1807
  for files with long ancestry and 'cherrypicked' changes.)
 
1808
  (John Arbash Meinel, Vincent Ladeuil)
 
1809
 
 
1810
* OS file locks are now taken out using ``CreateFile`` rather than
 
1811
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
1812
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
1813
  as Win98). (Martin <gzlist>)
 
1814
 
 
1815
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
1816
  than the ``Packer`` code. The user visible change is that we now
 
1817
  properly fetch the minimum number of texts for non-smart fetching.
 
1818
  (John Arbash Meinel)
 
1819
 
 
1820
 
 
1821
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
1822
  the repository as a single string, rather than a list of lines. This can
 
1823
  improve memory overhead and performance of committing large files.
 
1824
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
1825
 
 
1826
 
 
1827
Improvements
 
1828
************
 
1829
 
 
1830
* ``bzr annotate`` can now be significantly faster. The time for
 
1831
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
1832
  histories and lots of 'duplicate insertions' will be improved more than
 
1833
  others. (John Arbash Meinel, Vincent Ladeuil)
 
1834
 
 
1835
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
1836
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
1837
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
1838
 
 
1839
* Improve "Path(s) are not versioned" error reporting for some commands.
 
1840
  (Benoît PIERRE)
 
1841
 
 
1842
* Initial commit performance in ``--2a`` repositories has been improved by
 
1843
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
1844
 
 
1845
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
1846
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
1847
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
1848
 
 
1849
* ``revision-info`` now properly aligns the revnos/revids in the output
 
1850
  and doesn't traceback when given revisions not in the current branch.
 
1851
  Performance is also significantly improved when requesting multiple revs
 
1852
  at once.  (Matthew Fuller, John Arbash Meinel)
 
1853
 
 
1854
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
1855
 
 
1856
 
 
1857
Documentation
 
1858
*************
 
1859
 
 
1860
* Avoid bad text wrapping in generated documentation.  Slightly better
 
1861
  formatting in the user reference.
 
1862
  (Martin Pool, #249908)
 
1863
 
 
1864
* Minor clarifications to the help for End-Of-Line conversions.
 
1865
  (Ian Clatworthy)
 
1866
 
 
1867
API Changes
 
1868
***********
 
1869
 
 
1870
* Removed overspecific error class ``InvalidProgressBarType``.
 
1871
  (Martin Pool)
 
1872
 
 
1873
* The method ``ProgressView._show_transport_activity`` is now
 
1874
  ``show_transport_activity`` because it's part of the contract between
 
1875
  this class and the UI.  (Martin Pool)
 
1876
 
 
1877
 
 
1878
bzr 1.16.1
 
1879
##########
 
1880
 
 
1881
:Released: 2009-06-26
 
1882
 
 
1883
End user testing of the 2a format revealed two serious bugs. The first,
 
1884
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
1885
This meant that commits or pushes to 2a-format repositories failed
 
1886
intermittently.
 
1887
 
 
1888
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
1889
when streaming 2a stacked 2a-format branches. This particularly affected
 
1890
branches stored on Launchpad in the 2a format.
 
1891
 
 
1892
Both of these bugs cause command failures only, neither of them cause data
 
1893
corruption or data loss. And, of course, both of these bugs are now fixed.
 
1894
 
 
1895
Bug Fixes
 
1896
*********
 
1897
 
 
1898
* We now properly request a more minimal set of file texts when fetching
 
1899
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
1900
 
 
1901
* Repositories using CHK pages (which includes the new 2a format) will no
 
1902
  longer error during commit or push operations when an autopack operation
 
1903
  is triggered. (Robert Collins, #365615)
 
1904
 
 
1905
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
1906
  of referenced nodes rather than the *union* to determine what
 
1907
  uninteresting pages we still need to look at. Prior to this,
 
1908
  incrementally pushing to stacked branch would push the minimal data, but
 
1909
  fetching everything would request extra texts. There are some unhandled
 
1910
  cases wrt trees of different depths, but this fixes the common cases.
 
1911
  (Robert Collins, John Arbash Meinel, #390563)
 
1912
 
 
1913
* ``GroupCompress`` repositories now take advantage of the pack hints
 
1914
  parameter to permit cross-format fetching to incrementally pack the
 
1915
  converted data. (Robert Collins)
 
1916
 
 
1917
* ``Repository.commit_write_group`` now returns opaque data about what
 
1918
  was committed, for passing to the ``Repository.pack``. Repositories
 
1919
  without atomic commits will still return None. (Robert Collins)
 
1920
 
 
1921
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
1922
  which will support doing partial packs for repositories that can do
 
1923
  that. (Robert Collins)
 
1924
 
 
1925
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
1926
  when doing a pack operation changes the compression of content in the
 
1927
  repository. (Robert Collins)
 
1928
 
 
1929
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
1930
  ``Repository.pack`` with the hint returned by
 
1931
  ``Repository.commit_write_group`` if the formats were different and the
 
1932
  repository can increase compression by doing a pack operation.
 
1933
  (Robert Collins, #376748)
 
1934
 
 
1935
 
 
1936
bzr 1.16
 
1937
########
 
1938
:Codename: yesterday-in-california
 
1939
:1.16rc1: 2009-06-11
 
1940
:1.16: 2009-06-18
 
1941
 
 
1942
This version of Bazaar contains the beta release of the new ``2a`` repository
 
1943
format, suitable for testing by fearless, advanced users. This format or an
 
1944
updated version of it will become the default format in Bazaar 2.0. Please
 
1945
read the NEWS entry before even thinking about upgrading to the new format.
 
1946
 
 
1947
Also included are speedups for many operations on huge projects, a bug fix for
 
1948
pushing stacked new stacked branches to smart servers and the usual bevy of
 
1949
bug fixes and improvements.
 
1950
 
 
1951
 
 
1952
Changes from 1.16rc1 to 1.16final
 
1953
*********************************
 
1954
 
 
1955
* Fix the nested tree flag check so that upgrade from development formats to
 
1956
  2a can work correctly.
 
1957
  (Jelmer Vernooij, #388727)
 
1958
 
 
1959
* Automatic format upgrades triggered by default stacking policies on a
 
1960
  1.16rc1 (or later) smart server work again.
 
1961
  (Andrew Bennetts, #388675)
 
1962
 
 
1963
 
 
1964
Compatibility Breaks
 
1965
********************
 
1966
 
 
1967
* Display prompt on stderr (instead of stdout) when querying users so
 
1968
  that the output of commands can be safely redirected.
 
1969
  (Vincent Ladeuil, #376582)
 
1970
 
 
1971
 
 
1972
New Features
 
1973
************
 
1974
 
 
1975
* A new repository format ``2a`` has been added.  This is a beta release
 
1976
  of the brisbane-core (aka group-compress) project.  This format now
 
1977
  suitable for wider testing by advanced users willing to deal with some
 
1978
  bugs.  We would appreciate test reports, either positive or negative.
 
1979
  Format 2a is substantially smaller and faster for many operations on
 
1980
  many trees.  This format or an updated version will become the default
 
1981
  in bzr 2.0.
 
1982
 
 
1983
  This is a rich-root format, so this repository format can be used with
 
1984
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
1985
  converted (including by merge, push and pull) to format 2a, but not vice
 
1986
  versa.  We recommend upgrading previous development formats to 2a.
 
1987
 
 
1988
  Upgrading to this format can take considerable time because it expands
 
1989
  and more concisely repacks the full history.
 
1990
 
 
1991
  If you use stacked branches, you must upgrade the stacked branches
 
1992
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
1993
 
 
1994
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
1995
  but using a Revision serializer using bencode rather than XML.
 
1996
  (Jelmer Vernooij, John Arbash Meinel)
 
1997
 
 
1998
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
1999
  configured from address.  (Barry Warsaw)
 
2000
 
 
2001
Improvements
 
2002
************
 
2003
 
 
2004
 
 
2005
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
2006
  bugs with stacking and non default formats.)
 
2007
  (John Arbash Meinel, #373455)
 
2008
 
 
2009
* ``--development6-rich-root`` delays generating a delta index for the
 
2010
  first object inserted into a group. This has a beneficial impact on
 
2011
  ``bzr commit`` since each committed texts goes to its own group. For
 
2012
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
2013
  up commit from 7s => 4s. (John Arbash Meinel)
 
2014
 
 
2015
* Numerous operations are now faster for huge projects, i.e. those
 
2016
  with a large number of files and/or a large number of revisions,
 
2017
  particularly when the latest development format is used. These
 
2018
  operations (and improvements on OpenOffice.org) include:
 
2019
 
 
2020
  * branch in a shared repository (2X faster)
 
2021
  * branch --no-tree (100X faster)
 
2022
  * diff (2X faster)
 
2023
  * tags (70X faster)
 
2024
 
 
2025
  (Ian Clatworthy)
 
2026
 
 
2027
* Pyrex version of ``bencode`` support. This provides optimized support
 
2028
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
2029
  ``bzrlib.utils.bencode`` is now deprecated.
 
2030
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
2031
 
 
2032
 
 
2033
Bug Fixes
 
2034
*********
 
2035
 
 
2036
* Bazaar can now pass attachment files to the mutt email client.
 
2037
  (Edwin Grubbs, #384158)
 
2038
 
 
2039
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
2040
  see which files can also be added.  (Jason Spashett, #76616)
 
2041
 
 
2042
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
2043
  Also, the ``Branch.revision_history()`` API now works in the same
 
2044
  situation.  (Andrew Bennetts, #380314)
 
2045
  
 
2046
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
2047
  TCP client disconnected. (Andrew Bennetts)
 
2048
 
 
2049
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
2050
  ``RemoteRepository`` was handling fallbacks along with the
 
2051
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
2052
 
 
2053
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
2054
  branch. Not often triggered, because it required ghosts to be part of
 
2055
  the fetched revisions, not in the stacked-on ancestry.
 
2056
  (John Arbash Meinel)
 
2057
 
 
2058
* Fix status and commit to work with content filtered trees, addressing
 
2059
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
2060
 
 
2061
* Fix problem of "directory not empty" when contending for a lock over
 
2062
  sftp.  (Martin Pool, #340352)
 
2063
 
 
2064
* Fix rule handling so that eol is optional, not mandatory.
 
2065
  (Ian Clatworthy, #379370)
 
2066
 
 
2067
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
2068
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
2069
  1.16, but required changes to the network protocol, so the
 
2070
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
2071
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
2072
  still work with a 1.16 server as they will fallback to slower (and
 
2073
  bug-free) methods.
 
2074
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
2075
 
 
2076
* Reconcile can now deal with text revisions that originated in revisions 
 
2077
  that are ghosts. (Jelmer Vernooij, #336749)
 
2078
 
 
2079
* Support cloning of branches with ghosts in the left hand side history.
 
2080
  (Jelmer Vernooij, #248540)
 
2081
 
 
2082
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
2083
  helpful message to the trace file, unless the temp directory really was
 
2084
  removed (which would be very strange).  Since the diff operation has
 
2085
  succeeded from the user's perspective, no output is written to stderr 
 
2086
  or stdout.  (Maritza Mendez, #363837)
 
2087
 
 
2088
* Translate errors received from a smart server in response to a
 
2089
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
2090
  This was causing tracebacks even for mundane errors like
 
2091
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
2092
 
 
2093
Documentation
 
2094
*************
 
2095
 
 
2096
* Added directory structure and started translation of docs in Russian.
 
2097
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
2098
  Volodymyr Kotulskyi)
 
2099
 
 
2100
API Changes
 
2101
***********
 
2102
 
 
2103
* Added osutils.parent_directories(). (Ian Clatworthy)
 
2104
 
 
2105
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
2106
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
2107
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
2108
 
 
2109
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
2110
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
2111
  for external users. (Gary van der Merwe)
 
2112
 
 
2113
* ``bzrlib.user_encoding`` is deprecated in favor of
 
2114
  ``get_user_encoding``.  (Alexander Belchenko)
 
2115
 
 
2116
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
2117
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
2118
 
 
2119
Internals
 
2120
*********
 
2121
 
 
2122
* Remove ``weave.py`` script for accessing internals of old weave-format
 
2123
  repositories.  (Martin Pool)
 
2124
 
 
2125
Testing
 
2126
*******
 
2127
 
 
2128
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
2129
  (Martin Pool, #386180)
 
2130
 
 
2131
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
2132
 
 
2133
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
2134
 
 
2135
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
2136
 
 
2137
 
 
2138
bzr 1.15
 
2139
########
 
2140
:1.15rc1: 2009-05-16
 
2141
:1.15: 2009-05-22
 
2142
:1.15.1: 2009-06-09
 
2143
 
 
2144
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
2145
with a size mismatch in a reconstructed graph search. New command ``bzr
 
2146
dpush``. Plugins can now define their own annotation tie-breaker when two
 
2147
revisions introduce the exact same line.
 
2148
 
 
2149
Changes from 1.15.1 to 1.15.2
 
2150
*****************************
 
2151
 
 
2152
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
2153
  (Alexander Belchenko)
 
2154
 
 
2155
Changes from 1.15final to 1.15.1
 
2156
*********************************
 
2157
 
 
2158
* Translate errors received from a smart server in response to a
 
2159
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
2160
  This was causing tracebacks even for mundane errors like
 
2161
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
2162
 
 
2163
Changes from 1.15rc1 to 1.15final
 
2164
*********************************
 
2165
 
 
2166
* No changes
 
2167
 
 
2168
Compatibility Breaks
 
2169
********************
 
2170
 
 
2171
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
2172
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
2173
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
2174
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
2175
 
 
2176
New Features
 
2177
************
 
2178
 
 
2179
* New command ``bzr dpush`` that can push changes to foreign 
 
2180
  branches (svn, git) without setting custom bzr-specific metadata.
 
2181
  (Jelmer Vernooij)
 
2182
 
 
2183
* The new development format ``--development6-rich-root`` now supports
 
2184
  stacking. We chose not to use a new format marker, since old clients
 
2185
  will just fail to open stacked branches, the same as if we used a new
 
2186
  format flag. (John Arbash Meinel, #373455)
 
2187
 
 
2188
* Plugins can now define their own annotation tie-breaker when two revisions
 
2189
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
2190
  Be aware though that this is temporary, private (as indicated by the leading
 
2191
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
2192
 
 
2193
* New command ``bzr dpush`` that can push changes to foreign 
 
2194
  branches (svn, git) without setting custom bzr-specific metadata.
 
2195
  (Jelmer Vernooij)
 
2196
 
 
2197
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
2198
  the submit branch to determine what format to use, if none was 
 
2199
  specified on the command-line.  (Jelmer Vernooij)
 
2200
 
 
2201
Improvements
 
2202
************
 
2203
 
 
2204
* -Dhpss output now includes the number of VFS calls made to the remote
 
2205
  server. (Jonathan Lange)
 
2206
 
 
2207
* ``--coverage`` works for code running in threads too.
 
2208
  (Andrew Bennets, Vincent Ladeuil)
 
2209
 
 
2210
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
2211
  local branch, and not the bound master branch.
 
2212
  (Gary van der Merwe, #194716)
 
2213
 
 
2214
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
2215
 
 
2216
Bug Fixes
 
2217
*********
 
2218
 
 
2219
* Adding now works properly when path contains a symbolic link.
 
2220
  (Geoff Bache, #183831)
 
2221
 
 
2222
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
2223
 
 
2224
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
2225
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
2226
 
 
2227
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
2228
  (Martin von Gagern, #248932)
 
2229
 
 
2230
* ``bzr send`` works to send emails again using MAPI.
 
2231
  (Neil Martinsen-Burrell, #346998)
 
2232
 
 
2233
* Check for missing parent inventories in StreamSink.  This prevents
 
2234
  incomplete stacked branches being created by 1.13 bzr:// and
 
2235
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
2236
  causes those clients to send the missing records.  (Andrew Bennetts)
 
2237
 
 
2238
* Correctly handle http servers proposing multiple authentication schemes.
 
2239
  (Vincent Ladeuil, #366107)
 
2240
 
 
2241
* End-Of-Line content filters are now loaded correctly.
 
2242
  (Ian Clatworthy, Brian de Alwis, #355280)
 
2243
 
 
2244
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
2245
  longer than 64KiB. (John Arbash Meinel, #364900)
 
2246
 
 
2247
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
2248
  (Alexander Belchenko, Martin Pool, #365891)
 
2249
 
 
2250
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
2251
  (Jelmer Vernooij, #357863)
 
2252
 
 
2253
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
2254
  (Vincent Ladeuil, #367726)
 
2255
 
 
2256
* Several bugs related to unicode symlinks have been fixed and the test suite
 
2257
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
2258
 
 
2259
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
2260
  content with a size mismatch in a reconstructed graph search: it assumes
 
2261
  that the client will make sure it is happy with what it got, and this
 
2262
  sort of mismatch is normal for stacked environments.
 
2263
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
2264
  getting all the content expected would be a bug. However the graph
 
2265
  search is how we figured out what we wanted, so a mismatch is both odd
 
2266
  and unrecoverable without starting over, and starting over will end up
 
2267
  with the same data as if we just permitted the mismatch. If data is
 
2268
  gc'd, doing a new search will find only the truncated data, so sending
 
2269
  only the truncated data seems reasonable. bzr versions newer than this
 
2270
  will stream from stacked branches and check the stream to find missing
 
2271
  content in the stacked-on branch, and thus will handle the situation
 
2272
  implicitly.  (Robert Collins, #360791)
 
2273
 
 
2274
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
2275
  set the root data the same way that reconcile does.
 
2276
  (Robert Collins, #368921)
 
2277
 
 
2278
* Using unicode Windows API to obtain command-line arguments.
 
2279
  (Alexander Belchenko, #375934)
 
2280
 
 
2281
Documentation
 
2282
*************
 
2283
 
 
2284
API Changes
 
2285
***********
 
2286
 
 
2287
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
2288
  instead of ``InstallFailed`` when they detect a missing revision.
 
2289
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
2290
 
 
2291
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
2292
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
2293
  for unicode arguments on windows. Further, the supplied arguments are now 
 
2294
  required to be unicode strings, rather than user_encoded strings.
 
2295
  (Alexander Belchenko)
 
2296
 
 
2297
Internals
 
2298
*********
 
2299
 
 
2300
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
2301
  class and will call ``_set_parent_location`` after doing unicode 
 
2302
  encoding. (Robert Collins)
 
2303
 
 
2304
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
2305
  ``Branch.set_parent_location`` removing further VFS operations.
 
2306
  (Robert Collins)
 
2307
 
 
2308
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
2309
  or similar when the dir supports configuration settings. The base class
 
2310
  defaults to None. There is a matching new server verb
 
2311
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
2312
  configuration. (Robert Collins)
 
2313
 
 
2314
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
2315
  called before the first test is started, ``done`` called after the last
 
2316
  test completes, and a new parameter ``strict``. (Robert Collins)
 
2317
 
 
2318
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
2319
  VFS operations are started on a smart server repository. This should not
 
2320
  occur on regular push and pull operations, and is a key indicator for
 
2321
  performance regressions. (Robert Collins)
 
2322
 
 
2323
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
2324
  cause mismatched physical locks to cause test errors rather than just
 
2325
  reporting to the screen. (Robert Collins)
 
2326
 
 
2327
* -Dprogress will cause pdb to start up if a progress view jumps
 
2328
  backwards. (Robert Collins)
 
2329
 
 
2330
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
2331
  are now be able to provide credentials if obtaining credentials 
 
2332
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
2333
  Vincent Ladeuil, #321918)
 
2334
 
 
2335
* New hook ``Lock.lock_broken`` which runs when a lock is
 
2336
  broken. This is mainly for testing that lock/unlock are
 
2337
  balanced in tests. (Vincent Ladeuil)
 
2338
 
 
2339
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
2340
  alter a body for the message produced by ``bzr send``.
 
2341
 
 
2342
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
2343
  refactoring to the core of clone allowing less round trips on new
 
2344
  branches. (Robert Collins)
 
2345
 
 
2346
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
2347
  are pointing at. (Jelmer Vernooij)
 
2348
 
 
2349
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
2350
 
 
2351
Testing
 
2352
*******
 
2353
 
 
2354
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
2355
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
2356
  (Vincent Ladeuil, Robert Collins)
 
2357
 
 
2358
bzr 1.14
 
2359
########
 
2360
:Codename: brisbane-core
 
2361
:1.14rc1: 2009-04-06
 
2362
:1.14rc2: 2009-04-19
 
2363
:1.14: 2009-04-28
 
2364
:1.14.1: 2009-05-01
 
2365
 
 
2366
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
2367
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
2368
End-of-line conversion is now supported for formats supporting content
 
2369
filtering.
 
2370
 
 
2371
Changes from 1.14final to 1.14.1
 
2372
********************************
 
2373
 
 
2374
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
2375
 
 
2376
Changes from 1.14rc2 to 1.14final
 
2377
*********************************
 
2378
 
 
2379
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
2380
  longer than 64KiB. (John Arbash Meinel, #364900)
 
2381
 
 
2382
Changes from 1.14rc1 to 1.14rc2
 
2383
*******************************
 
2384
 
 
2385
* Fix for bug 358037 Revision not in
 
2386
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
2387
  John A Meinel)
 
2388
 
 
2389
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
2390
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
2391
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
2392
 
 
2393
* Fix for bug 355280 eol content filters are never loaded and thus never
 
2394
  applied (Brian de Alwis, Ian Clatworthy)
 
2395
 
 
2396
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
2397
  write a better fix. (John Arbash Meinel, Robert Collins)
 
2398
 
 
2399
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
2400
  (Marius Kruger, Ian Clatworthy)
 
2401
 
 
2402
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
2403
  (Andrew Bennetts, Robert Collins)
 
2404
 
 
2405
Compatibility Breaks
 
2406
********************
 
2407
 
 
2408
* A previously disabled code path to accelerate getting configuration
 
2409
  settings from a smart server has been reinstated. We think this *may*
 
2410
  cause a incompatibility with servers older than bzr 0.15. We intend
 
2411
  to issue a point release to address this if it turns out to be a
 
2412
  problem. (Robert Collins, Andrew Bennetts)
 
2413
 
 
2414
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
2415
  must now be explicitly added tree references.  At the commandline, use
 
2416
  join --reference instead of add.  (Aaron Bentley)
 
2417
 
 
2418
* The ``--long`` log format (the default) no longer shows merged
 
2419
  revisions implicitly, making it consistent with the ``short`` and
 
2420
  ``line`` log formats.  To see merged revisions for just a given
 
2421
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
2422
  use ``bzr log -n0``.  (Ian Clatworthy)
 
2423
 
 
2424
New Features
 
2425
************
 
2426
 
 
2427
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
2428
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
2429
  and generic content filtering. These formats replace the experimental
 
2430
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
2431
  respectively, but have support for filtered views disabled.
 
2432
  (Ian Clatworthy)
 
2433
 
 
2434
* New ``mv --auto`` option recognizes renames after they occur.
 
2435
  (Aaron Bentley)
 
2436
 
 
2437
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
2438
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
2439
 
 
2440
* ``bzr log`` now supports filtering of multiple files and directories
 
2441
  and will show changes that touch any of them. Furthermore,
 
2442
  directory filtering now shows the changes to any children of that
 
2443
  directory, not just the directory object itself.
 
2444
  (Ian Clatworthy, #97715)
 
2445
 
 
2446
* ``bzr shelve`` can now apply changes without storing anything on the
 
2447
  shelf, via the new --destroy option.  (Aaron Bentley)
 
2448
 
 
2449
* ``bzr send`` now accepts --body to specify an initial message body.
 
2450
  (Aaron bentley)
 
2451
 
 
2452
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
2453
  message and the options without the descriptive help sections
 
2454
  (like Description and Examples). A message is also given
 
2455
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
2456
  (Ian Clatworthy)
 
2457
 
 
2458
* Content filters can now be used to provide custom conversion
 
2459
  between the canonical format of content (i.e. as stored) and
 
2460
  the convenience format of content (i.e. as created in working
 
2461
  trees). See ``bzr help content-filters`` for further details.
 
2462
  (Ian Clatworthy, Alexander Belchenko)
 
2463
 
 
2464
* End-of-line conversion is now supported for formats supporting
 
2465
  content filtering. See ``bzr help eol`` for details.
 
2466
  (Ian Clatworthy)
 
2467
 
 
2468
* Newly-blessed `join` command allows combining two trees into one.
 
2469
  (Aaron Bentley)
 
2470
 
 
2471
Improvements
 
2472
************
 
2473
 
 
2474
* A new format name alias ``default-rich-root`` has been added and
 
2475
  points at the closest relative of the default format that supports 
 
2476
  rich roots. (Jelmer Vernooij, #338061)
 
2477
 
 
2478
* Branching from a stacked branch using ``bzr*://`` will now stream
 
2479
  the data when the target repository does not need topological
 
2480
  ordering, reducing round trips and network overhead. This uses the
 
2481
  existing smart server methods added in 1.13, so will work on any
 
2482
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
2483
 
 
2484
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
2485
  that displays/saves the content after content filters are applied.
 
2486
  (Ian Clatworthy)
 
2487
 
 
2488
* ``bzr ignore`` gives a more informative message when existing
 
2489
  version controlled files match the ignore pattern. (Neil
 
2490
  Martinsen-Burrell, #248895)
 
2491
 
 
2492
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
2493
  (Ian Clatworthy)
 
2494
 
 
2495
* ``bzr send`` is faster on repositories with deep histories.
 
2496
  (Ian Clatworthy)
 
2497
 
 
2498
* IPv6 literals are accepted in URLs.
 
2499
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
2500
 
 
2501
* Progress bars now show the rate of network activity for
 
2502
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2503
 
 
2504
* Prompt for user names if they are not in the configuration. 
 
2505
  (Jelmer Vernooij, #256612)
 
2506
 
 
2507
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
2508
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
2509
  #294479)
 
2510
  
 
2511
* Streaming push can be done to older repository formats.  This is
 
2512
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
2513
  (Andrew Bennetts, Robert Collins)
 
2514
 
 
2515
* The "ignoring files outside view: .." message has been re-worded
 
2516
  to "Ignoring files outside view. View is .." to reduce confusion
 
2517
  about what was being considered and what was being ignored.
 
2518
  (Ian Clatworthy)
 
2519
 
 
2520
* The ``long`` log formatter now shows [merge] indicators. If
 
2521
  only one level of revisions is displayed and merges are found,
 
2522
  the ``long`` and ``short`` log formatters now tell the user
 
2523
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
2524
 
 
2525
* The ``brisbane-core`` project has delivered its beta format
 
2526
  ``development6-rich-root``. This format is suitable for judicious
 
2527
  testing by early adopters. In particular if you are benchmarking bzr
 
2528
  performance please be sure to test using this format. At this stage
 
2529
  more information is best obtained by contacting the Bazaar mailing list
 
2530
  or IRC channel if you are interested in using this format. We will make
 
2531
  end user documentation available closer to blessing the format as
 
2532
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
2533
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
2534
 
 
2535
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
2536
  (Jonathan Lange)
 
2537
 
 
2538
Bug Fixes
 
2539
*********
 
2540
 
 
2541
* Pushing a new stacked branch will also push the parent inventories for
 
2542
  revisions at the stacking boundary.  This makes sure that the stacked
 
2543
  branch has enough data to calculate inventory deltas for all of its
 
2544
  revisions (without requiring the fallback branch).  This avoids
 
2545
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
2546
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
2547
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
2548
 
 
2549
* End-Of-Line content filters are now loaded correctly.
 
2550
  (Ian Clatworthy, Brian de Alwis, #355280)
 
2551
 
 
2552
* Authentication plugins now receive all the parameters from the request
 
2553
  itself (aka host, port, realm, path, etc). Previously, only the 
 
2554
  authentication section name, username and encoded password were 
 
2555
  provided. (Jean-Francois Roy)
 
2556
 
 
2557
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
2558
  -m``.  (Anne Mohsen, Martin Pool)
 
2559
 
 
2560
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
2561
 
 
2562
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
2563
  #313028)
 
2564
 
 
2565
* Fix "is not a stackable format" error when pushing a
 
2566
  stackable-format branch with an unstackable-format repository to a
 
2567
  destination with a default stacking policy.  (Andrew Bennetts)
 
2568
 
 
2569
* Fixed incorrect "Source format does not support stacking" warning
 
2570
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2571
 
 
2572
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
2573
  needed. (Vincent Ladeuil, #355454)
 
2574
 
 
2575
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
2576
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
2577
  defined.  (Ian Clatworthy, #344708)
 
2578
 
 
2579
* It is no longer possible to fetch between repositories while the
 
2580
  target repository is in a write group. This prevents race conditions
 
2581
  that prevent the use of RPC's to perform fetch, and thus allows
 
2582
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
2583
 
 
2584
* ``merge --force`` works again. (Robert Collins, #342105)
 
2585
 
 
2586
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
2587
  (Vincent Ladeuil, #346593)
 
2588
 
 
2589
* Pushing a new branch to a server that has a stacking policy will now
 
2590
  upgrade from the local branch format when the stacking policy points at
 
2591
  a branch which is itself stackable, because we know the client can read
 
2592
  both branches, we know that the trunk for the project can be read too,
 
2593
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
2594
 
 
2595
* Pushing a new stacked branch will also push the parent inventories for
 
2596
  revisions at the stacking boundary.  This makes sure that the stacked
 
2597
  branch has enough data to calculate inventory deltas for all of its
 
2598
  revisions (without requiring the fallback branch).  This avoids
 
2599
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
2600
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
2601
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
2602
 
 
2603
* The full test suite is passing again on OSX. Several minor issues (mostly
 
2604
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
2605
 
 
2606
* The GNU Changelog formatter is slightly improved in the case where
 
2607
  the delta is empty, and now correctly claims not to support tags.
 
2608
  (Andrea Bolognani)
 
2609
 
 
2610
* Shelve can now shelve changes to a symlink target.
 
2611
  (James Westby, #341558)
 
2612
 
 
2613
* The help for the ``info`` command has been corrected.
 
2614
  (Ian Clatworthy, #351931)
 
2615
 
 
2616
* Upgrade will now use a sensible default format if the source repository
 
2617
  uses rich roots.  (Jelmer Vernooij, #252908)
 
2618
 
 
2619
Documentation
 
2620
*************
 
2621
 
 
2622
* Expanded the index of the developer documentation. (Eric Siegerman)
 
2623
 
 
2624
* New topic `bzr help debug-flags`.  (Martin Pool)
 
2625
 
 
2626
* The generated manpage now explicitly lists aliases as commands.
 
2627
  (James Westby, #336998)
 
2628
 
 
2629
API Changes
 
2630
***********
 
2631
 
 
2632
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
2633
  (Martin Pool)
 
2634
 
 
2635
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
2636
  commit - this was a full-tree overhead that bzr no longer performs.
 
2637
  (Robert Collins)
 
2638
 
 
2639
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
2640
  obtain the username to use when connecting to remote machines. 
 
2641
  (Jelmer Vernooij)
 
2642
 
 
2643
* New API ``Inventory.filter()`` added that filters an inventory by
 
2644
  a set of file-ids so that only those fileids, their parents and
 
2645
  their children are included.  (Ian Clatworthy)
 
2646
 
 
2647
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
2648
  sorts optimally for use with groupcompress compressors. (John Arbash
 
2649
  Meinel, Robert Collins)
 
2650
 
 
2651
* Repository APIs ``get_deltas_for_revisions()`` and
 
2652
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
2653
  parameter. If provided, the deltas are filtered so that only those
 
2654
  file-ids, their parents and their children are included.
 
2655
  (Ian Clatworthy)
 
2656
 
 
2657
* The ``get_credentials`` and ``set_credentials`` methods of 
 
2658
  ``AuthenticationConfig`` now accept an optional realm argument.
 
2659
  (Jean-Francois Roy)
 
2660
 
 
2661
* The ``pb`` argument to ``fetch()`` is deprecated.
 
2662
  (Martin Pool)
 
2663
 
 
2664
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
2665
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
2666
 
 
2667
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
2668
  that is not inside the backing transport from being opened.  See the
 
2669
  module documentation for ``bzrlib.smart.request`` for details.
 
2670
  (Andrew Bennetts, Robert Collins)
 
2671
 
 
2672
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
2673
  or None. Previously it would return the bytes from reading the link
 
2674
  which could be in any arbitrary encoding. (Robert Collins)
 
2675
 
 
2676
Testing
 
2677
*******
 
2678
 
 
2679
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
2680
  and ``tearDown`` weren't called.  This catches faulty tests that
 
2681
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
2682
  faulty tests were not properly isolated.
 
2683
  (Andrew Bennetts, Robert Collins)
 
2684
 
 
2685
* Fix test_msgeditor.MsgEditorTest test isolation.
 
2686
  (Vincent Ladeuil, #347130)
 
2687
 
 
2688
* ``medusa`` is not used anymore as an FTP test server starting with
 
2689
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
2690
  instead. This new server is a soft dependency as medusa which is still
 
2691
  preferred if both are available (modulo python version).
 
2692
  (Vincent Ladeuil)
 
2693
 
 
2694
Internals
 
2695
*********
 
2696
 
 
2697
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
2698
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
2699
 
 
2700
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
2701
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
2702
 
 
2703
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
2704
  serializing and deserializing inventory deltas for more efficient
 
2705
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
2706
 
 
2707
* ``Branch._get_config`` has been added, which splits out access to the
 
2708
  specific config file from the branch. This is used to let RemoteBranch
 
2709
  avoid constructing real branch objects to access configuration settings.
 
2710
  (Robert Collins, Andrew Bennetts)
 
2711
 
 
2712
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
2713
  the implementation is generic and should impact foreign formats. This
 
2714
  helps performance for ``RemoteBranch`` push operations to new stacked
 
2715
  branches. (Robert Collins, Andrew Bennetts)
 
2716
 
 
2717
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
2718
  optmizations turned off. This only has effect when processing > 100,000
 
2719
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
2720
 
 
2721
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
2722
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
2723
  dependency. (Robert Collins)
 
2724
 
 
2725
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
2726
  parameter for controlling opening of stacked branches.
 
2727
  (Andrew Bennetts, Robert Collins)
 
2728
  
 
2729
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
2730
  in terms of an iter_changes iterator rather than full tree scanning.
 
2731
  (Robert Collins)
 
2732
 
 
2733
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
2734
  enabling it to store the SHA1 and stat of the canonical (post
 
2735
  content filtered) form. (Ian Clatworthy)
 
2736
 
 
2737
* New ``assertLength`` method based on one Martin has squirreled away
 
2738
  somewhere. (Robert Collins, Martin Pool)
 
2739
 
 
2740
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
2741
  objects, allowing better enforcement of the smart server jail when
 
2742
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
2743
 
 
2744
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
2745
  to be added to the stanza that is printed for a particular revision.
 
2746
  (Jelmer Vernooij)
 
2747
 
 
2748
* New repository method ``refresh_data`` to cause any repository to
 
2749
  make visible data inserted into the repository by a smart server
 
2750
  fetch operation. (Robert Collins, Andrew Bennetts)
 
2751
 
 
2752
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
2753
  a callable to invoke if a preference has a value not in the map
 
2754
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
2755
  handle existing svn properties that define a list of keywords to be
 
2756
  expanded.  (Ian Clatworthy)
 
2757
 
 
2758
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
2759
  to write config settings to smart servers that support this, saving
 
2760
  5 round trips on the stacked streaming acceptance test.
 
2761
  (Robert Collins, Andrew Bennetts)
 
2762
 
 
2763
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
2764
  branch specific configuration from a remote server, which uses the 
 
2765
  already existing ``Branch.get_config_file`` smart verb.
 
2766
  (Robert Collins, Andrew Bennetts)
 
2767
 
 
2768
* ``RemoteRepository`` will now negatively cache missing revisions during
 
2769
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
2770
  (Robert Collins, Andrew Bennetts)
 
2771
 
 
2772
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
2773
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
2774
  (Andrew Bennetts)
 
2775
 
 
2776
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
2777
  whether the repository can efficiently generate deltas between trees
 
2778
  regardless of tree size. (Robert Collins)
 
2779
 
 
2780
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
2781
  byte strings" (aka 'chunked') for the content. It previously was
 
2782
  returning a plain string, which worked, but performed very poorly when
 
2783
  building a working tree (file.writelines(str) is very inefficient). This
 
2784
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
2785
 
 
2786
* selftest now supports a --parallel option, with values of 'fork' or
 
2787
  'subprocess' to run the test suite in parallel. Currently only linux
 
2788
  machine work, other platforms need patches submitted. (Robert Collins,
 
2789
  Vincent Ladeuil)
 
2790
 
 
2791
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
2792
  callables to use to decorate the test suite. Such decorators can add or
 
2793
  remove tests, or even remote the test suite to another machine if
 
2794
  desired. (Robert Collins)
 
2795
 
 
2796
* The smart server verb ``Repository.get_parent_map`` can now include
 
2797
  information about ghosts when the special revision ``include-missing:``
 
2798
  is in the requested parents map list. With this flag, ghosts are
 
2799
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
2800
 
 
2801
* ``_walk_to_common_revisions`` will now batch up at least 50
 
2802
  revisions before calling ``get_parent_map`` on the target,
 
2803
  regardless of ``InterRepository``.
 
2804
  (Andrew Bennetts, Robert Collins)
 
2805
 
 
2806
bzr 1.13
 
2807
########
 
2808
 
 
2809
:Codename: paraskavedekatriaphobia
 
2810
:1.13: 2009-03-14
 
2811
:1.13rc1: 2009-03-10
 
2812
:1.13.1: 2009-03-23
 
2813
:1.13.2: 2009-04-27
 
2814
 
 
2815
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
2816
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
2817
stacked branches should both be much faster over remote connections.  
 
2818
 
 
2819
Changes From 1.13.1 to 1.13.2
 
2820
*****************************
 
2821
 
 
2822
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
2823
a stacked branch they do not take care to push all the parent inventories for
 
2824
the transferred revisions. This means that a smart server serving that branch
 
2825
often cannot calculate inventory deltas for the branch (because smart server
 
2826
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
2827
have a verb to stream revisions out of a repository, so that's why this bug has
 
2828
appeared now.
 
2829
 
 
2830
Bug Fixes
 
2831
*********
 
2832
 
 
2833
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
2834
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
2835
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
2836
 
 
2837
Changes From 1.13final to 1.13.1
 
2838
********************************
 
2839
 
 
2840
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
2841
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
2842
to generate GNU ChangeLogs is wrong.
 
2843
 
 
2844
Bug Fixes
 
2845
*********
 
2846
 
 
2847
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
2848
  version_info. (Bob Tanner, Martin Pool, #345232)
 
2849
 
 
2850
* Distribution archives for 1.13 do not contain generated C extension modules
 
2851
  (Jean-Francois Roy, Bob Tanner, #344465)
 
2852
 
 
2853
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
2854
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
2855
 
 
2856
* ``merge --force`` works again. (Robert Collins, #342105)
 
2857
 
 
2858
Changes From 1.13rc1 to 1.13final
 
2859
*********************************
 
2860
 
 
2861
* Fix "is not a stackable format" error when pushing a
 
2862
  stackable-format branch with an unstackable-format repository to a
 
2863
  destination with a default stacking policy.  (Andrew Bennetts)
 
2864
 
 
2865
* Progress bars now show the rate of network activity for
 
2866
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2867
 
 
2868
Compatibility Breaks
 
2869
********************
 
2870
 
 
2871
* ``bzr log --line`` now indicates which revisions are merges with
 
2872
  `[merge]` after the date.  Scripts which parse the output of this
 
2873
  command may need to be adjusted.
 
2874
  (Neil Martinsen-Burrell)
 
2875
 
 
2876
New Features
 
2877
************
 
2878
 
 
2879
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
2880
  options to change the default tree-creation policy of shared
 
2881
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
2882
 
 
2883
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
2884
  (Martin Pool)
 
2885
 
 
2886
* Filtered views provide a mask over the tree so that users can focus
 
2887
  on a subset of a tree when doing their work. See ``Filtered views``
 
2888
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
2889
  (Ian Clatworthy)
 
2890
 
 
2891
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
2892
  (Andrea Bolognani, Martin Pool)
 
2893
 
 
2894
* The ``-Dmemory`` flag now gives memory information on Windows.
 
2895
  (John Arbash Meinel)
 
2896
 
 
2897
* Multiple authors for a commit can now be recorded by using the "--author"
 
2898
  option multiple times. (James Westby, #185772)
 
2899
 
 
2900
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
2901
 
 
2902
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
2903
  branch in your web browser, as long as the branch is on Launchpad at all.
 
2904
  (Jonathan Lange)
 
2905
 
 
2906
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
2907
  (Jonathan Lange)
 
2908
 
 
2909
Improvements
 
2910
************
 
2911
 
 
2912
* All bzr ``Hooks`` classes are now registered in
 
2913
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
2914
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
2915
  correctly isolated by the test suite (previously
 
2916
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
2917
  documentation for hooks is now dynamically generated from the
 
2918
  present HookPoints. ``bzr hooks`` will now also report on all the
 
2919
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
2920
  (Robert Collins)
 
2921
 
 
2922
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
2923
  still prints an error message. (Robert Collins)
 
2924
 
 
2925
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
2926
  generation of a working tree in the new branch.
 
2927
  (Daniel Watkins, John Klinger, #273993)
 
2928
 
 
2929
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
2930
  use ssh://. (Jelmer Vernooij, #330535)
 
2931
 
 
2932
* ``bzr -v info`` now omits the number of committers branch statistic,
 
2933
  making it many times faster for large projects. To include that
 
2934
  statistic in the output, use ``bzr -vv info``.
 
2935
  (Ian Clatworthy)
 
2936
 
 
2937
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
2938
  stream if the server is version 1.13 or greater, reducing roundtrips
 
2939
  significantly. (Andrew Bennetts, Robert Collins)
 
2940
 
 
2941
* Lightweight Checkouts and Stacked Branches should both be much
 
2942
  faster over remote connections. Building the working tree now
 
2943
  batches up requests into approx 5MB requests, rather than a separate
 
2944
  request for each file. (John Arbash Meinel)
 
2945
 
 
2946
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
2947
  (Jelmer Vernooij)
 
2948
 
 
2949
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
2950
  short options better. (Daniel Watkins, #327429)
 
2951
 
 
2952
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
2953
  public location. (Jonathan Lange, #332372)
 
2954
 
 
2955
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
2956
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
2957
  expected. (Jonathan Lange, #332705)
 
2958
 
 
2959
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
2960
 
 
2961
Bug Fixes
 
2962
*********
 
2963
 
 
2964
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
2965
  backtracing. (Vincent Ladeuil, #346431)
 
2966
 
 
2967
* Bazaar now gives a better message including the filename if it's
 
2968
  unable to read a file in the working directory, for example because
 
2969
  of a permission error.  (Martin Pool, #338653)
 
2970
 
 
2971
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
2972
  file id in the working tree different from the one in revision <old>.
 
2973
  (Vincent Ladeuil, #341517, #253806)
 
2974
 
 
2975
* ``bzr send`` help is more specific about how to apply merge
 
2976
  directives.  (Neil Martinsen-Burrell, #253470)
 
2977
 
 
2978
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
2979
  than fetching trees and determining a delta itself. (Jelmer
 
2980
  Vernooij, #315048)
 
2981
 
 
2982
* ``bzr push`` to a smart server no longer causes "Revision
 
2983
  {set([('null:',)])} not present ..." errors when the branch has
 
2984
  multiple root revisions. (Andrew Bennetts, #317654)
 
2985
 
 
2986
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
2987
  (Benoît PIERRE, #303569)
 
2988
 
 
2989
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
2990
  shelf id. (Daniel Watkins)
 
2991
 
 
2992
* Export now handles files that are not present in the tree.
 
2993
  (James Westby, #174539)
 
2994
 
 
2995
* Fixed incorrect "Source format does not support stacking" warning
 
2996
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2997
  
 
2998
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
2999
  error branching from old repositories.
 
3000
  (Martin Pool, #321695)
 
3001
 
 
3002
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
3003
  (Kent Gibson, #221461)
 
3004
 
 
3005
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
3006
  branches, and this was not noticed due to a bug in the test logic
 
3007
  for branches. This is now fixed and a test added to prevent it
 
3008
  reoccuring. (Robert Collins, Andrew Bennetts)
 
3009
 
 
3010
* Restore the progress bar on Windows. We were disabling it when TERM
 
3011
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
3012
  #334808)
 
3013
 
 
3014
* ``setup.py build_ext`` now gives a proper error when an extension
 
3015
  fails to build. (John Arbash Meinel)
 
3016
 
 
3017
* Symlinks to non ascii file names are now supported.
 
3018
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
3019
 
 
3020
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
3021
  transport could revert to ascii mode. It now stays in binary mode except
 
3022
  when needed.  (Vincent Ladeuil)
 
3023
 
 
3024
* Unshelve does not generate warnings about progress bars.
 
3025
  (Aaron Bentley, #328148)
 
3026
 
 
3027
* shelve cleans up properly when unversioned files are specified.
 
3028
  (Benoît Pierre, Aaron Bentley)
 
3029
 
 
3030
Documentation
 
3031
*************
 
3032
 
 
3033
* Added ``Organizing your workspace`` to the User Guide appendices,
 
3034
  summarizing some common ways of organizing trees, branches and
 
3035
  repositories and the processes/workflows implied/enabled by each.
 
3036
  (Ian Clatworthy)
 
3037
 
 
3038
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
3039
  is the entry point for this feature. (Robert Collins)
 
3040
 
 
3041
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
3042
  (Daniel Watkins, #327421, #327425)
 
3043
 
 
3044
API Changes
 
3045
***********
 
3046
 
 
3047
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
3048
  whitespace, non-unix style line endings and files not ending in a
 
3049
  newline. About 372 files and 3243 lines with trailing whitespace was
 
3050
  updated to comply with this. The code already complied with the other
 
3051
  criteria, but now it is enforced. (Marius Kruger)
 
3052
 
 
3053
* ``bzrlib.branch.PushResult`` was renamed to 
 
3054
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
3055
 
 
3056
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
3057
  than a count of copied revisions and failed revisions. A while back
 
3058
  we stopped ever reporting failed revisions because we started
 
3059
  erroring instead, and the copied revisions count is not used in the
 
3060
  UI at all - indeed it only reflects the repository status not
 
3061
  changes to the branch itself. (Robert Collins)
 
3062
 
 
3063
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
3064
  appears multiple times within the delta. (Ian Clatworthy)
 
3065
 
 
3066
* MutableTree.commit now favours the "authors" argument, with the old
 
3067
  "author" argument being deprecated.
 
3068
 
 
3069
* Remove deprecated EmptyTree.  (Martin Pool)
 
3070
 
 
3071
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
3072
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
3073
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
3074
  which revisions to fetch. (Andrew Bennetts)
 
3075
 
 
3076
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
3077
  tuple of ``(repository, is_new_flag)``, rather than just the
 
3078
  repository.  (Andrew Bennetts)
 
3079
 
 
3080
* Revision.get_apparent_author() is now deprecated, replaced by
 
3081
  Revision.get_apparent_authors(), which returns a list. The former
 
3082
  now returns the first item that would be returned from the second.
 
3083
 
 
3084
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
3085
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
3086
 
 
3087
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
3088
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
3089
  describe a disk format capability, not state of a particular
 
3090
  repository of that format). (Robert Collins)
 
3091
 
 
3092
Internals
 
3093
*********
 
3094
 
 
3095
* Branching from a non-stacked branch on a smart protocol is now
 
3096
  free of virtual file system methods.
 
3097
  (Robert Collins, Andrew Bennetts)
 
3098
 
 
3099
* Branch and Repository creation on a bzr+ssh://server are now done
 
3100
  via RPC calls rather than VFS calls, reducing round trips for
 
3101
  pushing new branches substantially. (Robert Collins)
 
3102
 
 
3103
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
3104
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
3105
  configured before the branch tags and revision tip are set. This
 
3106
  fixes a race condition cloning stacked branches that would cause
 
3107
  plugins to have hooks called on non-stacked instances.
 
3108
  (Robert Collins, #334187)
 
3109
 
 
3110
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
3111
 
 
3112
* ``BzrDirFormat.__str__`` now uses the human readable description
 
3113
  rather than the sometimes-absent disk label. (Robert Collins)
 
3114
 
 
3115
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
3116
  allowing for decoupling over a network connection. Fetching from
 
3117
  or into a RemoteRepository with a 1.13 server will use this to
 
3118
  stream the operation.
 
3119
  (Andrew Bennetts, Robert Collins)
 
3120
 
 
3121
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
3122
  supporting the use of different runners. (Robert Collins)
 
3123
 
 
3124
* Change how file_ids and revision_ids are interned as part of
 
3125
  inventory deserialization. Now we use the real ``intern()``, rather
 
3126
  than our own workaround that would also cache a Unicode copy of the
 
3127
  string, and never emptied the cache. This should slightly reduce
 
3128
  memory consumption. (John Arbash Meinel)
 
3129
 
 
3130
* New branch method ``create_clone_on_transport`` that returns a
 
3131
  branch object. (Robert Collins)
 
3132
 
 
3133
* New hook Commands['extend_command'] to allow plugins to access a
 
3134
  command object before the command is run (or help generated from
 
3135
  it), without overriding the command. (Robert Collins)
 
3136
 
 
3137
* New version of the ``BzrDir.find_repository`` verb supporting
 
3138
  ``_network_name`` to support removing more _ensure_real calls.
 
3139
  (Robert Collins)
 
3140
 
 
3141
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
3142
  (Robert Collins)
 
3143
 
 
3144
* ``Repository`` objects now have ``suspend_write_group`` and
 
3145
  ``resume_write_group`` methods.  These are currently only useful
 
3146
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
3147
 
 
3148
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
3149
  now have a ``network_name`` for passing the format across RPC calls.
 
3150
  (Robert Collins, Andrew Bennetts)
 
3151
 
 
3152
* ``RepositoryFormat`` objects now all have a new attribute
 
3153
  ``_serializer`` used by fetch when reserialising is required.
 
3154
  (Robert Collins, Andrew Bennetts)
 
3155
 
 
3156
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
3157
  to aid branch types that are not bzr branch objects (like
 
3158
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
3159
 
 
3160
* Test adaptation has been made consistent throughout the built in
 
3161
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
3162
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
3163
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
3164
  and ``apply_scenario``. (Robert Collins)
 
3165
 
 
3166
* ``TestSkipped`` is now detected by TestCase and passed to the
 
3167
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
3168
  where ``addSkip`` is not available, ``addError`` is still called.
 
3169
  This permits test filtering in subunit to strip out skipped tests
 
3170
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
3171
  with the testtools protocol for skips. (Robert Collins)
 
3172
 
 
3173
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
3174
  to scan an underlying index that is going to be incorporated into
 
3175
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
3176
  delta references. The method is ``scan_unvalidated_index``.
 
3177
  (Andrew Bennetts, Robert Collins)
 
3178
 
 
3179
* There is a RemoteSink object which handles pushing to smart servers.
 
3180
  (Andrew Bennetts, Robert Collins)
 
3181
 
 
3182
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
3183
  ``rmdir`` calls. (Robert Collins)
 
3184
 
 
3185
* ``VersionedFiles`` record adapters have had their signature change
 
3186
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
3187
  ``(record)`` reducing excess duplication and allowing adapters
 
3188
  to access private data in record to obtain content more
 
3189
  efficiently. (Robert Collins)
 
3190
 
 
3191
* We no longer probe to see if we should create a working tree during
 
3192
  clone if we cannot get a local_abspath for the new bzrdir.
 
3193
  (Robert Collins)
 
3194
 
 
3195
 
 
3196
bzr 1.12
 
3197
########
 
3198
 
 
3199
:Codename: 1234567890
 
3200
:1.12: 2009-02-13
 
3201
:1.12rc1: 2009-02-10
 
3202
 
 
3203
This release of Bazaar contains many improvements to the speed,
 
3204
documentation and functionality of ``bzr log`` and the display of logged
 
3205
revisions by ``bzr status``.  bzr now also gives a better indication of
 
3206
progress, both in the way operations are drawn onto a text terminal, and
 
3207
by showing the rate of network IO.
 
3208
 
 
3209
Changes from RC1 to Final
 
3210
*************************
 
3211
 
 
3212
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
3213
  circular import errors. (John Arbash Meinel, #328135)
 
3214
 
 
3215
* Expanded the help for log and added a new help topic called
 
3216
  ``log-formats``.  (Ian Clatworthy)
 
3217
 
 
3218
Compatibility Breaks
 
3219
********************
 
3220
 
 
3221
* By default, ``bzr status`` after a merge now shows just the pending
 
3222
  merge tip revisions. This improves the signal-to-noise ratio after
 
3223
  merging from trunk and completes much faster. To see all merged
 
3224
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
3225
 
 
3226
* ``bzr log --line`` now shows any tags after the date and before
 
3227
  the commit message. If you have scripts which parse the output
 
3228
  from this command, you may need to adjust them accordingly.
 
3229
  (Ian Clatworthy)
 
3230
 
 
3231
* ``bzr log --short`` now shows any additional revision properties
 
3232
  after the date and before the commit message.  Scripts that parse 
 
3233
  output of the log command in this situation may need to adjust.
 
3234
  (Neil Martinsen-Burrell)
 
3235
 
 
3236
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
3237
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
3238
  respectively, given they are not ready for release in 1.12.
 
3239
  (Ian Clatworthy)
 
3240
 
 
3241
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
3242
 
 
3243
New Features
 
3244
************
 
3245
 
 
3246
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
3247
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
3248
  be filtered using ``bzr missing --my-revision -20..-10``.
 
3249
  (Marius Kruger)
 
3250
 
 
3251
* ``bzr log -p`` displays the patch diff for each revision.
 
3252
  When logging a file, the diff only includes changes to that file.
 
3253
  (Ian Clatworthy, #202331, #227335)
 
3254
 
 
3255
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
3256
  A value of 0 (zero) means "show all nested merge revisions" while
 
3257
  a value of 1 (one) means "show just the top level". Values above
 
3258
  1 can be used to see a limited amount of nesting. That can be
 
3259
  useful for seeing the level or two below PQM submits for example.
 
3260
  To force the ``--short`` and ``--line`` formats to display all nested
 
3261
  merge revisions just like ``--long`` does by default, use a command
 
3262
  like ``bzr log --short -n0``. To display just the mainline using
 
3263
  ``--long`` format, ``bzr log --long -n1``.
 
3264
  (Ian Clatworthy)
 
3265
 
 
3266
Improvements
 
3267
************
 
3268
 
 
3269
* ``bzr add`` more clearly communicates success vs failure.
 
3270
  (Daniel Watkins)
 
3271
 
 
3272
* ``bzr init`` will now print a little less verbose output.
 
3273
  (Marius Kruger)
 
3274
 
 
3275
* ``bzr log`` is now much faster in many use cases, particularly
 
3276
  at incrementally displaying results and filtering by a
 
3277
  revision range. (Ian Clatworthy)
 
3278
 
 
3279
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
3280
  for each revision. The tags are shown comma-separated inside
 
3281
  ``{}``. For short format, the tags appear at the end of line
 
3282
  before the optional ``[merge]`` indicator. For line format,
 
3283
  the tags appear after the date. (Ian Clatworthy)
 
3284
 
 
3285
* Progress bars now show the rate of activity for some sftp 
 
3286
  operations, and they are drawn different.  (Martin Pool, #172741)
 
3287
 
 
3288
* Progress bars now show the rate of activity for urllib and pycurl based
 
3289
  http client implementations. The operations are tracked at the socket
 
3290
  level for better precision.
 
3291
  (Vincent Ladeuil)
 
3292
 
 
3293
* Rule-based preferences can now accept multiple patterns for a set of
 
3294
  rules.  (Marius Kruger)
 
3295
 
 
3296
* The ``ancestor:`` revision spec will now default to referring to the
 
3297
  parent of the branch if no other location is given.
 
3298
  (Daniel Watkins, #198417)
 
3299
 
 
3300
* The debugger started as a result of setting ``$BZR_PDB`` works
 
3301
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
3302
  can cause truncated tracebacks in Python versions before 2.6.
 
3303
  (Andrew Bennetts)
 
3304
 
 
3305
* VirtualVersionedFiles now implements
 
3306
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
3307
  new branches based on stacked bzr-svn branches. (#311997)
 
3308
 
 
3309
Bug Fixes
 
3310
*********
 
3311
 
 
3312
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
3313
  anymore.
 
3314
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
3315
 
 
3316
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
3317
  a change to FILE when the ``--short`` and ``--line`` log formats
 
3318
  are used. (Ian Clatworthy, #317417)
 
3319
 
 
3320
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
3321
  it existed in Y or X, even if the file has since been deleted or
 
3322
  renamed. If no range is given, the current/basis tree and
 
3323
  initial tree are searched in that order. More generally, log
 
3324
  now interprets filenames in their historical context.
 
3325
  (Ian Clatworthy, #175520)
 
3326
 
 
3327
* ``bzr status`` now reports nonexistent files and continues, then
 
3328
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
3329
 
 
3330
* Don't require the present compression base in knits to be the same
 
3331
  when adding records in knits. (Jelmer Vernooij, #307394)
 
3332
 
 
3333
* Fix a problem with CIFS client/server lag on Windows colliding with
 
3334
  an invariant-per-process algorithm for generating AtomicFile names
 
3335
  (Adrian Wilkins, #304023)
 
3336
 
 
3337
* Many socket operations now handle EINTR by retrying the operation.
 
3338
  Previously EINTR was treated as an unrecoverable failure.  There is
 
3339
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
3340
  (Andrew Bennetts)
 
3341
 
 
3342
* Support symlinks with non-ascii characters in the symlink filename.
 
3343
  (Jelmer Vernooij, #319323)
 
3344
 
 
3345
* There was a bug in how we handled resolving when a file is deleted
 
3346
  in one branch, and modified in the other. If there was a criss-cross
 
3347
  merge, we would cause the deletion to conflict a second time.
 
3348
  (Vincent Ladeuil, John Arbash Meinel)
 
3349
 
 
3350
* There was another bug in how we chose the correct intermediate LCA in
 
3351
  criss-cross merges leading to several kind of changes be incorrectly
 
3352
  handled.
 
3353
  (John Arbash Meinel, Vincent Ladeuil)
 
3354
 
 
3355
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
3356
 
 
3357
Documentation
 
3358
*************
 
3359
 
 
3360
* Improved plugin developer documentation.  (Martin Pool)
 
3361
 
 
3362
API Changes
 
3363
***********
 
3364
 
 
3365
* ``ProgressBarStack`` is deprecated; instead use
 
3366
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
3367
  (Martin Pool)
 
3368
 
 
3369
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
3370
  argument. (Jelmer Vernooij)
 
3371
 
 
3372
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
3373
  ForeignVcs. (Jelmer Vernooij)
 
3374
 
 
3375
* ``read_bundle_from_url`` is deprecated in favor of
 
3376
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
3377
 
 
3378
* Revision specifiers are now registered in
 
3379
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
3380
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
3381
  deprecated. (Jelmer Vernooij, #321183)
 
3382
 
 
3383
* The progress and UI classes have changed; the main APIs remain the
 
3384
  same but code that provides a new UI or progress bar class may
 
3385
  need to be updated.  (Martin Pool)
 
3386
 
 
3387
Internals
 
3388
*********
 
3389
 
 
3390
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
3391
  terminal. It is sometimes desirable do override this default by forcing
 
3392
  bzr to use TextUIFactory. This can be achieved by setting the
 
3393
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
3394
  compile buffers, are such an example).
 
3395
  (Vincent Ladeuil)
 
3396
 
 
3397
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
3398
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
3399
  (Ian Clatworthy)
 
3400
 
 
3401
* New ``Branch.dotted_revno_to_revision_id()`` and
 
3402
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
3403
  efficient way of doing the mapping.
 
3404
  (Ian Clatworthy)
 
3405
 
 
3406
* Refactor cmd_serve so that it's a little easier to build commands that
 
3407
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
3408
 
 
3409
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
3410
  formatters to retrict the output.
 
3411
  (Vincent Ladeuil)
 
3412
 
 
3413
 
 
3414
bzr 1.11
 
3415
########
 
3416
 
 
3417
:Codename: "Eyes up!"
 
3418
:Released: 2009-01-19
200
3419
 
201
3420
This first monthly release of Bazaar for 2009 improves Bazaar's operation
202
3421
in Windows, Mac OS X, and other situations where file names are matched
211
3430
This release also fixes a number of bugs, particularly a glitch that can
212
3431
occur when there are concurrent writes to a pack repository.
213
3432
 
214
 
  BUG FIXES:
215
 
 
216
 
    * Fix failing test when CompiledChunksToLines is not available.
217
 
      (Vincent Ladeuil)
218
 
 
219
 
    * Stacked branches don't repeatedly open their transport connection.
220
 
      (John Arbash Meinel)
221
 
 
222
 
 
223
 
 
224
 
bzr 1.11rc1 "Eyes up!" 2009-01-09
225
 
---------------------------------
226
 
 
227
 
  CHANGES:
228
 
 
229
 
    * Formats using Knit-based repository formats are now explicitly
230
 
      marked as deprecated. (Ian Clatworthy)
231
 
 
232
 
  NEW FEATURES:
233
 
 
234
 
    * Add support for `bzr tags -r 1..2`, that is we now support showing
235
 
      tags applicable for a specified revision range. (Marius Kruger)
236
 
 
237
 
    * ``authentication.conf`` now accepts pluggable read-only credential
238
 
      stores. Such a plugin (``netrc_credential_store``) is now included,
239
 
      handles the ``$HOME/.netrc`` file and can server as an example to
240
 
      implement other plugins.
241
 
      (Vincent Ladeuil)
242
 
 
243
 
    * ``shelve --list`` can now be used to list shelved changes.
244
 
      (Aaron Bentley)
245
 
 
246
 
  IMPROVEMENTS:
247
 
 
248
 
    * Add trailing slash to directories in all output of ``bzr ls``, except
249
 
      ``bzr ls --null``. (Gordon P. Hemsley, #306424)
250
 
 
251
 
    * ``bzr revision-info`` now supports a -d option to specify an
252
 
      alternative branch. (Michael Hudson)
253
 
 
254
 
    * Add connection to a C++ implementation of the Windows Shell Extension
255
 
      which is able to fully replace the current Python implemented one.
256
 
      Advantages include 64bit support and reduction in overhead for
257
 
      processes which drag in shell extensions.
258
 
      (Mark Hammond)
259
 
 
260
 
    * Support the Claws mail client directly, rather than via
261
 
      xdg-email. This prevents the display of an unnecessary modal
262
 
      dialog in Claws, informing the user that a file has been
263
 
      attached to the message, and works around bug #291847 in
264
 
      xdg-utils which corrupts the destination address.
265
 
 
266
 
    * When working on a case-insensitive case-preserving file-system, as
267
 
      commonly found with Windows, bzr will often ignore the case of the
268
 
      arguments specified by the user in preference to the case of an existing
269
 
      item on the file-system or in the inventory to help prevent
270
 
      counter-intuitive behaviour on Windows. (Mark Hammond)
271
 
 
272
 
  BUG FIXES:
273
 
  
274
 
    * Allow BzrDir implementation to implement backing up of 
275
 
      control directory. (#139691)
276
 
 
277
 
    * ``bzr push`` creating a new stacked branch will now only open a
278
 
      single connection to the target machine. (John Arbash Meinel)
279
 
 
280
 
    * Don't call iteritems on transport_list_registry, because it may
281
 
      change during iteration.  (Martin Pool, #277048)
282
 
 
283
 
    * Don't make a broken branch when pushing an unstackable-format branch
284
 
      that's in a stackable shared repository to a location with default
285
 
      stack-on location.  (Andrew Bennetts, #291046)
286
 
 
287
 
    * Don't require embedding user in HTTP(S) URLs do use authentication.conf.
288
 
      (Ben Jansen, Vincent Ladeuil, #300347)
289
 
 
290
 
    * Fix a problem with CIFS client/server lag on windows colliding with
291
 
      an invariant-per-process algorithm for generating AtomicFile names
292
 
      (Adrian Wilkins, #304023)
293
 
 
294
 
    * Fix bogus setUp signature in UnavailableFTPServer.
295
 
      (Gary van der Merwe, #313498)
296
 
 
297
 
    * Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
298
 
      (Jari Aalto)
299
 
 
300
 
    * Fix SystemError in ``_patiencediff_c`` module by calling
301
 
      PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
302
 
      (Andrew Bennetts, #303206)
303
 
 
304
 
    * Give proper error message for diff with non-existent dotted revno.
305
 
      (Marius Kruger, #301969)
306
 
 
307
 
    * Handle EACCES (permission denied) errors when launching a message
308
 
      editor, and emit warnings when a configured editor cannot be
309
 
      started. (Andrew Bennetts)
310
 
 
311
 
    * ``$HOME/.netrc`` file is now recognized as a read-only credential store
312
 
      if configured in ``authentication.conf`` with 'password_encoding=netrc'
313
 
      in the appropriate sections.
314
 
      (Vincent Ladeuil, #103029)
315
 
 
316
 
    * Opening a stacked branch now properly shares the connection, rather
317
 
      than opening a new connection for the stacked-on branch.
318
 
      (John Arbash meinel)
319
 
 
320
 
    * Preserve transport decorators while following redirections.
321
 
      (Vincent Ladeuil, #245964, #270863)
322
 
 
323
 
    * Provides a finer and more robust filter for accepted redirections.
324
 
      (Vincent Ladeuil, #303959, #265070)
325
 
 
326
 
    * ``shelve`` paths are now interpreted relative to the current working
327
 
      tree.  (Aaron Bentley)
328
 
 
329
 
    * ``Transport.readv()`` defaults to not reading more than 100MB in a
330
 
      single array. Further ``RemoteTransport.readv`` sets this to 5MB to
331
 
      work better with how it splits its requests.
332
 
      (John Arbash Meinel, #303538)
333
 
 
334
 
    * Pack repositories are now able to reload the pack listing and retry
335
 
      the current operation if another action causes the data to be
336
 
      repacked.  (John Arbash Meinel, #153786)
337
 
 
338
 
    * ``pull -v`` now respects the log_format configuration variable.
339
 
      (Aaron Bentley)
340
 
 
341
 
    * ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
342
 
 
343
 
    * Use the short status format when the short format is used for log.
344
 
      (Vincent Ladeuil, #87179)
345
 
 
346
 
    * Allow files to be renamed or moved via remove + add-by-id. (Charles
347
 
      Duffy, #314251)
348
 
 
349
 
  DOCUMENTATION:
350
 
 
351
 
    * Improved the formats help topic to explain why multiple formats
352
 
      exist and to provide guidelines in selecting one. Introduced
353
 
      two new supporting help topics: current-formats and other-formats.
354
 
      (Ian Clatworthy)
355
 
 
356
 
  API CHANGES:
357
 
 
358
 
    * ``LRUCache(after_cleanup_size)`` was renamed to
359
 
      ``after_cleanup_count`` and the old name deprecated. The new name is
360
 
      used for clarity, and to avoid confusion with
361
 
      ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
362
 
 
363
 
    * New ``ForeignRepository`` base class, to help with foreign branch 
364
 
      support (e.g. svn).  (Jelmer Vernooij)
365
 
 
366
 
    * ``node_distances`` and ``select_farthest`` can no longer be imported
367
 
      from ``bzrlib.graph``.  They can still be imported from
368
 
      ``bzrlib.deprecated_graph``, which has been the preferred way to
369
 
      import them since before 1.0.  (Andrew Bennetts)
370
 
      
371
 
    * The logic in commit now delegates inventory basis calculations to
372
 
      the ``CommitBuilder`` object; this requires that the commit builder
373
 
      in use has been updated to support the new ``recording_deletes`` and
374
 
      ``record_delete`` methods. (Robert Collins)
375
 
 
376
 
  TESTING:
377
 
 
378
 
    * An HTTPS server is now available (it requires python-2.6). Future bzr
379
 
      versions will allow the use of the python-2.6 ssl module that can be
380
 
      installed for 2.5 and 2.4.
381
 
 
382
 
    * ``bzr selftest`` now fails if new trailing white space is added to
383
 
      the bazaar sources. It only checks changes not committed yet. This
384
 
      means that PQM will now reject changes that introduce new trailing
385
 
      whitespace. (Marius Kruger)
386
 
 
387
 
    * Introduced new experimental formats called ``1.12-preview`` and
388
 
      ``1.12-preview-rich-root`` to enable testing of related pending
389
 
      features, namely content filtering and filtered views.
390
 
      (Ian Clatworthy)
391
 
 
392
 
  INTERNALS:
393
 
 
394
 
    * Added an ``InventoryEntry`` cache when deserializing inventories.
395
 
      Can cut the time to iterate over multiple RevisionsTrees in half.
396
 
      (John Arbash Meinel)
397
 
 
398
 
    * Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
399
 
      minimal overhead versus using a plain dict for cache hits, at the
400
 
      cost of not preserving the 'active' set as well as an ``LRUCache``.
401
 
      (John Arbash Meinel)
402
 
 
403
 
    * ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
404
 
      character to separate the filename from the date stamp, and doesn't
405
 
      add trailing whitespace when a date stamp is not supplied.
406
 
      (Adeodato Simó, John Arbash Meinel)
407
 
 
408
 
    * ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
409
 
      as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
410
 
      respectively. (Ian Clatworthy)
411
 
 
412
 
    * ``KnitVersionedFiles._check_should_delta()`` now uses the
413
 
      ``get_build_details`` api to avoid multiple hits to the index, and
414
 
      to properly follow the ``compression_parent`` rather than assuming
415
 
      it is the left-hand parent. (John Arbash Meinel)
416
 
 
417
 
    * ``KnitVersionedFiles.get_record_stream()`` will now chose a
418
 
      more optimal ordering when the keys are requested 'unordered'.
419
 
      Previously the order was fully random, now the records should be
420
 
      returned from each pack in turn, in forward I/O order.
421
 
      (John Arbash Meinel)
 
3433
Bug Fixes
 
3434
*********
 
3435
 
 
3436
* Fix failing test when CompiledChunksToLines is not available.
 
3437
  (Vincent Ladeuil)
 
3438
 
 
3439
* Stacked branches don't repeatedly open their transport connection.
 
3440
  (John Arbash Meinel)
 
3441
 
 
3442
 
 
3443
 
 
3444
bzr 1.11rc1
 
3445
###########
 
3446
 
 
3447
:Codename: "Eyes up!"
 
3448
:Released: 2009-01-09
 
3449
 
 
3450
Changes
 
3451
*******
 
3452
 
 
3453
* Formats using Knit-based repository formats are now explicitly
 
3454
  marked as deprecated. (Ian Clatworthy)
 
3455
 
 
3456
New Features
 
3457
************
 
3458
 
 
3459
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
3460
  tags applicable for a specified revision range. (Marius Kruger)
 
3461
 
 
3462
* ``authentication.conf`` now accepts pluggable read-only credential
 
3463
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
3464
  handles the ``$HOME/.netrc`` file and can server as an example to
 
3465
  implement other plugins.
 
3466
  (Vincent Ladeuil)
 
3467
 
 
3468
* ``shelve --list`` can now be used to list shelved changes.
 
3469
  (Aaron Bentley)
 
3470
 
 
3471
Improvements
 
3472
************
 
3473
 
 
3474
* Add trailing slash to directories in all output of ``bzr ls``, except
 
3475
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
3476
 
 
3477
* ``bzr revision-info`` now supports a -d option to specify an
 
3478
  alternative branch. (Michael Hudson)
 
3479
 
 
3480
* Add connection to a C++ implementation of the Windows Shell Extension
 
3481
  which is able to fully replace the current Python implemented one.
 
3482
  Advantages include 64bit support and reduction in overhead for
 
3483
  processes which drag in shell extensions.
 
3484
  (Mark Hammond)
 
3485
 
 
3486
* Support the Claws mail client directly, rather than via
 
3487
  xdg-email. This prevents the display of an unnecessary modal
 
3488
  dialog in Claws, informing the user that a file has been
 
3489
  attached to the message, and works around bug #291847 in
 
3490
  xdg-utils which corrupts the destination address.
 
3491
 
 
3492
* When working on a case-insensitive case-preserving file-system, as
 
3493
  commonly found with Windows, bzr will often ignore the case of the
 
3494
  arguments specified by the user in preference to the case of an existing
 
3495
  item on the file-system or in the inventory to help prevent
 
3496
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
3497
 
 
3498
Bug Fixes
 
3499
*********
 
3500
  
 
3501
* Allow BzrDir implementation to implement backing up of 
 
3502
  control directory. (#139691)
 
3503
 
 
3504
* ``bzr push`` creating a new stacked branch will now only open a
 
3505
  single connection to the target machine. (John Arbash Meinel)
 
3506
 
 
3507
* Don't call iteritems on transport_list_registry, because it may
 
3508
  change during iteration.  (Martin Pool, #277048)
 
3509
 
 
3510
* Don't make a broken branch when pushing an unstackable-format branch
 
3511
  that's in a stackable shared repository to a location with default
 
3512
  stack-on location.  (Andrew Bennetts, #291046)
 
3513
 
 
3514
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
3515
  (Ben Jansen, Vincent Ladeuil, #300347)
 
3516
 
 
3517
* Fix a problem with CIFS client/server lag on windows colliding with
 
3518
  an invariant-per-process algorithm for generating AtomicFile names
 
3519
  (Adrian Wilkins, #304023)
 
3520
 
 
3521
* Fix bogus setUp signature in UnavailableFTPServer.
 
3522
  (Gary van der Merwe, #313498)
 
3523
 
 
3524
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
3525
  (Jari Aalto)
 
3526
 
 
3527
* Fix SystemError in ``_patiencediff_c`` module by calling
 
3528
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
3529
  (Andrew Bennetts, #303206)
 
3530
 
 
3531
* Give proper error message for diff with non-existent dotted revno.
 
3532
  (Marius Kruger, #301969)
 
3533
 
 
3534
* Handle EACCES (permission denied) errors when launching a message
 
3535
  editor, and emit warnings when a configured editor cannot be
 
3536
  started. (Andrew Bennetts)
 
3537
 
 
3538
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
3539
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
3540
  in the appropriate sections.
 
3541
  (Vincent Ladeuil, #103029)
 
3542
 
 
3543
* Opening a stacked branch now properly shares the connection, rather
 
3544
  than opening a new connection for the stacked-on branch.
 
3545
  (John Arbash meinel)
 
3546
 
 
3547
* Preserve transport decorators while following redirections.
 
3548
  (Vincent Ladeuil, #245964, #270863)
 
3549
 
 
3550
* Provides a finer and more robust filter for accepted redirections.
 
3551
  (Vincent Ladeuil, #303959, #265070)
 
3552
 
 
3553
* ``shelve`` paths are now interpreted relative to the current working
 
3554
  tree.  (Aaron Bentley)
 
3555
 
 
3556
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
3557
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
3558
  work better with how it splits its requests.
 
3559
  (John Arbash Meinel, #303538)
 
3560
 
 
3561
* Pack repositories are now able to reload the pack listing and retry
 
3562
  the current operation if another action causes the data to be
 
3563
  repacked.  (John Arbash Meinel, #153786)
 
3564
 
 
3565
* ``pull -v`` now respects the log_format configuration variable.
 
3566
  (Aaron Bentley)
 
3567
 
 
3568
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
3569
 
 
3570
* Use the short status format when the short format is used for log.
 
3571
  (Vincent Ladeuil, #87179)
 
3572
 
 
3573
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
3574
  Duffy, #314251)
 
3575
 
 
3576
Documentation
 
3577
*************
 
3578
 
 
3579
* Improved the formats help topic to explain why multiple formats
 
3580
  exist and to provide guidelines in selecting one. Introduced
 
3581
  two new supporting help topics: current-formats and other-formats.
 
3582
  (Ian Clatworthy)
 
3583
 
 
3584
API Changes
 
3585
***********
 
3586
 
 
3587
* ``LRUCache(after_cleanup_size)`` was renamed to
 
3588
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
3589
  used for clarity, and to avoid confusion with
 
3590
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
3591
 
 
3592
* New ``ForeignRepository`` base class, to help with foreign branch 
 
3593
  support (e.g. svn).  (Jelmer Vernooij)
 
3594
 
 
3595
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
3596
  from ``bzrlib.graph``.  They can still be imported from
 
3597
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
3598
  import them since before 1.0.  (Andrew Bennetts)
 
3599
  
 
3600
* The logic in commit now delegates inventory basis calculations to
 
3601
  the ``CommitBuilder`` object; this requires that the commit builder
 
3602
  in use has been updated to support the new ``recording_deletes`` and
 
3603
  ``record_delete`` methods. (Robert Collins)
 
3604
 
 
3605
Testing
 
3606
*******
 
3607
 
 
3608
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
3609
  versions will allow the use of the python-2.6 ssl module that can be
 
3610
  installed for 2.5 and 2.4.
 
3611
 
 
3612
* ``bzr selftest`` now fails if new trailing white space is added to
 
3613
  the bazaar sources. It only checks changes not committed yet. This
 
3614
  means that PQM will now reject changes that introduce new trailing
 
3615
  whitespace. (Marius Kruger)
 
3616
 
 
3617
* Introduced new experimental formats called ``1.12-preview`` and
 
3618
  ``1.12-preview-rich-root`` to enable testing of related pending
 
3619
  features, namely content filtering and filtered views.
 
3620
  (Ian Clatworthy)
 
3621
 
 
3622
Internals
 
3623
*********
 
3624
 
 
3625
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
3626
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
3627
  (John Arbash Meinel)
 
3628
 
 
3629
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
3630
  minimal overhead versus using a plain dict for cache hits, at the
 
3631
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
3632
  (John Arbash Meinel)
 
3633
 
 
3634
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
3635
  character to separate the filename from the date stamp, and doesn't
 
3636
  add trailing whitespace when a date stamp is not supplied.
 
3637
  (Adeodato Simó, John Arbash Meinel)
 
3638
 
 
3639
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
3640
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
3641
  respectively. (Ian Clatworthy)
 
3642
 
 
3643
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
3644
  ``get_build_details`` api to avoid multiple hits to the index, and
 
3645
  to properly follow the ``compression_parent`` rather than assuming
 
3646
  it is the left-hand parent. (John Arbash Meinel)
 
3647
 
 
3648
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
3649
  more optimal ordering when the keys are requested 'unordered'.
 
3650
  Previously the order was fully random, now the records should be
 
3651
  returned from each pack in turn, in forward I/O order.
 
3652
  (John Arbash Meinel)
422
3653
    
423
 
    * ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
424
 
      than 2s since the last time it flushed. (John Arbash Meinel)
425
 
 
426
 
    * New method ``bzrlib.repository.Repository.add_inventory_by_delta``
427
 
      allows adding an inventory via an inventory delta, which can be
428
 
      more efficient for some repository types. (Robert Collins)
429
 
 
430
 
    * Repository ``CommitBuilder`` objects can now accumulate an inventory
431
 
      delta. To enable this functionality call ``builder.recording_deletes``
432
 
      and additionally call ``builder.record_delete`` when a delete
433
 
      against the basis occurs. (Robert Collins)
434
 
 
435
 
    * The default http handler has been changed from pycurl to urllib.
436
 
      The default is still pycurl for https connections. (The only
437
 
      advantage of pycurl is that it checks ssl certificates.)
438
 
      (John Arbash Meinel)
439
 
 
440
 
    * ``VersionedFiles.get_record_stream()`` can now return objects with a
441
 
      storage_kind of ``chunked``. This is a collection (list/tuple) of
442
 
      strings. You can use ``osutils.chunks_to_lines()`` to turn them into
443
 
      guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
444
 
      into a fulltext. This allows for some very good memory savings when
445
 
      asking for many texts that share ancestry, as the individual chunks
446
 
      can be shared between versions of the file. (John Arbash Meinel)
447
 
 
448
 
    * ``pull -v`` and ``push -v`` use new function
449
 
      ``bzrlib.log.show_branch_change`` (Aaron Bentley)
450
 
 
451
 
 
452
 
 
453
 
bzr 1.10 2008-12-05
454
 
-------------------
 
3654
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
3655
  than 2s since the last time it flushed. (John Arbash Meinel)
 
3656
 
 
3657
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
3658
  allows adding an inventory via an inventory delta, which can be
 
3659
  more efficient for some repository types. (Robert Collins)
 
3660
 
 
3661
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
3662
  delta. To enable this functionality call ``builder.recording_deletes``
 
3663
  and additionally call ``builder.record_delete`` when a delete
 
3664
  against the basis occurs. (Robert Collins)
 
3665
 
 
3666
* The default http handler has been changed from pycurl to urllib.
 
3667
  The default is still pycurl for https connections. (The only
 
3668
  advantage of pycurl is that it checks ssl certificates.)
 
3669
  (John Arbash Meinel)
 
3670
 
 
3671
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
3672
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
3673
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
3674
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
3675
  into a fulltext. This allows for some very good memory savings when
 
3676
  asking for many texts that share ancestry, as the individual chunks
 
3677
  can be shared between versions of the file. (John Arbash Meinel)
 
3678
 
 
3679
* ``pull -v`` and ``push -v`` use new function
 
3680
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
3681
 
 
3682
 
 
3683
 
 
3684
bzr 1.10
 
3685
########
 
3686
 
 
3687
:Released: 2008-12-05
455
3688
 
456
3689
Bazaar 1.10 has several performance improvements for copying revisions
457
3690
(especially for small updates to large projects).  There has also been a
461
3694
 
462
3695
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
463
3696
 
464
 
  BUG FIXES:
465
 
 
466
 
    * Don't set a pack write cache size from RepoFetcher, because the
467
 
      cache is not coherent with reads and causes ShortReadvErrors.
468
 
      This reverses the change that fixed #294479.
469
 
      (Martin Pool, #303856)
470
 
 
471
 
    * Properly handle when a revision can be inserted as a delta versus
472
 
      when it needs to be expanded to a fulltext for stacked branches.
473
 
      There was a bug involving merge revisions. As a method to help
474
 
      prevent future difficulties, also make stacked fetches sort
475
 
      topologically. (John Arbash Meinel, #304841)
476
 
 
477
 
 
478
 
bzr 1.10rc1 2008-11-28
479
 
----------------------
 
3697
bug Fixes
 
3698
*********
 
3699
 
 
3700
* Don't set a pack write cache size from RepoFetcher, because the
 
3701
  cache is not coherent with reads and causes ShortReadvErrors.
 
3702
  This reverses the change that fixed #294479.
 
3703
  (Martin Pool, #303856)
 
3704
 
 
3705
* Properly handle when a revision can be inserted as a delta versus
 
3706
  when it needs to be expanded to a fulltext for stacked branches.
 
3707
  There was a bug involving merge revisions. As a method to help
 
3708
  prevent future difficulties, also make stacked fetches sort
 
3709
  topologically. (John Arbash Meinel, #304841)
 
3710
 
 
3711
 
 
3712
bzr 1.10rc1
 
3713
###########
 
3714
 
 
3715
:Released: 2008-11-28
480
3716
 
481
3717
This release of Bazaar focuses on performance improvements when pushing
482
3718
and pulling revisions, both locally and to remote networks.  The popular
484
3720
restore work in progress, have been merged from bzrtools into the bzr
485
3721
core.  There are also bug fixes for portability, and for stacked branches.
486
3722
 
487
 
  NEW FEATURES:
488
 
 
489
 
    * New ``commit_message_template`` hook that is called by the commit
490
 
      code to generate a template commit message. (Jelmer Vernooij)
491
 
 
492
 
    * New `shelve` and `unshelve` commands allow undoing and redoing changes.
493
 
      (Aaron Bentley)
494
 
 
495
 
  IMPROVEMENTS:
496
 
 
497
 
    * ``(Remote)Branch.copy_content_into`` no longer generates the full revision
498
 
      history just to set the last revision info.
499
 
      (Andrew Bennetts, John Arbash Meinel)
500
 
 
501
 
    * Fetches between formats with different serializers (such as
502
 
      pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
503
 
      operating on batches of 100 revisions at time rather than
504
 
      one-by-one.  (Andrew Bennetts, John Arbash Meinel)
505
 
 
506
 
    * Search index files corresponding to pack files we've already used
507
 
      before searching others, because they are more likely to have the
508
 
      keys we're looking for.  This reduces the number of iix and tix
509
 
      files accessed when pushing 1 new revision, for instance.
510
 
      (John Arbash Meinel)
511
 
 
512
 
    * Signatures to transfer are calculated more efficiently in
513
 
      ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
514
 
 
515
 
    * The generic fetch code can once again copy revisions and signatures
516
 
      without extracting them completely to fulltexts and then serializing
517
 
      them back down into byte strings. This is a significant performance
518
 
      improvement when fetching from a stacked branch.
519
 
      (John Arbash Meinel, #300289)
520
 
 
521
 
    * When making a large readv() request over ``bzr+ssh``, break up the
522
 
      request into more manageable chunks. Because the RPC is not yet able
523
 
      to stream, this helps keep us from buffering too much information at
524
 
      once. (John Arbash Meinel)
525
 
 
526
 
  BUG FIXES:
527
 
 
528
 
    * Better message when the user needs to set their Launchpad ID.
529
 
      (Martin Pool, #289148)
530
 
 
531
 
    * ``bzr commit --local`` doesn't access the master branch anymore.
532
 
      This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
533
 
 
534
 
    * Don't call the system ``chdir()`` with an empty path. Sun OS seems
535
 
      to give an error in that case.  Also, don't count on ``getcwd()``
536
 
      being able to allocate a new buffer, which is a gnu extension.
537
 
      (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
538
 
 
539
 
    * Don't crash when requesting log --forward <file> for a revision range
540
 
      starting with a dotted revno.
541
 
      (Vincent Ladeuil, #300055)
542
 
 
543
 
    * Don't create text deltas spanning stacked repositories; this could
544
 
      cause "Revision X not present in Y" when later accessing them.
545
 
      (Martin Pool, #288751)
546
 
 
547
 
    * Pack repositories are now able to reload the pack listing and retry
548
 
      the current operation if another action causes the data to be
549
 
      repacked.  (John Arbash Meinel, #153786)
550
 
 
551
 
    * PermissionDenied errors from smart servers no longer cause
552
 
      "PermissionDenied: "None"" on the client.
553
 
      (Andrew Bennetts, #299254)
554
 
 
555
 
    * Pushing to a stacked pack repository now batches writes, the same
556
 
      way writes are batched to ordinary pack repository.  This makes
557
 
      pushing to a stacked branch over the network much faster.
558
 
      (Andrew Bennetts, #294479)
559
 
 
560
 
    * TooManyConcurrentRequests no longer occur when a fetch fails and
561
 
      tries to abort a write group.  This allows the root cause (e.g. a
562
 
      network interruption) to be reported.  (Andrew Bennetts, #297014)
563
 
 
564
 
    * RemoteRepository.get_parent_map now uses fallback repositories.
565
 
      (Aaron Bentley, #297991?, #293679?)
566
 
 
567
 
  API CHANGES:
568
 
 
569
 
    * ``CommitBuilder`` now validates the strings it will be committing,
570
 
      to ensure that they do not have characters that will not be properly
571
 
      round-tripped. For now, it just checks for characters that are
572
 
      invalid in the XML form. (John Arbash Meinel, #295161)
573
 
 
574
 
    * Constructor parameters for NewPack (internal to pack repositories)
575
 
      have changed incompatibly.
576
 
 
577
 
    * ``Repository.abort_write_group`` now accepts an optional
578
 
      ``suppress_errors`` flag.  Repository implementations that override
579
 
      ``abort_write_group`` will need to be updated to accept the new
580
 
      argument.  Subclasses that only override ``_abort_write_group``
581
 
      don't need to change.
582
 
 
583
 
    * Transport implementations must provide copy_tree_to_transport.  A default
584
 
      implementation is provided for Transport subclasses.
585
 
 
586
 
  TESTING:
587
 
 
588
 
    * ``bzr selftest`` now fails if no doctests are found in a module
589
 
      that's expected to have them.  (Martin Pool)
590
 
 
591
 
    * Doctests now only report the first failure.  (Martin Pool)
592
 
 
593
 
 
594
 
bzr 1.9 2008-11-07
595
 
------------------
 
3723
New Features
 
3724
************
 
3725
 
 
3726
* New ``commit_message_template`` hook that is called by the commit
 
3727
  code to generate a template commit message. (Jelmer Vernooij)
 
3728
 
 
3729
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
3730
  (Aaron Bentley)
 
3731
 
 
3732
Improvements
 
3733
************
 
3734
 
 
3735
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
3736
  history just to set the last revision info.
 
3737
  (Andrew Bennetts, John Arbash Meinel)
 
3738
 
 
3739
* Fetches between formats with different serializers (such as
 
3740
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
3741
  operating on batches of 100 revisions at time rather than
 
3742
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
3743
 
 
3744
* Search index files corresponding to pack files we've already used
 
3745
  before searching others, because they are more likely to have the
 
3746
  keys we're looking for.  This reduces the number of iix and tix
 
3747
  files accessed when pushing 1 new revision, for instance.
 
3748
  (John Arbash Meinel)
 
3749
 
 
3750
* Signatures to transfer are calculated more efficiently in
 
3751
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
3752
 
 
3753
* The generic fetch code can once again copy revisions and signatures
 
3754
  without extracting them completely to fulltexts and then serializing
 
3755
  them back down into byte strings. This is a significant performance
 
3756
  improvement when fetching from a stacked branch.
 
3757
  (John Arbash Meinel, #300289)
 
3758
 
 
3759
* When making a large readv() request over ``bzr+ssh``, break up the
 
3760
  request into more manageable chunks. Because the RPC is not yet able
 
3761
  to stream, this helps keep us from buffering too much information at
 
3762
  once. (John Arbash Meinel)
 
3763
 
 
3764
Bug Fixes
 
3765
*********
 
3766
 
 
3767
* Better message when the user needs to set their Launchpad ID.
 
3768
  (Martin Pool, #289148)
 
3769
 
 
3770
* ``bzr commit --local`` doesn't access the master branch anymore.
 
3771
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
3772
 
 
3773
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
3774
  to give an error in that case.  Also, don't count on ``getcwd()``
 
3775
  being able to allocate a new buffer, which is a gnu extension.
 
3776
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
3777
 
 
3778
* Don't crash when requesting log --forward <file> for a revision range
 
3779
  starting with a dotted revno.
 
3780
  (Vincent Ladeuil, #300055)
 
3781
 
 
3782
* Don't create text deltas spanning stacked repositories; this could
 
3783
  cause "Revision X not present in Y" when later accessing them.
 
3784
  (Martin Pool, #288751)
 
3785
 
 
3786
* Pack repositories are now able to reload the pack listing and retry
 
3787
  the current operation if another action causes the data to be
 
3788
  repacked.  (John Arbash Meinel, #153786)
 
3789
 
 
3790
* PermissionDenied errors from smart servers no longer cause
 
3791
  "PermissionDenied: "None"" on the client.
 
3792
  (Andrew Bennetts, #299254)
 
3793
 
 
3794
* Pushing to a stacked pack repository now batches writes, the same
 
3795
  way writes are batched to ordinary pack repository.  This makes
 
3796
  pushing to a stacked branch over the network much faster.
 
3797
  (Andrew Bennetts, #294479)
 
3798
 
 
3799
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
3800
  tries to abort a write group.  This allows the root cause (e.g. a
 
3801
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
3802
 
 
3803
* RemoteRepository.get_parent_map now uses fallback repositories.
 
3804
  (Aaron Bentley, #297991?, #293679?)
 
3805
 
 
3806
API Changes
 
3807
***********
 
3808
 
 
3809
* ``CommitBuilder`` now validates the strings it will be committing,
 
3810
  to ensure that they do not have characters that will not be properly
 
3811
  round-tripped. For now, it just checks for characters that are
 
3812
  invalid in the XML form. (John Arbash Meinel, #295161)
 
3813
 
 
3814
* Constructor parameters for NewPack (internal to pack repositories)
 
3815
  have changed incompatibly.
 
3816
 
 
3817
* ``Repository.abort_write_group`` now accepts an optional
 
3818
  ``suppress_errors`` flag.  Repository implementations that override
 
3819
  ``abort_write_group`` will need to be updated to accept the new
 
3820
  argument.  Subclasses that only override ``_abort_write_group``
 
3821
  don't need to change.
 
3822
 
 
3823
* Transport implementations must provide copy_tree_to_transport.  A default
 
3824
  implementation is provided for Transport subclasses.
 
3825
 
 
3826
Testing
 
3827
*******
 
3828
 
 
3829
* ``bzr selftest`` now fails if no doctests are found in a module
 
3830
  that's expected to have them.  (Martin Pool)
 
3831
 
 
3832
* Doctests now only report the first failure.  (Martin Pool)
 
3833
 
 
3834
 
 
3835
bzr 1.9
 
3836
#######
 
3837
 
 
3838
:Released: 2008-11-07
596
3839
 
597
3840
This release of Bazaar adds a new repository format, ``1.9``, with smaller
598
3841
and more efficient index files.  This format can be specified when
601
3844
protocol, makes annotate faster, and uses less memory when making
602
3845
checkouts or pulling large amounts of data.
603
3846
 
604
 
  BUG FIXES:
605
 
 
606
 
   * Fix "invalid property value 'branch-nick' for None" regression with
607
 
     branches bound to svn branches.  (Martin Pool, #293440)
608
 
 
609
 
   * Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
610
 
 
611
 
   * ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
612
 
     This only triggers some-of-the-time on Knit format repositories.
613
 
     (John Arbash Meinel, #293746)
614
 
 
615
 
 
616
 
bzr 1.9rc1 2008-10-31
617
 
---------------------
618
 
 
619
 
  NEW FEATURES:
620
 
 
621
 
    * New Branch hook ``transform_fallback_location`` allows a function to
622
 
      be called when looking up the stacked source. (Michael Hudson)
623
 
 
624
 
    * New repository formats ``1.9`` and ``1.9-rich-root``. These have all
625
 
      the functionality of ``1.6``, but use the new btree indexes.
626
 
      These indexes are both smaller and faster for access to historical
627
 
      information.  (John Arbash Meinel)
628
 
 
629
 
  IMPROVEMENTS:
630
 
 
631
 
    * ``BTreeIndex`` code now is able to prefetch extra pages to help tune
632
 
      the tradeoff between bandwidth and latency. Should be tuned
633
 
      appropriately to not impact commands which need minimal information,
634
 
      but provide a significant boost to ones that need more context. Only
635
 
      has a direct impact on the ``--development2`` format which uses
636
 
      btree's for the indexes. (John Arbash Meinel)
637
 
 
638
 
    * ``bzr dump-btree`` is a hidden command introduced to allow dumping
639
 
      the contents of a compressed btree file.  (John Arbash Meinel)
640
 
 
641
 
    * ``bzr pack`` now tells the index builders to optimize for size. For
642
 
      btree index repositories, this can save 25% of the index size
643
 
      (mostly in the text indexes). (John Arbash Meinel)
644
 
 
645
 
    * ``bzr push`` to an existing branch or repository on a smart server
646
 
      is faster, due to Bazaar making more use of the ``get_parent_map``
647
 
      RPC when querying the remote branch's revision graph.
648
 
      (Andrew Bennetts)
649
 
 
650
 
    * default username for bzr+ssh and sftp can be configured in
651
 
      authentication.conf. (Aaron Bentley)
652
 
 
653
 
    * launchpad-login now provides a default username for bzr+ssh and sftp
654
 
      URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
655
 
 
656
 
    * ``lp:`` lookups no longer include usernames, making them shareable and
657
 
      shorter. (Aaron Bentley)
658
 
 
659
 
    * New ``PackRepository.autopack`` smart server RPC, which does
660
 
      autopacking entirely on the server.  This is much faster than
661
 
      autopacking via plain file methods, which downloads a large amount
662
 
      of pack data and then re-uploads the same pack data into a single
663
 
      file.  This fixes a major (although infrequent) cause of lengthy
664
 
      delays when using a smart server.  For example, pushing the 10th
665
 
      revision to a repository with 9 packs now takes 44 RPCs rather than
666
 
      179, and much less bandwidth too.  This requires Bazaar 1.9 on both
667
 
      the client and the server, otherwise the client will fallback to the
668
 
      slower method.  (Andrew Bennetts)
669
 
 
670
 
  BUG FIXES:
671
 
 
672
 
    * A failure to load a plugin due to an IncompatibleAPI exception is
673
 
      now correctly reported. (Robert Collins, #279451)
674
 
 
675
 
    * API versioning support now has a multiple-version checking api
676
 
      ``require_any_api``. (Robert Collins, #279447)
677
 
 
678
 
    * ``bzr branch --stacked`` from a smart server to a standalone branch
679
 
      works again.  This fixes a regression in 1.7 and 1.8.
680
 
      (Andrew Bennetts, #270397)
681
 
 
682
 
    * ``bzr co`` uses less memory. It used to unpack the entire WT into
683
 
      memory before writing it to disk. This was a little bit faster, but
684
 
      consumed lots of memory. (John Arbash Meinel, #269456)
685
 
 
686
 
    * ``bzr missing --quiet`` no longer prints messages about whether
687
 
      there are missing revisions.  The exit code indicates whether there
688
 
      were or not.  (Martin Pool, #284748)
689
 
 
690
 
    * Fixes to the ``annotate`` code. The fast-path which re-used the
691
 
      stored deltas was accidentally disabled all the time, instead of
692
 
      only when a branch was stacked. Second, the code would accidentally
693
 
      re-use a delta even if it wasn't against the left-parent, this
694
 
      could only happen if ``bzr reconcile`` decided that the parent
695
 
      ordering was incorrect in the file graph.  (John Arbash Meinel)
696
 
 
697
 
    * "Permission denied" errors that occur when pushing a new branch to a
698
 
      smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
699
 
 
700
 
    * Some compatibility fixes for building the extensions with MSVC and
701
 
      for python2.4. (John Arbash Meinel, #277484)
702
 
 
703
 
    * The index logic is now able to reload the list of pack files if and
704
 
      index ends up disappearing. We still don't reload if the pack data
705
 
      itself goes missing after checking the index. This bug appears as a
706
 
      transient failure (file not found) when another process is writing
707
 
      to the repository.  (John Arbash Meinel, #153786)
708
 
 
709
 
    * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
710
 
      it was previously set. All checkouts will now refer to the bound branch
711
 
      for a nickname if one was not explicitly set.
712
 
      (Marius Kruger, #230903)
713
 
 
714
 
  DOCUMENTATION:
715
 
 
716
 
    * Improved hook documentation. (Michael Ernst)
717
 
 
718
 
  API CHANGES:
719
 
 
720
 
    * commands.plugins_cmds is now a CommandRegistry, not a dict.
721
 
 
722
 
  INTERNALS:
723
 
 
724
 
     * New AuthenticationConfig.set_credentials method allows easy programmatic
725
 
       configuration of authetication credentials.
726
 
 
727
 
 
728
 
bzr 1.8 2008-10-16
729
 
------------------
 
3847
Bug Fixes
 
3848
*********
 
3849
 
 
3850
* Fix "invalid property value 'branch-nick' for None" regression with
 
3851
  branches bound to svn branches.  (Martin Pool, #293440)
 
3852
 
 
3853
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
3854
 
 
3855
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
3856
  This only triggers some-of-the-time on Knit format repositories.
 
3857
  (John Arbash Meinel, #293746)
 
3858
 
 
3859
 
 
3860
bzr 1.9rc1
 
3861
##########
 
3862
 
 
3863
:Released: 2008-10-31
 
3864
 
 
3865
New Features
 
3866
************
 
3867
 
 
3868
* New Branch hook ``transform_fallback_location`` allows a function to
 
3869
  be called when looking up the stacked source. (Michael Hudson)
 
3870
 
 
3871
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
3872
  the functionality of ``1.6``, but use the new btree indexes.
 
3873
  These indexes are both smaller and faster for access to historical
 
3874
  information.  (John Arbash Meinel)
 
3875
 
 
3876
Improvements
 
3877
************
 
3878
 
 
3879
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
3880
  the tradeoff between bandwidth and latency. Should be tuned
 
3881
  appropriately to not impact commands which need minimal information,
 
3882
  but provide a significant boost to ones that need more context. Only
 
3883
  has a direct impact on the ``--development2`` format which uses
 
3884
  btree's for the indexes. (John Arbash Meinel)
 
3885
 
 
3886
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
3887
  the contents of a compressed btree file.  (John Arbash Meinel)
 
3888
 
 
3889
* ``bzr pack`` now tells the index builders to optimize for size. For
 
3890
  btree index repositories, this can save 25% of the index size
 
3891
  (mostly in the text indexes). (John Arbash Meinel)
 
3892
 
 
3893
* ``bzr push`` to an existing branch or repository on a smart server
 
3894
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
3895
  RPC when querying the remote branch's revision graph.
 
3896
  (Andrew Bennetts)
 
3897
 
 
3898
* default username for bzr+ssh and sftp can be configured in
 
3899
  authentication.conf. (Aaron Bentley)
 
3900
 
 
3901
* launchpad-login now provides a default username for bzr+ssh and sftp
 
3902
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
3903
 
 
3904
* ``lp:`` lookups no longer include usernames, making them shareable and
 
3905
  shorter. (Aaron Bentley)
 
3906
 
 
3907
* New ``PackRepository.autopack`` smart server RPC, which does
 
3908
  autopacking entirely on the server.  This is much faster than
 
3909
  autopacking via plain file methods, which downloads a large amount
 
3910
  of pack data and then re-uploads the same pack data into a single
 
3911
  file.  This fixes a major (although infrequent) cause of lengthy
 
3912
  delays when using a smart server.  For example, pushing the 10th
 
3913
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
3914
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
3915
  the client and the server, otherwise the client will fallback to the
 
3916
  slower method.  (Andrew Bennetts)
 
3917
 
 
3918
Bug Fixes
 
3919
*********
 
3920
 
 
3921
* A failure to load a plugin due to an IncompatibleAPI exception is
 
3922
  now correctly reported. (Robert Collins, #279451)
 
3923
 
 
3924
* API versioning support now has a multiple-version checking api
 
3925
  ``require_any_api``. (Robert Collins, #279447)
 
3926
 
 
3927
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
3928
  works again.  This fixes a regression in 1.7 and 1.8.
 
3929
  (Andrew Bennetts, #270397)
 
3930
 
 
3931
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
3932
  memory before writing it to disk. This was a little bit faster, but
 
3933
  consumed lots of memory. (John Arbash Meinel, #269456)
 
3934
 
 
3935
* ``bzr missing --quiet`` no longer prints messages about whether
 
3936
  there are missing revisions.  The exit code indicates whether there
 
3937
  were or not.  (Martin Pool, #284748)
 
3938
 
 
3939
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
3940
  stored deltas was accidentally disabled all the time, instead of
 
3941
  only when a branch was stacked. Second, the code would accidentally
 
3942
  re-use a delta even if it wasn't against the left-parent, this
 
3943
  could only happen if ``bzr reconcile`` decided that the parent
 
3944
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
3945
 
 
3946
* "Permission denied" errors that occur when pushing a new branch to a
 
3947
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
3948
 
 
3949
* Some compatibility fixes for building the extensions with MSVC and
 
3950
  for python2.4. (John Arbash Meinel, #277484)
 
3951
 
 
3952
* The index logic is now able to reload the list of pack files if and
 
3953
  index ends up disappearing. We still don't reload if the pack data
 
3954
  itself goes missing after checking the index. This bug appears as a
 
3955
  transient failure (file not found) when another process is writing
 
3956
  to the repository.  (John Arbash Meinel, #153786)
 
3957
 
 
3958
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3959
  it was previously set. All checkouts will now refer to the bound branch
 
3960
  for a nickname if one was not explicitly set.
 
3961
  (Marius Kruger, #230903)
 
3962
 
 
3963
Documentation
 
3964
*************
 
3965
 
 
3966
* Improved hook documentation. (Michael Ernst)
 
3967
 
 
3968
API Changes
 
3969
***********
 
3970
 
 
3971
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
3972
 
 
3973
Internals
 
3974
*********
 
3975
 
 
3976
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
3977
  configuration of authetication credentials.
 
3978
 
 
3979
 
 
3980
bzr 1.8
 
3981
#######
 
3982
 
 
3983
:Released: 2008-10-16
730
3984
 
731
3985
Bazaar 1.8 includes several fixes that improve working tree performance,
732
3986
display of revision logs, and merges.  The bzr testsuite now passes on OS
734
3988
smartserver code has gained several bug fixes and performance
735
3989
improvements, and can now run server-side hooks within an http server.
736
3990
 
737
 
  BUG FIXES:
738
 
 
739
 
   * Fix "Must end write group" error when another error occurs during
740
 
     ``bzr push``.  (Andrew Bennetts, #230902)
741
 
 
742
 
  PORTABILITY:
743
 
 
744
 
   * Some Pyrex versions require the WIN32 macro defined to compile on
745
 
     that platform.  (Alexander Belchenko, Martin Pool, #277481)
746
 
 
747
 
 
748
 
bzr 1.8rc1 2008-10-07
749
 
---------------------
750
 
 
751
 
  CHANGES:
752
 
 
753
 
    * ``bzr log file`` has been changed. It now uses a different method
754
 
      for determining which revisions to show as merging the changes to
755
 
      the file. It now only shows revisions which merged the change
756
 
      towards your mainline. This simplifies the output, makes it faster,
757
 
      and reduces memory consumption.  (John Arbash Meinel)
758
 
 
759
 
    * ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
760
 
      ``--show-base`` is not supplied.  (John Arbash Meinel)
761
 
 
762
 
    * ``bzr+http//`` will now optionally load plugins and write logs on the
763
 
      server. (Marius Kruger)
764
 
 
765
 
    * ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
766
 
      Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
767
 
      explicitly blacklist that version of the compiler for that
768
 
      extension. Packaged versions will include .c files created with
769
 
      pyrex >= 0.9.6 so it doesn't effect releases, only users running
770
 
      from the source tree. (John Arbash Meinel, #276868)
771
 
 
772
 
  FEATURES:
773
 
 
774
 
    * bzr is now compatible with python-2.6. python-2.6 is not yet officially
775
 
      supported (nor released, tests were conducted with the dev version of
776
 
      python-2.6rc2), but all known problems have been fixed.  Feedback
777
 
      welcome.
778
 
      (Vincent Ladeuil, #269535)
779
 
 
780
 
  IMPROVEMENTS:
781
 
 
782
 
    * ``bzr annotate`` will now include uncommitted changes from the local
783
 
      working tree by default. Such uncommitted changes are given the
784
 
      revision number they would get if a commit was done, followed with a
785
 
      ? to indicate that its not actually known. (Robert Collins, #3439)
786
 
 
787
 
    * ``bzr branch`` now accepts a ``--standalone`` option, which creates a
788
 
      standalone branch regardless of the presence of shared repositories.
789
 
      (Daniel Watkins)
790
 
 
791
 
    * ``bzr push`` is faster in the case there are no new revisions to
792
 
      push.  It is also faster if there are no tags in the local branch.
793
 
      (Andrew Bennetts)
794
 
 
795
 
    * File changes during a commit will update the tree stat cache.
796
 
      (Robert Collins)
797
 
 
798
 
    * Location aliases can now accept a trailing path.  (Micheal Hudson)
799
 
 
800
 
    * New hooks ``Lock.hooks`` when LockDirs are acquired and released.
801
 
      (Robert Collins, MartinPool)
802
 
 
803
 
    * Switching in heavyweight checkouts uses the master branch's context, not
804
 
      the checkout's context.  (Adrian Wilkins)
805
 
 
806
 
    * ``status`` on large trees is now faster, due to optimisations in the
807
 
      walkdirs code. Of particular note, the walkdirs code now performs
808
 
      a temporary ``chdir()`` while reading a single directory; if your
809
 
      platform has non thread-local current working directories (and is
810
 
      not windows which has its own implementation), this may introduce a
811
 
      race condition during concurrent uses of bzrlib. The bzrlib CLI
812
 
      will not encounter this as it is single threaded for working tree
813
 
      operations. (Robert Collins)
814
 
 
815
 
    * The C extensions now build on python 2.4 (Robert Collins, #271939)
816
 
 
817
 
    * The ``-Dhpss`` debug flag now reports the number of smart server
818
 
      calls per medium to stderr.  This is in addition to the existing
819
 
      detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
820
 
 
821
 
  BUG FIXES:
822
 
 
823
 
    * Avoid random failures arising from misinterpreted ``errno`` values
824
 
      in ``_readdir_pyx.read_dir``.
825
 
      (Martin Pool, #279381)
826
 
 
827
 
    * Branching from a shared repository on a smart server into a new
828
 
      repository now preserves the repository format.
829
 
      (Andrew Bennetts, #269214)
830
 
 
831
 
    * ``bzr log`` now accepts a ``--change`` option.
832
 
      (Vincent Ladeuil, #248427)
833
 
 
834
 
    * ``bzr missing`` now accepts an ``--include-merges`` option.
835
 
      (Vincent Ladeuil, #233817)
836
 
 
837
 
    * Don't try to filter (internally) '.bzr' from the files to be deleted if
838
 
      it's not there.
839
 
      (Vincent Ladeuil, #272648)
840
 
 
841
 
    * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
842
 
      (Andrew Bennetts)
843
 
 
844
 
    * Fix TooManyConcurrentRequests errors caused by a connection failure
845
 
      when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
846
 
      (Andrew Bennetts, #246233)
847
 
 
848
 
    * Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
849
 
      is in a different repository than the current one.
850
 
      (Lukáš Lalinský, #144421)
851
 
 
852
 
    * Make the first line of the manpage preamble a comment again.
853
 
      (David Futcher, #242106)
854
 
 
855
 
    * Remove use of optional parameter in GSSAPI FTP support, since
856
 
      it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
857
 
 
858
 
    * The autopacking logic will now always create a single new pack from
859
 
      all of the content which it deems is worth moving. This avoids the
860
 
      'repack a single pack' bug and should result in better packing
861
 
      overall.  (John Arbash Meinel, #242510, #172644)
862
 
 
863
 
    * Trivial documentation fix.
864
 
      (John Arbash Meinel, #270471)
865
 
 
866
 
    * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
867
 
      it was previously set. All checkouts will now refer to the bound branch
868
 
      for a nickname if one was not explicitly set.
869
 
      (Marius Kruger, #230903)
870
 
 
871
 
  DOCUMENTATION:
872
 
 
873
 
    * Explain revision/range identifiers. (Daniel Clemente)
874
 
 
875
 
  API CHANGES:
876
 
 
877
 
    * ``CommitBuilder.record_entry_contents`` returns one more element in
878
 
      its result tuple - an optional file system hash for the hash cache
879
 
      to use. (Robert Collins)
880
 
 
881
 
    * ``dirstate.DirState.update_entry`` will now only calculate the sha1
882
 
      of a file if it is likely to be needed in determining the output
883
 
      of iter_changes. (Robert Collins)
884
 
 
885
 
    * The PackRepository, RepositoryPackCollection, NewPack classes have a
886
 
      slightly changed interface to support different index types; as a
887
 
      result other users of these classes need to supply the index types
888
 
      they want. (Robert Collins)
889
 
 
890
 
  TESTING:
891
 
 
892
 
    * ``bzrlib.tests.repository_implementations`` has been renamed to
893
 
      ``bzrlib.tests.per_repository`` so that we have a common structure
894
 
      (and it is shorter). (John Arbash Meinel, #239343)
895
 
 
896
 
    * ``LocalTransport.abspath()`` now returns a drive letter if the
897
 
      transport has one, fixing numerous tests on Windows.
898
 
      (Mark Hammond)
899
 
 
900
 
    * PreviewTree is now tested via intertree_implementations.
901
 
      (Aaron Bentley)
902
 
 
903
 
    * The full test suite is passing again on OSX.
904
 
      (Guillermo Gonzalez, Vincent Ladeuil)
905
 
 
906
 
    * The full test suite passes when run with ``-Eallow_debug``.
907
 
      (Andrew Bennetts)
908
 
 
909
 
  INTERNALS:
910
 
 
911
 
    * A new hook, ``Branch.open``, has been added, which is called when
912
 
      branch objects are opened. (Robert Collins)
913
 
 
914
 
    * ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
915
 
      tree walking, and modular directory listing code to aid future
916
 
      performance optimisations and refactoring. (Robert Collins)
917
 
 
918
 
    * ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
919
 
      in the middle of processing. It only reports memory if
920
 
      ``/proc/PID/status`` is available. (John Arbash Meinel)
921
 
 
922
 
    * New method ``RevisionSpec.as_tree`` for representing the revision
923
 
      specifier as a revision tree object. (Lukáš Lalinský)
924
 
 
925
 
    * New race-free method on MutableTree ``get_file_with_stat`` for use
926
 
      when generating stat cache results. (Robert Collins)
927
 
 
928
 
    * New win32utils.get_local_appdata_location() provides access to a local
929
 
      directory for storing data.  (Mark Hammond)
930
 
 
931
 
    * To be compatible with python-2.6 a few new rules should be
932
 
      observed. 'message' attribute can't be used anymore in exception
933
 
      classes, 'sha' and 'md5' modules have been deprecated (use
934
 
      osutils.[md5|sha]), object__init__ and object.__new__ don't accept
935
 
      parameters anymore.
936
 
      (Vincent Ladeuil)
937
 
 
938
 
 
939
 
bzr 1.7.1 2008-10-01
940
 
--------------------
941
 
 
942
 
  No changes from 1.7.1rc1.
943
 
 
944
 
 
945
 
bzr 1.7.1rc1 2008-09-24
946
 
-----------------------
 
3991
Bug Fixes
 
3992
*********
 
3993
 
 
3994
* Fix "Must end write group" error when another error occurs during
 
3995
  ``bzr push``.  (Andrew Bennetts, #230902)
 
3996
 
 
3997
Portability
 
3998
***********
 
3999
 
 
4000
* Some Pyrex versions require the WIN32 macro defined to compile on
 
4001
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
4002
 
 
4003
 
 
4004
bzr 1.8rc1
 
4005
##########
 
4006
 
 
4007
:Released: 2008-10-07
 
4008
 
 
4009
Changes
 
4010
*******
 
4011
 
 
4012
* ``bzr log file`` has been changed. It now uses a different method
 
4013
  for determining which revisions to show as merging the changes to
 
4014
  the file. It now only shows revisions which merged the change
 
4015
  towards your mainline. This simplifies the output, makes it faster,
 
4016
  and reduces memory consumption.  (John Arbash Meinel)
 
4017
 
 
4018
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
4019
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
4020
 
 
4021
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
4022
  server. (Marius Kruger)
 
4023
 
 
4024
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
4025
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
4026
  explicitly blacklist that version of the compiler for that
 
4027
  extension. Packaged versions will include .c files created with
 
4028
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
4029
  from the source tree. (John Arbash Meinel, #276868)
 
4030
 
 
4031
Features
 
4032
********
 
4033
 
 
4034
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
4035
  supported (nor released, tests were conducted with the dev version of
 
4036
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
4037
  welcome.
 
4038
  (Vincent Ladeuil, #269535)
 
4039
 
 
4040
Improvements
 
4041
************
 
4042
 
 
4043
* ``bzr annotate`` will now include uncommitted changes from the local
 
4044
  working tree by default. Such uncommitted changes are given the
 
4045
  revision number they would get if a commit was done, followed with a
 
4046
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
4047
 
 
4048
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
4049
  standalone branch regardless of the presence of shared repositories.
 
4050
  (Daniel Watkins)
 
4051
 
 
4052
* ``bzr push`` is faster in the case there are no new revisions to
 
4053
  push.  It is also faster if there are no tags in the local branch.
 
4054
  (Andrew Bennetts)
 
4055
 
 
4056
* File changes during a commit will update the tree stat cache.
 
4057
  (Robert Collins)
 
4058
 
 
4059
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
4060
 
 
4061
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
4062
  (Robert Collins, MartinPool)
 
4063
 
 
4064
* Switching in heavyweight checkouts uses the master branch's context, not
 
4065
  the checkout's context.  (Adrian Wilkins)
 
4066
 
 
4067
* ``status`` on large trees is now faster, due to optimisations in the
 
4068
  walkdirs code. Of particular note, the walkdirs code now performs
 
4069
  a temporary ``chdir()`` while reading a single directory; if your
 
4070
  platform has non thread-local current working directories (and is
 
4071
  not windows which has its own implementation), this may introduce a
 
4072
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
4073
  will not encounter this as it is single threaded for working tree
 
4074
  operations. (Robert Collins)
 
4075
 
 
4076
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
4077
 
 
4078
* The ``-Dhpss`` debug flag now reports the number of smart server
 
4079
  calls per medium to stderr.  This is in addition to the existing
 
4080
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
4081
 
 
4082
Bug Fixes
 
4083
*********
 
4084
 
 
4085
* Avoid random failures arising from misinterpreted ``errno`` values
 
4086
  in ``_readdir_pyx.read_dir``.
 
4087
  (Martin Pool, #279381)
 
4088
 
 
4089
* Branching from a shared repository on a smart server into a new
 
4090
  repository now preserves the repository format.
 
4091
  (Andrew Bennetts, #269214)
 
4092
 
 
4093
* ``bzr log`` now accepts a ``--change`` option.
 
4094
  (Vincent Ladeuil, #248427)
 
4095
 
 
4096
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
4097
  (Vincent Ladeuil, #233817)
 
4098
 
 
4099
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
4100
  it's not there.
 
4101
  (Vincent Ladeuil, #272648)
 
4102
 
 
4103
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
4104
  (Andrew Bennetts)
 
4105
 
 
4106
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
4107
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
4108
  (Andrew Bennetts, #246233)
 
4109
 
 
4110
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
4111
  is in a different repository than the current one.
 
4112
  (Lukáš Lalinský, #144421)
 
4113
 
 
4114
* Make the first line of the manpage preamble a comment again.
 
4115
  (David Futcher, #242106)
 
4116
 
 
4117
* Remove use of optional parameter in GSSAPI FTP support, since
 
4118
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
4119
 
 
4120
* The autopacking logic will now always create a single new pack from
 
4121
  all of the content which it deems is worth moving. This avoids the
 
4122
  'repack a single pack' bug and should result in better packing
 
4123
  overall.  (John Arbash Meinel, #242510, #172644)
 
4124
 
 
4125
* Trivial documentation fix.
 
4126
  (John Arbash Meinel, #270471)
 
4127
 
 
4128
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
4129
  it was previously set. All checkouts will now refer to the bound branch
 
4130
  for a nickname if one was not explicitly set.
 
4131
  (Marius Kruger, #230903)
 
4132
 
 
4133
Documentation
 
4134
*************
 
4135
 
 
4136
* Explain revision/range identifiers. (Daniel Clemente)
 
4137
 
 
4138
API Changes
 
4139
***********
 
4140
 
 
4141
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
4142
  its result tuple - an optional file system hash for the hash cache
 
4143
  to use. (Robert Collins)
 
4144
 
 
4145
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
4146
  of a file if it is likely to be needed in determining the output
 
4147
  of iter_changes. (Robert Collins)
 
4148
 
 
4149
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
4150
  slightly changed interface to support different index types; as a
 
4151
  result other users of these classes need to supply the index types
 
4152
  they want. (Robert Collins)
 
4153
 
 
4154
Testing
 
4155
*******
 
4156
 
 
4157
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
4158
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
4159
  (and it is shorter). (John Arbash Meinel, #239343)
 
4160
 
 
4161
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
4162
  transport has one, fixing numerous tests on Windows.
 
4163
  (Mark Hammond)
 
4164
 
 
4165
* PreviewTree is now tested via intertree_implementations.
 
4166
  (Aaron Bentley)
 
4167
 
 
4168
* The full test suite is passing again on OSX.
 
4169
  (Guillermo Gonzalez, Vincent Ladeuil)
 
4170
 
 
4171
* The full test suite passes when run with ``-Eallow_debug``.
 
4172
  (Andrew Bennetts)
 
4173
 
 
4174
Internals
 
4175
*********
 
4176
 
 
4177
* A new hook, ``Branch.open``, has been added, which is called when
 
4178
  branch objects are opened. (Robert Collins)
 
4179
 
 
4180
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
4181
  tree walking, and modular directory listing code to aid future
 
4182
  performance optimisations and refactoring. (Robert Collins)
 
4183
 
 
4184
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
4185
  in the middle of processing. It only reports memory if
 
4186
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
4187
 
 
4188
* New method ``RevisionSpec.as_tree`` for representing the revision
 
4189
  specifier as a revision tree object. (Lukáš Lalinský)
 
4190
 
 
4191
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
4192
  when generating stat cache results. (Robert Collins)
 
4193
 
 
4194
* New win32utils.get_local_appdata_location() provides access to a local
 
4195
  directory for storing data.  (Mark Hammond)
 
4196
 
 
4197
* To be compatible with python-2.6 a few new rules should be
 
4198
  observed. 'message' attribute can't be used anymore in exception
 
4199
  classes, 'sha' and 'md5' modules have been deprecated (use
 
4200
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
4201
  parameters anymore.
 
4202
  (Vincent Ladeuil)
 
4203
 
 
4204
 
 
4205
bzr 1.7.1
 
4206
#########
 
4207
 
 
4208
:Released:  2008-10-01
 
4209
 
 
4210
No changes from 1.7.1rc1.
 
4211
 
 
4212
 
 
4213
bzr 1.7.1rc1
 
4214
############
 
4215
 
 
4216
:Released: 2008-09-24
947
4217
 
948
4218
This release just includes an update to how the merge algorithm handles
949
4219
file paths when we encounter complex history.
950
4220
 
951
 
  FEATURES:
952
 
 
953
 
    * If we encounter a criss-cross in history, use information from
954
 
      direct Least Common Ancestors to resolve inventory shape (locations
955
 
      of files, adds, deletes, etc). This is similar in concept to using
956
 
      ``--lca`` for merging file texts, only applied to paths.
957
 
      (John Arbash Meinel)
958
 
 
959
 
 
960
 
bzr 1.7 2008-09-23
961
 
------------------
 
4221
Features
 
4222
********
 
4223
 
 
4224
* If we encounter a criss-cross in history, use information from
 
4225
  direct Least Common Ancestors to resolve inventory shape (locations
 
4226
  of files, adds, deletes, etc). This is similar in concept to using
 
4227
  ``--lca`` for merging file texts, only applied to paths.
 
4228
  (John Arbash Meinel)
 
4229
 
 
4230
 
 
4231
bzr 1.7
 
4232
#######
 
4233
 
 
4234
:Released: 2008-09-23
962
4235
 
963
4236
This release includes many bug fixes and a few performance and feature
964
4237
improvements.  ``bzr rm`` will now scan for missing files and remove them,
967
4240
been brought in, with an eye on using it in a future repository format.
968
4241
There are only minor installer changes since bzr-1.7rc2.
969
4242
 
970
 
  FEATURES
971
 
 
972
 
    * Some small updates to the win32 installer. Include localization
973
 
      files found in plugins, and include the builtin distutils as part of
974
 
      packaging qbzr. (Mark Hammond)
975
 
 
976
 
 
977
 
bzr 1.7rc2 2008-09-17
978
 
---------------------
 
4243
Features
 
4244
********
 
4245
 
 
4246
* Some small updates to the win32 installer. Include localization
 
4247
  files found in plugins, and include the builtin distutils as part of
 
4248
  packaging qbzr. (Mark Hammond)
 
4249
 
 
4250
 
 
4251
bzr 1.7rc2
 
4252
##########
 
4253
 
 
4254
:Released: 2008-09-17
979
4255
 
980
4256
A few bug fixes from 1.7rc1. The biggest change is a new
981
4257
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
982
4258
trying to access a Stacked branch over the smart protocol, to properly
983
4259
connect to the stacked-on location.
984
4260
 
985
 
  BUG FIXES:
986
 
 
987
 
    * Branching from a shared repository on a smart server into a new
988
 
      repository now preserves the repository format.
989
 
      (Andrew Bennetts, #269214)
990
 
 
991
 
   * Branching from a stacked branch via ``bzr+ssh`` can properly connect
992
 
     to the stacked-on branch.  (Martin Pool, #261315)
993
 
 
994
 
    * ``bzr init`` no longer re-opens the BzrDir multiple times.
995
 
      (Vincent Ladeuil)
996
 
 
997
 
    * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
998
 
      (Andrew Bennetts)
999
 
 
1000
 
 
1001
 
bzr 1.7rc1 2008-09-09
1002
 
---------------------
 
4261
Bug Fixes
 
4262
*********
 
4263
 
 
4264
* Branching from a shared repository on a smart server into a new
 
4265
  repository now preserves the repository format.
 
4266
  (Andrew Bennetts, #269214)
 
4267
 
 
4268
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
4269
  to the stacked-on branch.  (Martin Pool, #261315)
 
4270
 
 
4271
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
4272
  (Vincent Ladeuil)
 
4273
 
 
4274
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
4275
  (Andrew Bennetts)
 
4276
 
 
4277
 
 
4278
bzr 1.7rc1
 
4279
##########
 
4280
 
 
4281
:Released: 2008-09-09
1003
4282
 
1004
4283
This release candidate for bzr 1.7 has several bug fixes and a few
1005
4284
performance and feature improvements.  ``bzr rm`` will now scan for
1009
4288
it in a future repository format.
1010
4289
 
1011
4290
 
1012
 
  CHANGES:
1013
 
 
1014
 
    * ``bzr export`` can now export a subdirectory of a project.
1015
 
      (Robert Collins)
1016
 
 
1017
 
    * ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
1018
 
      changes, unless the ``--force`` option is specified.
1019
 
      (Lukáš Lalinský, #74101)
1020
 
 
1021
 
    * ``bzr rm`` will now scan for files that are missing and remove just
1022
 
      them automatically, much as ``bzr add`` scans for new files that
1023
 
      are not ignored and adds them automatically. (Robert Collins)
1024
 
 
1025
 
  FEATURES
1026
 
 
1027
 
    * Support for GSSAPI authentication when using FTP as documented in
1028
 
      RFC2228. (Jelmer Vernooij, #49623)
1029
 
 
1030
 
    * Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
1031
 
 
1032
 
  IMPROVEMENTS:
1033
 
 
1034
 
    * A url like ``log+file:///tmp`` will log all access to that Transport
1035
 
      to ``.bzr.log``, which may help in debugging or profiling.
1036
 
      (Martin Pool)
1037
 
 
1038
 
    * ``bzr branch`` and ``bzr push`` use the default stacking policy if the
1039
 
      branch format supports it. (Aaron Bentley)
1040
 
 
1041
 
    * ``bzr init`` and ``bzr init-repo`` will now print out the same as
1042
 
      ``bzr info`` if it completed successfully.
1043
 
      (Marius Kruger)
1044
 
 
1045
 
    * ``bzr uncommit`` logs the old tip revision id, and displays how to
1046
 
      restore the branch to that tip using ``bzr pull``.  This allows you
1047
 
      to recover if you realize you uncommitted the wrong thing.
1048
 
      (John Arbash Meinel)
1049
 
 
1050
 
    * Fix problems in accessing stacked repositories over ``bzr://``.
1051
 
      (Martin Pool, #261315)
1052
 
 
1053
 
    * ``SFTPTransport.readv()`` was accidentally using ``list += string``,
1054
 
      which 'works', but adds each character separately to the list,
1055
 
      rather than using ``list.append(string)``. Fixing this makes the
1056
 
      SFTP transport a little bit faster (~20%) and use a bit less memory.
1057
 
      (John Arbash Meinel)
1058
 
 
1059
 
    * When reading index files, if we happen to read the whole file in a
1060
 
      single request treat it as a ``_buffer_all`` request. This happens
1061
 
      most often on small indexes over remote transports, where we default
1062
 
      to reading 64kB. It saves a round trip for each small index during
1063
 
      fetch operations. Also, if we have read more than 50% of an index
1064
 
      file, trigger a ``_buffer_all`` on the next request. This works
1065
 
      around some inefficiencies because reads don't fall neatly on page
1066
 
      boundaries, so we would ignore those bytes, but request them again
1067
 
      later. This could trigger a total read size of more than the whole
1068
 
      file. (John Arbash Meinel)
1069
 
 
1070
 
  BUG FIXES:
1071
 
 
1072
 
    * ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
1073
 
      users. (Robert Collins, #205416)
1074
 
 
1075
 
    * Catch the infamous "select/poll returned error" which occurs when
1076
 
      pycurl try to send a body request to an HTTP/1.0 server which has
1077
 
      already refused to handle the request. (Vincent Ladeuil, #225020)
1078
 
 
1079
 
    * Fix ``ObjectNotLocked`` errors when using various commands
1080
 
      (including ``bzr cat`` and ``bzr annotate``) in combination with a
1081
 
      smart server URL.  (Andrew Bennetts, #237067)
1082
 
 
1083
 
    * ``FTPTransport.stat()`` would return ``0000`` as the permission bits
1084
 
      for the containing ``.bzr/`` directory (it does not implement
1085
 
      permissions). This would cause us to set all subdirectories to
1086
 
      ``0700`` and files to ``0600`` rather than leaving them unmodified.
1087
 
      Now we ignore ``0000`` as the permissions and assume they are
1088
 
      invalid. (John Arbash Meinel, #259855)
1089
 
 
1090
 
    * Merging from a previously joined branch will no longer cause
1091
 
      a traceback. (Jelmer Vernooij, #203376)
1092
 
 
1093
 
    * Pack operations on windows network shares will work even with large
1094
 
      files. (Robert Collins, #255656)
1095
 
 
1096
 
    * Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
1097
 
      status. Status is also about 7% faster on mozilla sized trees
1098
 
      when the path to the root of the tree has been given. Users of
1099
 
      the internal ``show_tree_status`` function should be aware that
1100
 
      the show_pending flag is now authoritative for showing pending
1101
 
      merges, as it was originally. (Robert Collins, #225204)
1102
 
 
1103
 
    * Set valid default _param_name for Option so that ListOption can embed
1104
 
      '-' in names. (Vincent Ladeuil, #263249)
1105
 
 
1106
 
    * Show proper error rather than traceback when an unknown revision
1107
 
      id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
1108
 
 
1109
 
    * Trailing text in the dirstate file could cause the C dirstate parser
1110
 
      to try to allocate an invalid amount of memory. We now properly
1111
 
      check and test for parsing a dirstate with invalid trailing data.
1112
 
      (John Arbash Meinel, #186014)
1113
 
 
1114
 
    * Unexpected error responses from a smart server no longer cause the
1115
 
      client to traceback.  (Andrew Bennetts, #263527)
1116
 
 
1117
 
    * Use a Windows api function to get a Unicode host name, rather than
1118
 
      assuming the host name is ascii.
1119
 
      (Mark Hammond, John Arbash Meinel, #256550)
1120
 
 
1121
 
    * ``WorkingTree4`` trees will now correctly report missing-and-new
1122
 
      paths in the output of ``iter_changes``. (Robert Collins)
1123
 
 
1124
 
  DOCUMENTATION:
1125
 
 
1126
 
    * Updated developer documentation.  (Martin Pool)
1127
 
 
1128
 
  API CHANGES:
1129
 
 
1130
 
    * Exporters now take 4 parameters. (Robert Collins)
1131
 
 
1132
 
    * ``Tree.iter_changes`` will now return False for the content change
1133
 
      field when a file is missing in the basis tree and not present in
1134
 
      the target tree. Previously it returned True unconditionally.
1135
 
      (Robert Collins)
1136
 
 
1137
 
    * The deprecated ``Branch.abspath`` and unimplemented
1138
 
      ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
1139
 
 
1140
 
    * BzrDir.clone_on_transport implementations must now accept a stacked_on
1141
 
      parameter.  (Aaron Bentley)
1142
 
 
1143
 
    * BzrDir.cloning_metadir implementations must now take a require_stacking
1144
 
      parameter.  (Aaron Bentley)
1145
 
 
1146
 
  TESTING:
1147
 
 
1148
 
    * ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
1149
 
      which are then passed to the cleanup callable as it is run. In
1150
 
      addition, addCleanup no longer requires that the callables passed to
1151
 
      it be unique. (Jonathan Lange)
1152
 
 
1153
 
    * Fix some tests that fail on Windows because files are deleted while
1154
 
      still in use.
1155
 
      (Mark Hammond)
1156
 
 
1157
 
    * ``selftest``'s ``--starting-with`` option can now use predefined
1158
 
      prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
1159
 
      ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
1160
 
 
1161
 
    * ``selftest``'s ``--starting-with`` option now accepts multiple values.
1162
 
      (Vincent Ladeuil)
1163
 
 
1164
 
  INTERNALS:
1165
 
 
1166
 
    * A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
1167
 
      This allows dynamic log output filtering by plugins.
1168
 
      (Robert Collins)
1169
 
 
1170
 
    * ``bzrlib.btree_index`` is now available, providing a b-tree index
1171
 
      layer. The design is memory conservative (limited memory cache),
1172
 
      faster to seek (approx 100 nodes per page, gives 100-way fan out),
1173
 
      and stores compressed pages allowing more keys per page.
1174
 
      (Robert Collins, John Arbash Meinel)
1175
 
 
1176
 
    * ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
1177
 
      is unknown in both source and target.
1178
 
      (Robert Collins, Aaron Bentley)
1179
 
 
1180
 
    * ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
1181
 
      streamlined a bit. This should make creating large indexes faster.
1182
 
      (In benchmarking, it now takes less time to create a BTree index than
1183
 
      it takes to read the GraphIndex one.) (John Arbash Meinel)
1184
 
 
1185
 
    * Mail clients for `bzr send` are now listed in a registry.  This
1186
 
      allows plugins to add new clients by registering them with
1187
 
      ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
1188
 
      clients now use this mechanism.  (Neil Martinsen-Burrell)
1189
 
 
1190
 
 
1191
 
bzr 1.6.1 2008-09-05
1192
 
--------------------
 
4291
Changes
 
4292
*******
 
4293
 
 
4294
* ``bzr export`` can now export a subdirectory of a project.
 
4295
  (Robert Collins)
 
4296
 
 
4297
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
4298
  changes, unless the ``--force`` option is specified.
 
4299
  (Lukáš Lalinský, #74101)
 
4300
 
 
4301
* ``bzr rm`` will now scan for files that are missing and remove just
 
4302
  them automatically, much as ``bzr add`` scans for new files that
 
4303
  are not ignored and adds them automatically. (Robert Collins)
 
4304
 
 
4305
Features
 
4306
********
 
4307
 
 
4308
* Support for GSSAPI authentication when using FTP as documented in
 
4309
  RFC2228. (Jelmer Vernooij, #49623)
 
4310
 
 
4311
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
4312
 
 
4313
Improvements
 
4314
************
 
4315
 
 
4316
* A url like ``log+file:///tmp`` will log all access to that Transport
 
4317
  to ``.bzr.log``, which may help in debugging or profiling.
 
4318
  (Martin Pool)
 
4319
 
 
4320
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
4321
  branch format supports it. (Aaron Bentley)
 
4322
 
 
4323
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
4324
  ``bzr info`` if it completed successfully.
 
4325
  (Marius Kruger)
 
4326
 
 
4327
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
4328
  restore the branch to that tip using ``bzr pull``.  This allows you
 
4329
  to recover if you realize you uncommitted the wrong thing.
 
4330
  (John Arbash Meinel)
 
4331
 
 
4332
* Fix problems in accessing stacked repositories over ``bzr://``.
 
4333
  (Martin Pool, #261315)
 
4334
 
 
4335
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
4336
  which 'works', but adds each character separately to the list,
 
4337
  rather than using ``list.append(string)``. Fixing this makes the
 
4338
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
4339
  (John Arbash Meinel)
 
4340
 
 
4341
* When reading index files, if we happen to read the whole file in a
 
4342
  single request treat it as a ``_buffer_all`` request. This happens
 
4343
  most often on small indexes over remote transports, where we default
 
4344
  to reading 64kB. It saves a round trip for each small index during
 
4345
  fetch operations. Also, if we have read more than 50% of an index
 
4346
  file, trigger a ``_buffer_all`` on the next request. This works
 
4347
  around some inefficiencies because reads don't fall neatly on page
 
4348
  boundaries, so we would ignore those bytes, but request them again
 
4349
  later. This could trigger a total read size of more than the whole
 
4350
  file. (John Arbash Meinel)
 
4351
 
 
4352
Bug Fixes
 
4353
*********
 
4354
 
 
4355
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
4356
  users. (Robert Collins, #205416)
 
4357
 
 
4358
* Catch the infamous "select/poll returned error" which occurs when
 
4359
  pycurl try to send a body request to an HTTP/1.0 server which has
 
4360
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
4361
 
 
4362
* Fix ``ObjectNotLocked`` errors when using various commands
 
4363
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
4364
  smart server URL.  (Andrew Bennetts, #237067)
 
4365
 
 
4366
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
4367
  for the containing ``.bzr/`` directory (it does not implement
 
4368
  permissions). This would cause us to set all subdirectories to
 
4369
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
4370
  Now we ignore ``0000`` as the permissions and assume they are
 
4371
  invalid. (John Arbash Meinel, #259855)
 
4372
 
 
4373
* Merging from a previously joined branch will no longer cause
 
4374
  a traceback. (Jelmer Vernooij, #203376)
 
4375
 
 
4376
* Pack operations on windows network shares will work even with large
 
4377
  files. (Robert Collins, #255656)
 
4378
 
 
4379
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
4380
  status. Status is also about 7% faster on mozilla sized trees
 
4381
  when the path to the root of the tree has been given. Users of
 
4382
  the internal ``show_tree_status`` function should be aware that
 
4383
  the show_pending flag is now authoritative for showing pending
 
4384
  merges, as it was originally. (Robert Collins, #225204)
 
4385
 
 
4386
* Set valid default _param_name for Option so that ListOption can embed
 
4387
  '-' in names. (Vincent Ladeuil, #263249)
 
4388
 
 
4389
* Show proper error rather than traceback when an unknown revision
 
4390
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
4391
 
 
4392
* Trailing text in the dirstate file could cause the C dirstate parser
 
4393
  to try to allocate an invalid amount of memory. We now properly
 
4394
  check and test for parsing a dirstate with invalid trailing data.
 
4395
  (John Arbash Meinel, #186014)
 
4396
 
 
4397
* Unexpected error responses from a smart server no longer cause the
 
4398
  client to traceback.  (Andrew Bennetts, #263527)
 
4399
 
 
4400
* Use a Windows api function to get a Unicode host name, rather than
 
4401
  assuming the host name is ascii.
 
4402
  (Mark Hammond, John Arbash Meinel, #256550)
 
4403
 
 
4404
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
4405
  paths in the output of ``iter_changes``. (Robert Collins)
 
4406
 
 
4407
Documentation
 
4408
*************
 
4409
 
 
4410
* Updated developer documentation.  (Martin Pool)
 
4411
 
 
4412
API Changes
 
4413
***********
 
4414
 
 
4415
* Exporters now take 4 parameters. (Robert Collins)
 
4416
 
 
4417
* ``Tree.iter_changes`` will now return False for the content change
 
4418
  field when a file is missing in the basis tree and not present in
 
4419
  the target tree. Previously it returned True unconditionally.
 
4420
  (Robert Collins)
 
4421
 
 
4422
* The deprecated ``Branch.abspath`` and unimplemented
 
4423
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
4424
 
 
4425
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
4426
  parameter.  (Aaron Bentley)
 
4427
 
 
4428
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
4429
  parameter.  (Aaron Bentley)
 
4430
 
 
4431
Testing
 
4432
*******
 
4433
 
 
4434
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
4435
  which are then passed to the cleanup callable as it is run. In
 
4436
  addition, addCleanup no longer requires that the callables passed to
 
4437
  it be unique. (Jonathan Lange)
 
4438
 
 
4439
* Fix some tests that fail on Windows because files are deleted while
 
4440
  still in use.
 
4441
  (Mark Hammond)
 
4442
 
 
4443
* ``selftest``'s ``--starting-with`` option can now use predefined
 
4444
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
4445
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
4446
 
 
4447
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
4448
  (Vincent Ladeuil)
 
4449
 
 
4450
Internals
 
4451
*********
 
4452
 
 
4453
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
4454
  This allows dynamic log output filtering by plugins.
 
4455
  (Robert Collins)
 
4456
 
 
4457
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
4458
  layer. The design is memory conservative (limited memory cache),
 
4459
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
4460
  and stores compressed pages allowing more keys per page.
 
4461
  (Robert Collins, John Arbash Meinel)
 
4462
 
 
4463
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
4464
  is unknown in both source and target.
 
4465
  (Robert Collins, Aaron Bentley)
 
4466
 
 
4467
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
4468
  streamlined a bit. This should make creating large indexes faster.
 
4469
  (In benchmarking, it now takes less time to create a BTree index than
 
4470
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
4471
 
 
4472
* Mail clients for `bzr send` are now listed in a registry.  This
 
4473
  allows plugins to add new clients by registering them with
 
4474
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
4475
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
4476
 
 
4477
 
 
4478
bzr 1.6.1
 
4479
#########
 
4480
 
 
4481
:Released: 2008-09-05
1193
4482
 
1194
4483
A couple regressions were found in the 1.6 release. There was a
1195
4484
performance issue when using ``bzr+ssh`` to branch large repositories,
1196
4485
and some problems with stacking and ``rich-root`` capable repositories.
1197
4486
 
1198
4487
 
1199
 
bzr 1.6.1rc2 2008-09-03
1200
 
-----------------------
1201
 
 
1202
 
  BUG FIXES:
1203
 
 
1204
 
    * Copying between ``rich-root`` and ``rich-root-pack`` (and vice
1205
 
      versa) was accidentally using the inter-model fetcher, instead of
1206
 
      recognizing that both were 'rich root' formats.
1207
 
      (John Arbash Meinel, #264321)
1208
 
 
1209
 
 
1210
 
bzr 1.6.1rc1 2008-08-29
1211
 
-----------------------
 
4488
bzr 1.6.1rc2
 
4489
############
 
4490
 
 
4491
:Released: 2008-09-03
 
4492
 
 
4493
Bug Fixes
 
4494
*********
 
4495
 
 
4496
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
4497
  versa) was accidentally using the inter-model fetcher, instead of
 
4498
  recognizing that both were 'rich root' formats.
 
4499
  (John Arbash Meinel, #264321)
 
4500
 
 
4501
 
 
4502
bzr 1.6.1rc1
 
4503
############
 
4504
 
 
4505
:Released: 2008-08-29
1212
4506
 
1213
4507
This release fixes a few regressions found in the 1.6 client. Fetching
1214
4508
changes was using an O(N^2) buffering algorithm, so for large projects it
1223
4517
I should also clarify that none of this is data loss level issues, but
1224
4518
still sufficient enough to warrant an updated release.
1225
4519
 
1226
 
  BUG FIXES:
1227
 
 
1228
 
    * ``RemoteTransport.readv()`` was being inefficient about how it
1229
 
      buffered the readv data and processed it. It would keep appending to
1230
 
      the same string (causing many copies) and then pop bytes out of the
1231
 
      start of the string (causing more copies).
1232
 
      With this patch "bzr+ssh://local" can improve dramatically,
1233
 
      especially for projects with large files.
1234
 
      (John Arbash Meinel)
1235
 
 
1236
 
    * Revision texts were always meant to be stored as fulltexts. There
1237
 
      was a bug in a bzr.dev version that would accidentally create deltas
1238
 
      when copying from a Pack repo to a Knit repo. This has been fixed,
1239
 
      but to support those repositories, we know always request full texts
1240
 
      for Revision texts. (John Arbash Meinel, #261339)
1241
 
 
1242
 
    * The previous ``--1.6-rich-root`` format used an incorrect xml
1243
 
      serializer, which would accidentally support fetching from a
1244
 
      repository that supported subtrees, even though the local one would
1245
 
      not. We deprecated that format, and introduced a new one that uses
1246
 
      the correct serializer ``--1.6.1-rich-root``.
1247
 
      (John Arbash Meinel, #262333)
1248
 
 
1249
 
 
1250
 
bzr 1.6 2008-08-25
1251
 
------------------
 
4520
Bug Fixes
 
4521
*********
 
4522
 
 
4523
* ``RemoteTransport.readv()`` was being inefficient about how it
 
4524
  buffered the readv data and processed it. It would keep appending to
 
4525
  the same string (causing many copies) and then pop bytes out of the
 
4526
  start of the string (causing more copies).
 
4527
  With this patch "bzr+ssh://local" can improve dramatically,
 
4528
  especially for projects with large files.
 
4529
  (John Arbash Meinel)
 
4530
 
 
4531
* Revision texts were always meant to be stored as fulltexts. There
 
4532
  was a bug in a bzr.dev version that would accidentally create deltas
 
4533
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
4534
  but to support those repositories, we know always request full texts
 
4535
  for Revision texts. (John Arbash Meinel, #261339)
 
4536
 
 
4537
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
4538
  serializer, which would accidentally support fetching from a
 
4539
  repository that supported subtrees, even though the local one would
 
4540
  not. We deprecated that format, and introduced a new one that uses
 
4541
  the correct serializer ``--1.6.1-rich-root``.
 
4542
  (John Arbash Meinel, #262333)
 
4543
 
 
4544
 
 
4545
bzr 1.6
 
4546
#######
 
4547
 
 
4548
:Released: 2008-08-25
1252
4549
 
1253
4550
Finally, the long awaited bzr 1.6 has been released. This release includes
1254
4551
new features like Stacked Branches, improved weave merge, and an updated
1261
4558
TortoiseBzr in the standalone Windows installer.
1262
4559
 
1263
4560
 
1264
 
bzr 1.6rc5 2008-08-19
1265
 
---------------------
1266
 
 
1267
 
  BUG FIXES:
1268
 
 
1269
 
    * Disable automatic detection of stacking based on a containing
1270
 
      directory of the target. It interacted badly with push, and needs a
1271
 
      bit more work to get the edges polished before it should happen
1272
 
      automatically. (John Arbash Meinel, #259275)
1273
 
      (This change was reverted when merged to bzr.dev)
1274
 
 
1275
 
 
1276
 
bzr 1.6rc4 2008-08-18
1277
 
---------------------
1278
 
 
1279
 
  BUG FIXES:
1280
 
 
1281
 
    * Fix a regression in knit => pack fetching.  We had a logic
1282
 
      inversion, causing the fetch to insert fulltexts in random order,
1283
 
      rather than preserving deltas.  (John Arbash Meinel, #256757)
1284
 
 
1285
 
 
1286
 
bzr 1.6rc3 2008-08-14
1287
 
---------------------
1288
 
 
1289
 
  CHANGES:
1290
 
 
1291
 
    * Disable reading ``.bzrrules`` as a per-branch rule preferences
1292
 
      file. The feature was not quite ready for a full release.
1293
 
      (Robert Collins)
1294
 
 
1295
 
  IMPROVEMENTS:
1296
 
 
1297
 
    * Update the windows installer to bundle TortoiseBzr and ``qbzr``
1298
 
      into the standalone installer. This will be the first official
1299
 
      windows release that installs Tortoise by default.
1300
 
      (Mark Hammond)
1301
 
 
1302
 
  BUG FIXES:
1303
 
 
1304
 
    * Fix a regression in ``bzr+http`` support. There was a missing
1305
 
      function (``_read_line``) that needed to be carried over from
1306
 
      ``bzr+ssh`` support. (Andrew Bennetts)
1307
 
 
1308
 
    * ``GraphIndex`` objects will internally read an entire index if more
1309
 
      than 1/20th of their keyspace is requested in a single operation.
1310
 
      This largely mitigates a performance regression in ``bzr log FILE``
1311
 
      and completely corrects the performance regression in ``bzr log``.
1312
 
      The regression was caused by removing an accomodation which had been
1313
 
      supporting the index format in use. A newer index format is in
1314
 
      development which is substantially faster. (Robert Collins)
1315
 
 
1316
 
 
1317
 
bzr 1.6rc2 2008-08-13
1318
 
---------------------
 
4561
bzr 1.6rc5
 
4562
##########
 
4563
 
 
4564
:Released: 2008-08-19
 
4565
 
 
4566
Bug Fixes
 
4567
*********
 
4568
 
 
4569
* Disable automatic detection of stacking based on a containing
 
4570
  directory of the target. It interacted badly with push, and needs a
 
4571
  bit more work to get the edges polished before it should happen
 
4572
  automatically. (John Arbash Meinel, #259275)
 
4573
  (This change was reverted when merged to bzr.dev)
 
4574
 
 
4575
 
 
4576
bzr 1.6rc4
 
4577
##########
 
4578
 
 
4579
:Released: 2008-08-18
 
4580
 
 
4581
Bug Fixes
 
4582
*********
 
4583
 
 
4584
* Fix a regression in knit => pack fetching.  We had a logic
 
4585
  inversion, causing the fetch to insert fulltexts in random order,
 
4586
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
4587
 
 
4588
 
 
4589
bzr 1.6rc3
 
4590
##########
 
4591
 
 
4592
:Released: 2008-08-14
 
4593
 
 
4594
Changes
 
4595
*******
 
4596
 
 
4597
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
4598
  file. The feature was not quite ready for a full release.
 
4599
  (Robert Collins)
 
4600
 
 
4601
Improvements
 
4602
************
 
4603
 
 
4604
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
4605
  into the standalone installer. This will be the first official
 
4606
  windows release that installs Tortoise by default.
 
4607
  (Mark Hammond)
 
4608
 
 
4609
Bug Fixes
 
4610
*********
 
4611
 
 
4612
* Fix a regression in ``bzr+http`` support. There was a missing
 
4613
  function (``_read_line``) that needed to be carried over from
 
4614
  ``bzr+ssh`` support. (Andrew Bennetts)
 
4615
 
 
4616
* ``GraphIndex`` objects will internally read an entire index if more
 
4617
  than 1/20th of their keyspace is requested in a single operation.
 
4618
  This largely mitigates a performance regression in ``bzr log FILE``
 
4619
  and completely corrects the performance regression in ``bzr log``.
 
4620
  The regression was caused by removing an accomodation which had been
 
4621
  supporting the index format in use. A newer index format is in
 
4622
  development which is substantially faster. (Robert Collins)
 
4623
 
 
4624
 
 
4625
bzr 1.6rc2
 
4626
##########
 
4627
 
 
4628
:Released: 2008-08-13
1319
4629
 
1320
4630
This release candidate has a few minor bug fixes, and some regression
1321
4631
fixes for Windows.
1322
4632
 
1323
 
  BUG FIXES:
1324
 
 
1325
 
    * ``bzr upgrade`` on remote branches accessed via bzr:// and
1326
 
      bzr+ssh:// now works.  (Andrew Bennetts)
1327
 
 
1328
 
    * Change the ``get_format_description()`` strings for
1329
 
      ``RepositoryFormatKnitPack5`` et al to be single line messages.
1330
 
      (Aaron Bentley)
1331
 
 
1332
 
    * Fix for a regression on Win32 where we would try to call
1333
 
      ``os.listdir()`` on a file and not catch the exception properly.
1334
 
      (Windows raises a different exception.) This would manifest in
1335
 
      places like ``bzr rm file`` or ``bzr switch``.
1336
 
      (Mark Hammond, John Arbash Meinel)
1337
 
 
1338
 
    * ``Inventory.copy()`` was failing to set the revision property for
1339
 
      the root entry. (Jelmer Vernooij)
1340
 
 
1341
 
    * sftp transport: added missing ``FileExists`` case to
1342
 
      ``_translate_io_exception`` (Christophe Troestler, #123475)
1343
 
 
1344
 
    * The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
1345
 
      scripting use. (Robert Collins, #3834)
1346
 
 
1347
 
    * The default ``annotate`` logic will now always assign the
1348
 
      last-modified value of a line to one of the revisions that modified
1349
 
      it, rather than a merge revision. This would happen when both sides
1350
 
      claimed to have modified the line resulting in the same text. The
1351
 
      choice is arbitrary but stable, so merges in different directions
1352
 
      will get the same results.  (John Arbash Meinel, #232188)
1353
 
 
1354
 
 
1355
 
bzr 1.6rc1 2008-08-06
1356
 
---------------------
 
4633
Bug Fixes
 
4634
*********
 
4635
 
 
4636
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
4637
  bzr+ssh:// now works.  (Andrew Bennetts)
 
4638
 
 
4639
* Change the ``get_format_description()`` strings for
 
4640
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
4641
  (Aaron Bentley)
 
4642
 
 
4643
* Fix for a regression on Win32 where we would try to call
 
4644
  ``os.listdir()`` on a file and not catch the exception properly.
 
4645
  (Windows raises a different exception.) This would manifest in
 
4646
  places like ``bzr rm file`` or ``bzr switch``.
 
4647
  (Mark Hammond, John Arbash Meinel)
 
4648
 
 
4649
* ``Inventory.copy()`` was failing to set the revision property for
 
4650
  the root entry. (Jelmer Vernooij)
 
4651
 
 
4652
* sftp transport: added missing ``FileExists`` case to
 
4653
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
4654
 
 
4655
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
4656
  scripting use. (Robert Collins, #3834)
 
4657
 
 
4658
* The default ``annotate`` logic will now always assign the
 
4659
  last-modified value of a line to one of the revisions that modified
 
4660
  it, rather than a merge revision. This would happen when both sides
 
4661
  claimed to have modified the line resulting in the same text. The
 
4662
  choice is arbitrary but stable, so merges in different directions
 
4663
  will get the same results.  (John Arbash Meinel, #232188)
 
4664
 
 
4665
 
 
4666
bzr 1.6rc1
 
4667
##########
 
4668
 
 
4669
:Released: 2008-08-06
1357
4670
 
1358
4671
This release candidate for bzr 1.6 solidifies the new branch stacking
1359
4672
feature.  Bazaar now recommends that users upgrade all knit repositories,
1361
4674
upgrade support for knit repostories for the forseeable future.  Several
1362
4675
other bugs and performance issues were fixed.
1363
4676
 
1364
 
  CHANGES:
1365
 
 
1366
 
    * Knit format repositories are deprecated and bzr will now emit
1367
 
      warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
1368
 
      knit repositories to pack format.  (Andrew Bennetts)
1369
 
 
1370
 
  IMPROVEMENTS:
1371
 
 
1372
 
    * ``bzr check`` can now be told which elements at a location it should
1373
 
      check.  (Daniel Watkins)
1374
 
 
1375
 
    * Commit now supports ``--exclude`` (or ``-x``) to exclude some files
1376
 
      from the commit. (Robert Collins, #3117)
1377
 
 
1378
 
    * Fetching data between repositories that have the same model but no
1379
 
      optimised fetcher will not reserialise all the revisions, increasing
1380
 
      performance. (Robert Collins, John Arbash Meinel)
1381
 
 
1382
 
    * Give a more specific error when target branch is not reachable.
1383
 
      (James Westby)
1384
 
 
1385
 
    * Implemented a custom ``walkdirs_utf8`` implementation for win32.
1386
 
      This uses a pyrex extension to get direct access to the
1387
 
      ``FindFirstFileW`` style apis, rather than using ``listdir`` +
1388
 
      ``lstat``. Shows a very strong improvement in commands like
1389
 
      ``status`` and ``diff`` which have to iterate the working tree.
1390
 
      Anywhere from 2x-6x faster depending on the size of the tree (bigger
1391
 
      trees, bigger benefit.) (John Arbash Meinel)
1392
 
 
1393
 
    * New registry for log properties handles  and the method in
1394
 
      LongLogFormatter to display the custom properties returned by the
1395
 
      registered handlers. (Guillermo Gonzalez, #162469)
1396
 
 
1397
 
  BUG FIXES:
1398
 
 
1399
 
    * Add more tests that stacking does not create deltas spanning
1400
 
      physical repository boundaries.
1401
 
      (Martin Pool, #252428)
1402
 
 
1403
 
    * Better message about incompatible repositories.
1404
 
      (Martin Pool, #206258)
1405
 
 
1406
 
    * ``bzr branch --stacked`` ensures the destination branch format can
1407
 
      support stacking, even if the origin does not.
1408
 
      (Martin Pool)
1409
 
 
1410
 
    * ``bzr export`` no longer exports ``.bzrrules``.
1411
 
      (Ian Clatworthy)
1412
 
 
1413
 
    * ``bzr serve --directory=/`` now correctly allows the whole
1414
 
      filesystem to be accessed on Windows, not just the root of the drive
1415
 
      that Python is running from.
1416
 
      (Adrian Wilkins, #240910)
1417
 
 
1418
 
    * Deleting directories by hand before running ``bzr rm`` will not
1419
 
      cause subsequent errors in ``bzr st`` and ``bzr commit``.
1420
 
      (Robert Collins, #150438)
1421
 
 
1422
 
    * Fix a test case that was failing if encoding wasn't UTF-8.
1423
 
      (John Arbash Meinel, #247585)
1424
 
 
1425
 
    * Fix "no buffer space available" error when branching with the new
1426
 
      smart server protocol to or from Windows.
1427
 
      (Andrew Bennetts, #246180)
1428
 
 
1429
 
    * Fixed problem in branching from smart server.
1430
 
      (#249256, Michael Hudson, Martin Pool)
1431
 
 
1432
 
    * Handle a file turning in to a directory in TreeTransform.
1433
 
      (James Westby, #248448)
1434
 
 
1435
 
  API CHANGES:
1436
 
 
1437
 
    * ``MutableTree.commit`` has an extra optional keywork parameter
1438
 
      ``exclude`` that will be unconditionally supplied by the command
1439
 
      line UI - plugins that add tree formats may need an update.
1440
 
      (Robert Collins)
1441
 
 
1442
 
    * The API minimum version for plugin compatibility has been raised to
1443
 
      1.6 - there are significant changes throughout the code base.
1444
 
      (Robert Collins)
1445
 
 
1446
 
    * The generic fetch code now uses three attributes on Repository objects
1447
 
      to control fetch. The streams requested are controlled via :
1448
 
      ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
1449
 
      appropriately allows different repository implementations to recieve
1450
 
      data in their optimial form. If the ``_fetch_reconcile`` is set then
1451
 
      a reconcile operation is triggered at the end of the fetch.
1452
 
      (Robert Collins)
1453
 
 
1454
 
    * The ``put_on_disk`` and ``get_tar_item`` methods in
1455
 
      ``InventoryEntry`` were deprecated. (Ian Clatworthy)
1456
 
 
1457
 
    * ``Repository.is_shared`` doesn't take a read lock. It didn't
1458
 
      need one in the first place (nobody cached the value, and
1459
 
      ``RemoteRepository`` wasn't taking one either). This saves a round
1460
 
      trip when probing Pack repositories, as they read the ``pack-names``
1461
 
      file when locked. And during probe, locking the repo isn't very
1462
 
      useful. (John Arbash Meinel)
1463
 
 
1464
 
  INTERNALS:
1465
 
 
1466
 
    * ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
1467
 
      putting together a real history without having to create a full
1468
 
      WorkingTree. It is recommended that tests that are not directly
1469
 
      testing the WorkingTree use BranchBuilder instead.  See
1470
 
      ``BranchBuilder.build_snapshot`` or
1471
 
      ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
1472
 
 
1473
 
    * ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
1474
 
      helper ``safe_relpath_files`` - used by the new ``exclude``
1475
 
      parameter to commit. (Robert Collins)
1476
 
 
1477
 
    * Make it easier to introduce new WorkingTree formats.
1478
 
      (Ian Clatworthy)
1479
 
 
1480
 
    * The code for exporting trees was refactored not to use the
1481
 
      deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
1482
 
 
1483
 
    * RuleSearchers return () instead of [] now when there are no matches.
1484
 
      (Ian Clatworthy)
1485
 
 
1486
 
 
1487
 
bzr 1.6beta3 2008-07-17
1488
 
-----------------------
 
4677
Changes
 
4678
*******
 
4679
 
 
4680
* Knit format repositories are deprecated and bzr will now emit
 
4681
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
4682
  knit repositories to pack format.  (Andrew Bennetts)
 
4683
 
 
4684
Improvements
 
4685
************
 
4686
 
 
4687
* ``bzr check`` can now be told which elements at a location it should
 
4688
  check.  (Daniel Watkins)
 
4689
 
 
4690
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
4691
  from the commit. (Robert Collins, #3117)
 
4692
 
 
4693
* Fetching data between repositories that have the same model but no
 
4694
  optimised fetcher will not reserialise all the revisions, increasing
 
4695
  performance. (Robert Collins, John Arbash Meinel)
 
4696
 
 
4697
* Give a more specific error when target branch is not reachable.
 
4698
  (James Westby)
 
4699
 
 
4700
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
4701
  This uses a pyrex extension to get direct access to the
 
4702
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
4703
  ``lstat``. Shows a very strong improvement in commands like
 
4704
  ``status`` and ``diff`` which have to iterate the working tree.
 
4705
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
4706
  trees, bigger benefit.) (John Arbash Meinel)
 
4707
 
 
4708
* New registry for log properties handles  and the method in
 
4709
  LongLogFormatter to display the custom properties returned by the
 
4710
  registered handlers. (Guillermo Gonzalez, #162469)
 
4711
 
 
4712
Bug Fixes
 
4713
*********
 
4714
 
 
4715
* Add more tests that stacking does not create deltas spanning
 
4716
  physical repository boundaries.
 
4717
  (Martin Pool, #252428)
 
4718
 
 
4719
* Better message about incompatible repositories.
 
4720
  (Martin Pool, #206258)
 
4721
 
 
4722
* ``bzr branch --stacked`` ensures the destination branch format can
 
4723
  support stacking, even if the origin does not.
 
4724
  (Martin Pool)
 
4725
 
 
4726
* ``bzr export`` no longer exports ``.bzrrules``.
 
4727
  (Ian Clatworthy)
 
4728
 
 
4729
* ``bzr serve --directory=/`` now correctly allows the whole
 
4730
  filesystem to be accessed on Windows, not just the root of the drive
 
4731
  that Python is running from.
 
4732
  (Adrian Wilkins, #240910)
 
4733
 
 
4734
* Deleting directories by hand before running ``bzr rm`` will not
 
4735
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
4736
  (Robert Collins, #150438)
 
4737
 
 
4738
* Fix a test case that was failing if encoding wasn't UTF-8.
 
4739
  (John Arbash Meinel, #247585)
 
4740
 
 
4741
* Fix "no buffer space available" error when branching with the new
 
4742
  smart server protocol to or from Windows.
 
4743
  (Andrew Bennetts, #246180)
 
4744
 
 
4745
* Fixed problem in branching from smart server.
 
4746
  (#249256, Michael Hudson, Martin Pool)
 
4747
 
 
4748
* Handle a file turning in to a directory in TreeTransform.
 
4749
  (James Westby, #248448)
 
4750
 
 
4751
API Changes
 
4752
***********
 
4753
 
 
4754
* ``MutableTree.commit`` has an extra optional keywork parameter
 
4755
  ``exclude`` that will be unconditionally supplied by the command
 
4756
  line UI - plugins that add tree formats may need an update.
 
4757
  (Robert Collins)
 
4758
 
 
4759
* The API minimum version for plugin compatibility has been raised to
 
4760
  1.6 - there are significant changes throughout the code base.
 
4761
  (Robert Collins)
 
4762
 
 
4763
* The generic fetch code now uses three attributes on Repository objects
 
4764
  to control fetch. The streams requested are controlled via :
 
4765
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
4766
  appropriately allows different repository implementations to recieve
 
4767
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
4768
  a reconcile operation is triggered at the end of the fetch.
 
4769
  (Robert Collins)
 
4770
 
 
4771
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
4772
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
4773
 
 
4774
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
4775
  need one in the first place (nobody cached the value, and
 
4776
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
4777
  trip when probing Pack repositories, as they read the ``pack-names``
 
4778
  file when locked. And during probe, locking the repo isn't very
 
4779
  useful. (John Arbash Meinel)
 
4780
 
 
4781
Internals
 
4782
*********
 
4783
 
 
4784
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
4785
  putting together a real history without having to create a full
 
4786
  WorkingTree. It is recommended that tests that are not directly
 
4787
  testing the WorkingTree use BranchBuilder instead.  See
 
4788
  ``BranchBuilder.build_snapshot`` or
 
4789
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
4790
 
 
4791
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
4792
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
4793
  parameter to commit. (Robert Collins)
 
4794
 
 
4795
* Make it easier to introduce new WorkingTree formats.
 
4796
  (Ian Clatworthy)
 
4797
 
 
4798
* The code for exporting trees was refactored not to use the
 
4799
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
4800
 
 
4801
* RuleSearchers return () instead of [] now when there are no matches.
 
4802
  (Ian Clatworthy)
 
4803
 
 
4804
 
 
4805
bzr 1.6beta3
 
4806
############
 
4807
 
 
4808
:Released: 2008-07-17
1489
4809
 
1490
4810
This release adds a new 'stacked branches' feature allowing branches to
1491
4811
share storage without being in the same repository or on the same machine.
1493
4813
weaves, aliases for related locations, faster bzr+ssh push, and several
1494
4814
bug fixes.
1495
4815
 
1496
 
  FEATURES:
1497
 
 
1498
 
    * New ``pre_change_branch_tip`` hook that is called before the
1499
 
      branch tip is moved, while the branch is write-locked.  See the User
1500
 
      Reference for signature details.  (Andrew Bennetts)
1501
 
 
1502
 
    * Rule-based preferences can now be defined for selected files in
1503
 
      selected branches, allowing commands and plugins to provide
1504
 
      custom behaviour for files matching defined patterns.
1505
 
      See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
1506
 
      in the User Guide and ``bzr help rules`` for more information.
1507
 
      (Ian Clatworthy)
1508
 
 
1509
 
    * Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
1510
 
 
1511
 
    * Stacked branches are now supported. See ``bzr help branch`` and
1512
 
      ``bzr help push``.  Branches must be in the ``development1`` format
1513
 
      to stack, though the stacked-on branch can be of any format.
1514
 
      (Robert Collins)
1515
 
 
1516
 
  IMPROVEMENTS:
1517
 
 
1518
 
    * ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
1519
 
      to stdout; also ``tar`` and ``tbz2``.
1520
 
      (Martin Pool)
1521
 
 
1522
 
    * ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
1523
 
      rather than the annotation-based merge it was using. It does so by
1524
 
      building up a Weave of the important texts, without needing to build
1525
 
      the full ancestry. (John Arbash Meinel, #238895)
1526
 
 
1527
 
    * ``bzr send`` documents and better supports ``emacsclient`` (proper
1528
 
      escaping of mail headers and handling of the MUA Mew).
1529
 
      (Christophe Troestler)
1530
 
 
1531
 
    * Remembered locations can be specified by aliases, e.g. :parent, :public,
1532
 
      :submit.  (Aaron Bentley)
1533
 
 
1534
 
    * The smart protocol now has improved support for setting branches'
1535
 
      revision info directly.  This makes operations like push
1536
 
      faster.  The new request method name is
1537
 
      ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
1538
 
 
1539
 
  BUG FIXES:
1540
 
 
1541
 
    * Bazaar is now able to be a client to the web server of IIS 6 and 7.
1542
 
      The broken implementations of RFC822 in Python and RFC2046 in IIS
1543
 
      combined with boundary-line checking in Bazaar previously made this
1544
 
      impossible. (NB, IIS 5 does not suffer from this problem).
1545
 
      (Adrian Wilkins, #247585)
1546
 
 
1547
 
    * ``bzr log --long`` with a ghost in your mainline now handles that
1548
 
      ghost properly. (John Arbash Meinel, #243536)
1549
 
 
1550
 
    * ``check`` handles the split-up .bzr layout correctly, so no longer
1551
 
      requires a branch to be present.
1552
 
      (Daniel Watkins, #64783)
1553
 
 
1554
 
    * Clearer message about how to set the PYTHONPATH if bzrlib can't be
1555
 
      loaded.
1556
 
      (Martin Pool, #205230)
1557
 
 
1558
 
    * Errors about missing libraries are now shown without a traceback,
1559
 
      and with a suggestion to install the library.  The full traceback is
1560
 
      still in ``.bzr.log`` and can be shown with ``-Derror``.
1561
 
      (Martin Pool, #240161)
1562
 
 
1563
 
    * Fetch from a stacked branch copies all required data.
1564
 
      (Aaron Bentley, #248506)
1565
 
 
1566
 
    * Handle urls such as ftp://user@host.com@www.host.com where the user
1567
 
      name contains an @.
1568
 
      (Neil Martinsen-Burrell, #228058)
1569
 
 
1570
 
    * ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
1571
 
      ``unlock`` if there was an error in the original function. This helps
1572
 
      most when there is a failure with a smart server action, since often the
1573
 
      connection closes and we cannot unlock.
1574
 
      (Andrew Bennetts, John Arbash Meinel, #125784)
1575
 
 
1576
 
    * Obsolete hidden command ``bzr fetch`` removed.
1577
 
      (Martin Pool, #172870)
1578
 
 
1579
 
    * Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
1580
 
      (John Arbash Meinel, #239933)
1581
 
 
1582
 
    * You can now compare file revisions in Windows diff programs from
1583
 
      Cygwin Bazaar.
1584
 
      (Matt McClure, #209281)
1585
 
 
1586
 
    * revision_history now tolerates mainline ghosts for Branch format 6.
1587
 
      (Aaron Bentley, #235055)
1588
 
 
1589
 
    * Set locale from environment for third party libs.
1590
 
      (Martin von Gagern, #128496)
1591
 
 
1592
 
  DOCUMENTATION:
1593
 
 
1594
 
    * Added *Using stacked branches* to the User Guide.
1595
 
      (Ian Clatworthy)
1596
 
 
1597
 
    * Updated developer documentation.
1598
 
      (Martin Pool)
1599
 
 
1600
 
  TESTING:
1601
 
 
1602
 
   * ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
1603
 
     exits, allowing low-key analysis of peak memory use. (Robert Collins)
1604
 
 
1605
 
   * ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
1606
 
     a tree with a ``branch`` attribute of the right format.  This was
1607
 
     preventing some ``RemoteBranch`` tests from actually running with
1608
 
     ``RemoteBranch`` instances.  (Andrew Bennetts)
1609
 
 
1610
 
  API CHANGES:
1611
 
 
1612
 
    * Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
1613
 
      there are new attributes ``texts, inventories, revisions,
1614
 
      signatures``, each of which is a ``VersionedFiles``.  See the
1615
 
      Repository docstring for more details.
1616
 
      (Robert Collins)
1617
 
 
1618
 
    * ``Branch.pull`` now accepts an ``_override_hook_target`` optional
1619
 
      parameter.  If you have a subclass of ``Branch`` that overrides
1620
 
      ``pull`` then you should add this parameter.  (Andrew Bennetts)
1621
 
 
1622
 
    * ``bzrlib.check.check()`` has been deprecated in favour of the more
1623
 
      aptly-named ``bzrlib.check.check_branch()``.
1624
 
      (Daniel Watkins)
1625
 
 
1626
 
    * ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
1627
 
      These methods are bad APIs because they write directly to sys.stdout.
1628
 
      bzrlib does not use them internally, and there are no direct tests
1629
 
      for them. (Alexander Belchenko)
1630
 
 
1631
 
  INTERNALS:
1632
 
 
1633
 
    * ``cat`` command no longer uses ``Tree.print_file()`` internally.
1634
 
      (Alexander Belchenko)
1635
 
 
1636
 
    * New class method ``BzrDir.open_containing_tree_branch_or_repository``
1637
 
      which eases the discovery of the tree, the branch and the repository
1638
 
      containing a given location.
1639
 
      (Daniel Watkins)
1640
 
 
1641
 
    * New ``versionedfile.KeyMapper`` interface to abstract out the access to
1642
 
      underlying .knit/.kndx etc files in repositories with partitioned
1643
 
      storage. (Robert Collins)
1644
 
 
1645
 
    * Obsolete developer-use command ``weave-join`` has been removed.
1646
 
      (Robert Collins)
1647
 
 
1648
 
    * ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
1649
 
      to support new ``VersionedFiles`` layering.
1650
 
      (Robert Collins)
1651
 
 
1652
 
 
1653
 
bzr 1.6beta2 2008-06-10
1654
 
-----------------------
 
4816
Features
 
4817
********
 
4818
 
 
4819
* New ``pre_change_branch_tip`` hook that is called before the
 
4820
  branch tip is moved, while the branch is write-locked.  See the User
 
4821
  Reference for signature details.  (Andrew Bennetts)
 
4822
 
 
4823
* Rule-based preferences can now be defined for selected files in
 
4824
  selected branches, allowing commands and plugins to provide
 
4825
  custom behaviour for files matching defined patterns.
 
4826
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
4827
  in the User Guide and ``bzr help rules`` for more information.
 
4828
  (Ian Clatworthy)
 
4829
 
 
4830
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
4831
 
 
4832
* Stacked branches are now supported. See ``bzr help branch`` and
 
4833
  ``bzr help push``.  Branches must be in the ``development1`` format
 
4834
  to stack, though the stacked-on branch can be of any format.
 
4835
  (Robert Collins)
 
4836
 
 
4837
Improvements
 
4838
************
 
4839
 
 
4840
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
4841
  to stdout; also ``tar`` and ``tbz2``.
 
4842
  (Martin Pool)
 
4843
 
 
4844
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
4845
  rather than the annotation-based merge it was using. It does so by
 
4846
  building up a Weave of the important texts, without needing to build
 
4847
  the full ancestry. (John Arbash Meinel, #238895)
 
4848
 
 
4849
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
4850
  escaping of mail headers and handling of the MUA Mew).
 
4851
  (Christophe Troestler)
 
4852
 
 
4853
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
4854
  :submit.  (Aaron Bentley)
 
4855
 
 
4856
* The smart protocol now has improved support for setting branches'
 
4857
  revision info directly.  This makes operations like push
 
4858
  faster.  The new request method name is
 
4859
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
4860
 
 
4861
Bug Fixes
 
4862
*********
 
4863
 
 
4864
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
4865
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
4866
  combined with boundary-line checking in Bazaar previously made this
 
4867
  impossible. (NB, IIS 5 does not suffer from this problem).
 
4868
  (Adrian Wilkins, #247585)
 
4869
 
 
4870
* ``bzr log --long`` with a ghost in your mainline now handles that
 
4871
  ghost properly. (John Arbash Meinel, #243536)
 
4872
 
 
4873
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
4874
  requires a branch to be present.
 
4875
  (Daniel Watkins, #64783)
 
4876
 
 
4877
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
4878
  loaded.
 
4879
  (Martin Pool, #205230)
 
4880
 
 
4881
* Errors about missing libraries are now shown without a traceback,
 
4882
  and with a suggestion to install the library.  The full traceback is
 
4883
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
4884
  (Martin Pool, #240161)
 
4885
 
 
4886
* Fetch from a stacked branch copies all required data.
 
4887
  (Aaron Bentley, #248506)
 
4888
 
 
4889
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
4890
  name contains an @.
 
4891
  (Neil Martinsen-Burrell, #228058)
 
4892
 
 
4893
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
4894
  ``unlock`` if there was an error in the original function. This helps
 
4895
  most when there is a failure with a smart server action, since often the
 
4896
  connection closes and we cannot unlock.
 
4897
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
4898
 
 
4899
* Obsolete hidden command ``bzr fetch`` removed.
 
4900
  (Martin Pool, #172870)
 
4901
 
 
4902
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
4903
  (John Arbash Meinel, #239933)
 
4904
 
 
4905
* You can now compare file revisions in Windows diff programs from
 
4906
  Cygwin Bazaar.
 
4907
  (Matt McClure, #209281)
 
4908
 
 
4909
* revision_history now tolerates mainline ghosts for Branch format 6.
 
4910
  (Aaron Bentley, #235055)
 
4911
 
 
4912
* Set locale from environment for third party libs.
 
4913
  (Martin von Gagern, #128496)
 
4914
 
 
4915
Documentation
 
4916
*************
 
4917
 
 
4918
* Added *Using stacked branches* to the User Guide.
 
4919
  (Ian Clatworthy)
 
4920
 
 
4921
* Updated developer documentation.
 
4922
  (Martin Pool)
 
4923
 
 
4924
Testing
 
4925
*******
 
4926
 
 
4927
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
4928
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
4929
 
 
4930
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
4931
  a tree with a ``branch`` attribute of the right format.  This was
 
4932
  preventing some ``RemoteBranch`` tests from actually running with
 
4933
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
4934
 
 
4935
API Changes
 
4936
***********
 
4937
 
 
4938
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
4939
  there are new attributes ``texts, inventories, revisions,
 
4940
  signatures``, each of which is a ``VersionedFiles``.  See the
 
4941
  Repository docstring for more details.
 
4942
  (Robert Collins)
 
4943
 
 
4944
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
4945
  parameter.  If you have a subclass of ``Branch`` that overrides
 
4946
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
4947
 
 
4948
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
4949
  aptly-named ``bzrlib.check.check_branch()``.
 
4950
  (Daniel Watkins)
 
4951
 
 
4952
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
4953
  These methods are bad APIs because they write directly to sys.stdout.
 
4954
  bzrlib does not use them internally, and there are no direct tests
 
4955
  for them. (Alexander Belchenko)
 
4956
 
 
4957
Internals
 
4958
*********
 
4959
 
 
4960
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
4961
  (Alexander Belchenko)
 
4962
 
 
4963
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
4964
  which eases the discovery of the tree, the branch and the repository
 
4965
  containing a given location.
 
4966
  (Daniel Watkins)
 
4967
 
 
4968
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
4969
  underlying .knit/.kndx etc files in repositories with partitioned
 
4970
  storage. (Robert Collins)
 
4971
 
 
4972
* Obsolete developer-use command ``weave-join`` has been removed.
 
4973
  (Robert Collins)
 
4974
 
 
4975
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
4976
  to support new ``VersionedFiles`` layering.
 
4977
  (Robert Collins)
 
4978
 
 
4979
 
 
4980
bzr 1.6beta2
 
4981
############
 
4982
 
 
4983
:Released: 2008-06-10
1655
4984
 
1656
4985
This release contains further progress towards our 1.6 goals of shallow
1657
4986
repositories, and contains a fix for some user-affecting bugs in the
1658
4987
repository layer.  Building working trees during checkout and branch is
1659
4988
now faster.
1660
4989
 
1661
 
  BUG FIXES:
1662
 
 
1663
 
    * Avoid KnitCorrupt error extracting inventories from some repositories.
1664
 
      (The data is not corrupt; an internal check is detecting a problem
1665
 
      reading from the repository.)
1666
 
      (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
1667
 
 
1668
 
    * ``bzr status`` was breaking if you merged the same revision twice.
1669
 
      (John Arbash Meinel, #235407)
1670
 
 
1671
 
    * Fix infinite loop consuming 100% CPU when a connection is lost while
1672
 
      reading a response body via the smart protocol v1 or v2.
1673
 
      (Andrew Bennetts)
1674
 
 
1675
 
    * Inserting a bundle which changes the contents of a file with no trailing
1676
 
      end of line, causing a knit snapshot in a 'knits' repository will no longer
1677
 
      cause KnitCorrupt. (Robert Collins)
1678
 
 
1679
 
    * ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
1680
 
      pull result. It was instead just returning None, which breaks ``bzr
1681
 
      pull``. (John Arbash Meinel, #238149)
1682
 
 
1683
 
    * Sanitize branch nick before using it as an attachment filename in
1684
 
      ``bzr send``. (Lukáš Lalinský, #210218)
1685
 
 
1686
 
    * Squash ``inv_entry.symlink_target`` to a plain string when
1687
 
      generating DirState details. This prevents from getting a
1688
 
      ``UnicodeError`` when you have symlinks and non-ascii filenames.
1689
 
      (John Arbash Meinel, #135320)
1690
 
 
1691
 
  IMPROVEMENTS:
1692
 
 
1693
 
    * Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
1694
 
 
1695
 
    * ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
1696
 
      now quote paths where required). Added ``--null`` option to ``added`` and
1697
 
      ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
1698
 
      (Adrian Wilkins)
1699
 
 
1700
 
    * Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
1701
 
      (Ian Clatworthy, Aaron Bentley)
1702
 
 
1703
 
  DOCUMENTATION:
1704
 
 
1705
 
    * Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
1706
 
 
1707
 
  TESTING:
1708
 
 
1709
 
    * Fix the test HTTPServer to be isolated from chdir calls made while it is
1710
 
      running, allowing it to be used in blackbox tests. (Robert Collins)
1711
 
 
1712
 
  API CHANGES:
1713
 
 
1714
 
    * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1715
 
      which are in the ancestry of other revisions. So if you merge the same
1716
 
      tree twice, or merge an ancestor of an existing merge, it will only
1717
 
      record the newest. (If you merge a descendent, it will replace its
1718
 
      ancestor). (John Arbash Meinel, #235407)
1719
 
 
1720
 
    * ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
1721
 
      through the derived classes do not.  (Aaron Bentley)
1722
 
 
1723
 
  INTERNALS:
1724
 
 
1725
 
    * ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
1726
 
      creating stacked branches. (Robert Collins)
1727
 
 
1728
 
    * Knit record serialisation is now stricter on what it will accept, to
1729
 
      guard against potential internal bugs, or broken input. (Robert Collins)
1730
 
 
1731
 
 
1732
 
bzr 1.6beta1 2008-06-02
1733
 
-----------------------
1734
 
 
 
4990
Bug Fixes
 
4991
*********
 
4992
 
 
4993
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
4994
  (The data is not corrupt; an internal check is detecting a problem
 
4995
  reading from the repository.)
 
4996
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
4997
 
 
4998
* ``bzr status`` was breaking if you merged the same revision twice.
 
4999
  (John Arbash Meinel, #235407)
 
5000
 
 
5001
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
5002
  reading a response body via the smart protocol v1 or v2.
 
5003
  (Andrew Bennetts)
 
5004
 
 
5005
* Inserting a bundle which changes the contents of a file with no trailing
 
5006
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
5007
  cause KnitCorrupt. (Robert Collins)
 
5008
 
 
5009
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
5010
  pull result. It was instead just returning None, which breaks ``bzr
 
5011
  pull``. (John Arbash Meinel, #238149)
 
5012
 
 
5013
* Sanitize branch nick before using it as an attachment filename in
 
5014
  ``bzr send``. (Lukáš Lalinský, #210218)
 
5015
 
 
5016
* Squash ``inv_entry.symlink_target`` to a plain string when
 
5017
  generating DirState details. This prevents from getting a
 
5018
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
5019
  (John Arbash Meinel, #135320)
 
5020
 
 
5021
Improvements
 
5022
************
 
5023
 
 
5024
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
5025
 
 
5026
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
5027
  now quote paths where required). Added ``--null`` option to ``added`` and
 
5028
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
5029
  (Adrian Wilkins)
 
5030
 
 
5031
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
5032
  (Ian Clatworthy, Aaron Bentley)
 
5033
 
 
5034
Documentation
 
5035
*************
 
5036
 
 
5037
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
5038
 
 
5039
Testing
 
5040
*******
 
5041
 
 
5042
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
5043
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
5044
 
 
5045
API Changes
 
5046
***********
 
5047
 
 
5048
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
5049
  which are in the ancestry of other revisions. So if you merge the same
 
5050
  tree twice, or merge an ancestor of an existing merge, it will only
 
5051
  record the newest. (If you merge a descendent, it will replace its
 
5052
  ancestor). (John Arbash Meinel, #235407)
 
5053
 
 
5054
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
5055
  through the derived classes do not.  (Aaron Bentley)
 
5056
 
 
5057
Internals
 
5058
*********
 
5059
 
 
5060
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
5061
  creating stacked branches. (Robert Collins)
 
5062
 
 
5063
* Knit record serialisation is now stricter on what it will accept, to
 
5064
  guard against potential internal bugs, or broken input. (Robert Collins)
 
5065
 
 
5066
bzr 1.6beta1
 
5067
############
 
5068
 
 
5069
:Released: 2008-06-02
1735
5070
 
1736
5071
Commands that work on the revision history such as push, pull, missing,
1737
5072
uncommit and log are now substantially faster.  This release adds a
1741
5076
and future extensions.
1742
5077
 
1743
5078
 
1744
 
  NOTES WHEN UPGRADING:
1745
 
 
1746
 
    * There is a new version of the network protocol used for bzr://, bzr+ssh://
1747
 
      and bzr+http:// connections.  This will allow more efficient requests and
1748
 
      responses, and more graceful fallback when a server is too old to
1749
 
      recognise a request from a more recent client.  Bazaar 1.6 will
1750
 
      interoperate with 0.16 and later versions, but servers should be upgraded
1751
 
      when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
1752
 
      these protocols.  Use alternatives like SFTP or upgrade those servers.
1753
 
      (Andrew Bennetts, #83935)
1754
 
 
1755
 
  CHANGES:
1756
 
 
1757
 
    * Deprecation warnings will not be suppressed when running ``bzr selftest``
1758
 
      so that developers can see if their code is using deprecated functions.
1759
 
      (John Arbash Meinel)
1760
 
 
1761
 
  FEATURES:
1762
 
 
1763
 
    * Adding ``-Derror`` will now display a traceback when a plugin fails to
1764
 
      load. (James Westby)
1765
 
 
1766
 
  IMPROVEMENTS:
1767
 
 
1768
 
    * ``bzr branch/push/pull -r XXX`` now have a helper function for finding
1769
 
      the revno of the new revision (``Graph.find_distance_to_null``). This
1770
 
      should make something like ``bzr branch -r -100`` in a shared, no-trees
1771
 
      repository much snappier. (John Arbash Meinel)
1772
 
 
1773
 
    * ``bzr log --short -r X..Y`` no longer needs to access the full revision
1774
 
      history. This makes it noticeably faster when logging the last few
1775
 
      revisions. (John Arbash Meinel)
1776
 
 
1777
 
    * ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
1778
 
      (Jerad Cramp, #165086)
1779
 
 
1780
 
    * ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
1781
 
      ``Graph.find_differences`` to determine missing revisions without having
1782
 
      to search the whole ancestry. (John Arbash Meinel, #174625)
1783
 
 
1784
 
    * ``bzr uncommit`` now uses partial history access, rather than always
1785
 
      extracting the full revision history for a branch. This makes it
1786
 
      resolve the appropriate revisions much faster (in testing it drops
1787
 
      uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
1788
 
      step closer to not using full revision history.
1789
 
      (John Arbash Meinel, #172649)
1790
 
 
1791
 
  BUGFIXES:
1792
 
 
1793
 
    * ``bzr merge --lca`` should handle when two revisions have no common
1794
 
      ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
1795
 
 
1796
 
    * ``bzr status`` was breaking if you merged the same revision twice.
1797
 
      (John Arbash Meinel, #235407)
1798
 
 
1799
 
    * ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
1800
 
      fails.  (Andrew Bennetts, #234229)
1801
 
 
1802
 
    * Correctly track the base URL of a smart medium when using bzr+http://
1803
 
      URLs, which was causing spurious "No repository present" errors with
1804
 
      branches in shared repositories accessed over bzr+http.
1805
 
      (Andrew Bennetts, #230550)
1806
 
 
1807
 
    * Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
1808
 
      implementations have the attribute.  Fixes 'PyCurlTransport' object has no
1809
 
      attribute '_remote_is_at_least_1_2' attribute errors.
1810
 
      (Andrew Bennetts, #220806)
1811
 
 
1812
 
    * Failure to delete an obsolete pack file should just give a warning
1813
 
      message, not a fatal error.  It may for example fail if the file is still
1814
 
      in use by another process.
1815
 
      (Martin Pool)
1816
 
 
1817
 
    * Fix MemoryError during large fetches over HTTP by limiting the amount of
1818
 
      data we try to read per ``recv`` call.  The problem was observed with
1819
 
      Windows and a proxy, but might affect other environments as well.
1820
 
      (Eric Holmberg, #215426)
1821
 
 
1822
 
    * Handle old merge directives correctly in Merger.from_mergeable.  Stricter
1823
 
      get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
1824
 
 
1825
 
    * Issue a warning and ignore passwords declared in authentication.conf when
1826
 
      used for an ssh scheme (sftp or bzr+ssh).
1827
 
      (Vincent Ladeuil, #203186)
1828
 
 
1829
 
    * Make both http implementations raise appropriate exceptions on 403
1830
 
      Forbidden when POSTing smart requests.
1831
 
      (Vincent Ladeuil, #230223)
1832
 
 
1833
 
    * Properly *title* header names in http requests instead of capitalizing
1834
 
      them.
1835
 
      (Vincent Ladeuil, #229076)
1836
 
 
1837
 
    * The "Unable to obtain lock" error message now also suggests using
1838
 
      ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
1839
 
 
1840
 
    * Treat an encoding of '' as ascii; this can happen when bzr is run
1841
 
      under vim on Mac OS X.
1842
 
      (Neil Martinsen-Burrell)
1843
 
 
1844
 
    * ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
1845
 
      scope. (Daniel Fischer #235687)
1846
 
 
1847
 
  DOCUMENTATION:
1848
 
 
1849
 
    * Added directory structure and started translation of docs in spanish.
1850
 
      (Martin Albisetti, Lucio Albenga)
1851
 
 
1852
 
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1853
 
      on the plugin and integration chapters of the User Guide.
1854
 
      (Ian Clatworthy)
1855
 
 
1856
 
    * More Bazaar developer documentation about packaging and release process,
1857
 
      and about use of Python reprs.
1858
 
      (Martin Pool, Martin Albisetti)
1859
 
 
1860
 
    * Updated Tortise strategy document. (Mark Hammond)
1861
 
 
1862
 
  TESTING:
1863
 
 
1864
 
    * ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
1865
 
      (Robert Collins)
1866
 
 
1867
 
    * Fix the test HTTPServer to be isolated from chdir calls made while it is
1868
 
      running, allowing it to be used in blackbox tests. (Robert Collins)
1869
 
 
1870
 
    * New helper function for splitting test suites
1871
 
      ``split_suite_by_condition``. (Robert Collins)
1872
 
 
1873
 
  INTERNALS:
1874
 
 
1875
 
    * ``Branch.missing_revisions`` has been deprecated. Similar functionality
1876
 
      can be obtained using ``bzrlib.missing.find_unmerged``. The api was
1877
 
      fairly broken, and the function was unused, so we are getting rid of it.
1878
 
      (John Arbash Meinel)
1879
 
 
1880
 
  API CHANGES:
1881
 
 
1882
 
    * ``Branch.abspath`` is deprecated; use the Tree or Transport
1883
 
      instead.  (Martin Pool)
1884
 
 
1885
 
    * ``Branch.update_revisions`` now takes an optional ``Graph``
1886
 
      object. This can be used by ``update_revisions`` when it is
1887
 
      checking ancestry, and allows callers to prefer request to go to a
1888
 
      local branch.  (John Arbash Meinel)
1889
 
 
1890
 
    * Branch, Repository, Tree and BzrDir should expose a Transport as an
1891
 
      attribute if they have one, rather than having it indirectly accessible
1892
 
      as ``.control_files._transport``.  This doesn't add a requirement
1893
 
      to support a Transport in cases where it was not needed before;
1894
 
      it just simplifies the way it is reached.  (Martin Pool)
1895
 
 
1896
 
    * ``bzr missing --mine-only`` will return status code 0 if you have no
1897
 
      new revisions, but the remote does. Similarly for ``--theirs-only``.
1898
 
      The new code only checks one side, so it doesn't know if the other
1899
 
      side has changes. This seems more accurate with the request anyway.
1900
 
      It also changes the output to print '[This|Other] branch is up to
1901
 
      date.' rather than displaying nothing.  (John Arbash Meinel)
1902
 
 
1903
 
    * ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
1904
 
      are now deprecated in favor of using Transport operations.
1905
 
      (Martin Pool)
1906
 
 
1907
 
    * Many methods on ``VersionedFile``, ``Repository`` and in
1908
 
      ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
1909
 
      (Robert Collins)
1910
 
 
1911
 
    * ``RevisionSpec.wants_revision_history`` can be set to False for a given
1912
 
      ``RevisionSpec``. This will disable the existing behavior of passing in
1913
 
      the full revision history to ``self._match_on``. Useful for specs that
1914
 
      don't actually need access to the full history. (John Arbash Meinel)
1915
 
 
1916
 
    * The constructors of ``SmartClientMedium`` and its subclasses now require a
1917
 
      ``base`` parameter.  ``SmartClientMedium`` implementations now also need
1918
 
      to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
1919
 
 
1920
 
    * The default permissions for creating new files and directories
1921
 
      should now be obtained from ``BzrDir._get_file_mode()`` and
1922
 
      ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
1923
 
      and ``_set_dir_mode`` variables on LockableFiles which were advertised
1924
 
      as a way for plugins to control this are no longer consulted.
1925
 
      (Martin Pool)
1926
 
 
1927
 
    * ``VersionedFile.join`` is deprecated. This method required local
1928
 
      instances of both versioned file objects and was thus hostile to being
1929
 
      used for streaming from a smart server. The new get_record_stream and
1930
 
      insert_record_stream are meant to efficiently replace this method.
1931
 
      (Robert Collins)
1932
 
 
1933
 
    * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1934
 
      which are in the ancestry of other revisions. So if you merge the same
1935
 
      tree twice, or merge an ancestor of an existing merge, it will only
1936
 
      record the newest. (If you merge a descendent, it will replace its
1937
 
      ancestor). (John Arbash Meinel, #235407)
1938
 
 
1939
 
    * ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
1940
 
      (Martin Pool)
1941
 
 
1942
 
 
1943
 
bzr 1.5 2008-05-16
1944
 
------------------
 
5079
Notes When Upgrading
 
5080
********************
 
5081
 
 
5082
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
5083
  and bzr+http:// connections.  This will allow more efficient requests and
 
5084
  responses, and more graceful fallback when a server is too old to
 
5085
  recognise a request from a more recent client.  Bazaar 1.6 will
 
5086
  interoperate with 0.16 and later versions, but servers should be upgraded
 
5087
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
5088
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
5089
  (Andrew Bennetts, #83935)
 
5090
 
 
5091
Changes
 
5092
*******
 
5093
 
 
5094
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
5095
  so that developers can see if their code is using deprecated functions.
 
5096
  (John Arbash Meinel)
 
5097
 
 
5098
Features
 
5099
********
 
5100
 
 
5101
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
5102
  load. (James Westby)
 
5103
 
 
5104
Improvements
 
5105
************
 
5106
 
 
5107
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
5108
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
5109
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
5110
  repository much snappier. (John Arbash Meinel)
 
5111
 
 
5112
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
5113
  history. This makes it noticeably faster when logging the last few
 
5114
  revisions. (John Arbash Meinel)
 
5115
 
 
5116
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
5117
  (Jerad Cramp, #165086)
 
5118
 
 
5119
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
5120
  ``Graph.find_differences`` to determine missing revisions without having
 
5121
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
5122
 
 
5123
* ``bzr uncommit`` now uses partial history access, rather than always
 
5124
  extracting the full revision history for a branch. This makes it
 
5125
  resolve the appropriate revisions much faster (in testing it drops
 
5126
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
5127
  step closer to not using full revision history.
 
5128
  (John Arbash Meinel, #172649)
 
5129
 
 
5130
Bugfixes
 
5131
********
 
5132
 
 
5133
* ``bzr merge --lca`` should handle when two revisions have no common
 
5134
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
5135
 
 
5136
* ``bzr status`` was breaking if you merged the same revision twice.
 
5137
  (John Arbash Meinel, #235407)
 
5138
 
 
5139
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
5140
  fails.  (Andrew Bennetts, #234229)
 
5141
 
 
5142
* Correctly track the base URL of a smart medium when using bzr+http://
 
5143
  URLs, which was causing spurious "No repository present" errors with
 
5144
  branches in shared repositories accessed over bzr+http.
 
5145
  (Andrew Bennetts, #230550)
 
5146
 
 
5147
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
5148
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
5149
  attribute '_remote_is_at_least_1_2' attribute errors.
 
5150
  (Andrew Bennetts, #220806)
 
5151
 
 
5152
* Failure to delete an obsolete pack file should just give a warning
 
5153
  message, not a fatal error.  It may for example fail if the file is still
 
5154
  in use by another process.
 
5155
  (Martin Pool)
 
5156
 
 
5157
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
5158
  data we try to read per ``recv`` call.  The problem was observed with
 
5159
  Windows and a proxy, but might affect other environments as well.
 
5160
  (Eric Holmberg, #215426)
 
5161
 
 
5162
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
5163
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
5164
 
 
5165
* Issue a warning and ignore passwords declared in authentication.conf when
 
5166
  used for an ssh scheme (sftp or bzr+ssh).
 
5167
  (Vincent Ladeuil, #203186)
 
5168
 
 
5169
* Make both http implementations raise appropriate exceptions on 403
 
5170
  Forbidden when POSTing smart requests.
 
5171
  (Vincent Ladeuil, #230223)
 
5172
 
 
5173
* Properly *title* header names in http requests instead of capitalizing
 
5174
  them.
 
5175
  (Vincent Ladeuil, #229076)
 
5176
 
 
5177
* The "Unable to obtain lock" error message now also suggests using
 
5178
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
5179
 
 
5180
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
5181
  under vim on Mac OS X.
 
5182
  (Neil Martinsen-Burrell)
 
5183
 
 
5184
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
5185
  scope. (Daniel Fischer #235687)
 
5186
 
 
5187
Documentation
 
5188
*************
 
5189
 
 
5190
* Added directory structure and started translation of docs in spanish.
 
5191
  (Martin Albisetti, Lucio Albenga)
 
5192
 
 
5193
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
5194
  on the plugin and integration chapters of the User Guide.
 
5195
  (Ian Clatworthy)
 
5196
 
 
5197
* More Bazaar developer documentation about packaging and release process,
 
5198
  and about use of Python reprs.
 
5199
  (Martin Pool, Martin Albisetti)
 
5200
 
 
5201
* Updated Tortise strategy document. (Mark Hammond)
 
5202
 
 
5203
Testing
 
5204
*******
 
5205
 
 
5206
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
5207
  (Robert Collins)
 
5208
 
 
5209
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
5210
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
5211
 
 
5212
* New helper function for splitting test suites
 
5213
  ``split_suite_by_condition``. (Robert Collins)
 
5214
 
 
5215
Internals
 
5216
*********
 
5217
 
 
5218
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
5219
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
5220
  fairly broken, and the function was unused, so we are getting rid of it.
 
5221
  (John Arbash Meinel)
 
5222
 
 
5223
API Changes
 
5224
***********
 
5225
 
 
5226
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
5227
  instead.  (Martin Pool)
 
5228
 
 
5229
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
5230
  object. This can be used by ``update_revisions`` when it is
 
5231
  checking ancestry, and allows callers to prefer request to go to a
 
5232
  local branch.  (John Arbash Meinel)
 
5233
 
 
5234
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
5235
  attribute if they have one, rather than having it indirectly accessible
 
5236
  as ``.control_files._transport``.  This doesn't add a requirement
 
5237
  to support a Transport in cases where it was not needed before;
 
5238
  it just simplifies the way it is reached.  (Martin Pool)
 
5239
 
 
5240
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
5241
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
5242
  The new code only checks one side, so it doesn't know if the other
 
5243
  side has changes. This seems more accurate with the request anyway.
 
5244
  It also changes the output to print '[This|Other] branch is up to
 
5245
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
5246
 
 
5247
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
5248
  are now deprecated in favor of using Transport operations.
 
5249
  (Martin Pool)
 
5250
 
 
5251
* Many methods on ``VersionedFile``, ``Repository`` and in
 
5252
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
5253
  (Robert Collins)
 
5254
 
 
5255
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
5256
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
5257
  the full revision history to ``self._match_on``. Useful for specs that
 
5258
  don't actually need access to the full history. (John Arbash Meinel)
 
5259
 
 
5260
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
5261
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
5262
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
5263
 
 
5264
* The default permissions for creating new files and directories
 
5265
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
5266
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
5267
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
5268
  as a way for plugins to control this are no longer consulted.
 
5269
  (Martin Pool)
 
5270
 
 
5271
* ``VersionedFile.join`` is deprecated. This method required local
 
5272
  instances of both versioned file objects and was thus hostile to being
 
5273
  used for streaming from a smart server. The new get_record_stream and
 
5274
  insert_record_stream are meant to efficiently replace this method.
 
5275
  (Robert Collins)
 
5276
 
 
5277
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
5278
  which are in the ancestry of other revisions. So if you merge the same
 
5279
  tree twice, or merge an ancestor of an existing merge, it will only
 
5280
  record the newest. (If you merge a descendent, it will replace its
 
5281
  ancestor). (John Arbash Meinel, #235407)
 
5282
 
 
5283
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
5284
  (Martin Pool)
 
5285
 
 
5286
 
 
5287
bzr 1.5
 
5288
#######
 
5289
 
 
5290
:Released: 2008-05-16
1945
5291
 
1946
5292
This release of Bazaar includes several updates to the documentation, and fixes
1947
5293
to prepare for making rich root support the default format. Many bugs have been
1948
5294
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
1949
5295
 
1950
 
  CHANGES:
1951
 
 
1952
 
    * Suppress deprecation warnings when bzrlib is a 'final' release. This way
1953
 
      users of packaged software won't be bothered with DeprecationWarnings,
1954
 
      but developers and testers will still see them. (John Arbash Meinel)
1955
 
 
1956
 
  DOCUMENTATION:
1957
 
 
1958
 
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1959
 
      on the plugin and integration chapters of the User Guide.
1960
 
      (Ian Clatworthy)
1961
 
 
1962
 
 
1963
 
bzr 1.5rc1 2008-05-09
1964
 
---------------------
1965
 
 
1966
 
  NOTES WHEN UPGRADING:
1967
 
 
1968
 
  CHANGES:
1969
 
 
1970
 
    * Broader support of GNU Emacs mail clients. Set
1971
 
      ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
1972
 
      bundle in a mail buffer according to the value of ``mail-user-agent``
1973
 
      variable. (Xavier Maillard)
1974
 
 
1975
 
  FEATURES:
1976
 
 
1977
 
  IMPROVEMENTS:
1978
 
 
1979
 
    * Diff now handles revision specs like "branch:" and "submit:" more
1980
 
      efficiently.  (Aaron Bentley, #202928)
1981
 
 
1982
 
    * More friendly error given when attempt to start the smart server
1983
 
      on an address already in use. (Andrea Corbellini, #200575)
1984
 
 
1985
 
    * Pull completes much faster when there is nothing to pull.
1986
 
      (Aaron Bentley)
1987
 
 
1988
 
  BUGFIXES:
1989
 
 
1990
 
    * Authentication.conf can define sections without password.
1991
 
      (Vincent Ladeuil, #199440)
1992
 
 
1993
 
    * Avoid muttering every time a child update does not cause a progress bar
1994
 
      update. (John Arbash Meinel, #213771)
1995
 
 
1996
 
    * ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
1997
 
      to fix when a Branch has a non-canonical mainline history. ``bzr check``
1998
 
      also detects this condition. (John Arbash Meinel, #177855)
1999
 
 
2000
 
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
2001
 
      for ``revision_id=None`` which was not a string.
2002
 
      (John Arbash Meinel, #211661)
2003
 
 
2004
 
    * ``bzr commit`` now works with Microsoft's FTP service.
2005
 
      (Andreas Deininger)
2006
 
 
2007
 
    * Catch definitions outside sections in authentication.conf.
2008
 
      (Vincent Ladeuil, #217650)
2009
 
 
2010
 
    * Conversion from non-rich-root to rich-root(-pack) updates inventory
2011
 
      sha1s, even when bundles are used.  (Aaron Bentley, #181391)
2012
 
 
2013
 
    * Conversion from non-rich-root to rich-root(-pack) works correctly even
2014
 
      though search keys are not topologically sorted.  (Aaron Bentley)
2015
 
 
2016
 
    * Conversion from non-rich-root to rich-root(-pack) works even when a
2017
 
      parent revision has a different root id.  (Aaron Bentley, #177874)
2018
 
 
2019
 
    * Disable strace testing until strace is fixed (see bug #103133) and emit a
2020
 
      warning when selftest ends to remind us of leaking tests.
2021
 
      (Vincent Ladeuil, #226769)
2022
 
 
2023
 
    * Fetching all revisions from a repository does not cause pack collisions.
2024
 
      (Robert Collins, Aaron Bentley, #212908)
2025
 
 
2026
 
    * Fix error about "attempt to add line-delta in non-delta knit".
2027
 
      (Andrew Bennetts, #217701)
2028
 
 
2029
 
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
2030
 
      if the remote server was < version 1.2. This was due to a bug in the
2031
 
      RemoteRepository.get_parent_map() fallback code.
2032
 
      (John Arbash Meinel, #214894)
2033
 
 
2034
 
    * Remove leftover code in ``bzr_branch`` that inappropriately creates
2035
 
      a ``branch-name`` file in the branch control directory.
2036
 
      (Martin Pool)
2037
 
 
2038
 
    * Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
2039
 
      rebinding the socket when starting the server a second time.
2040
 
      (John Arbash Meinel, Martin Pool, #164288)
2041
 
 
2042
 
    * Severe performance degradation in fetching from knit repositories to
2043
 
      knits and packs due to parsing the entire revisions.kndx on every graph
2044
 
      walk iteration fixed by using the Repository.get_graph API.  There was
2045
 
      another regression in knit => knit fetching which re-read the index for
2046
 
      every revision each side had in common.
2047
 
      (Robert Collins, John Arbash Meinel)
2048
 
 
2049
 
    * When logging the changes to a particular file, there was a bug if there
2050
 
      were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
2051
 
 
2052
 
    * xs4all's ftp server returns a temporary error when trying to list an
2053
 
      empty directory, rather than returning an empty list. Adding a
2054
 
      workaround so that we don't get spurious failures.
2055
 
      (John Arbash Meinel, #215522)
2056
 
 
2057
 
  DOCUMENTATION:
2058
 
 
2059
 
    * Expanded the User Guide to include new chapters on popular plugins and
2060
 
      integrating Bazaar into your environment. The *Best practices* chapter
2061
 
      was renamed to *Miscellaneous topics* as suggested by community
2062
 
      feedback as well. (Ian Clatworthy)
2063
 
 
2064
 
    * Document outlining strategies for TortoiseBzr. (Mark Hammond)
2065
 
 
2066
 
    * Improved the documentation on hooks. (Ian Clatworthy)
2067
 
 
2068
 
    * Update authentication docs regarding ssh agents.
2069
 
      (Vincent Ladeuil, #183705)
2070
 
 
2071
 
  TESTING:
2072
 
 
2073
 
    * Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
2074
 
      make it easy to identify which test spawned a thread with an unhandled
2075
 
      exception. (Andrew Bennetts)
2076
 
 
2077
 
    * New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
2078
 
      options for debugging tests, these are complementary to the the -D
2079
 
      options.  The ``-Dselftest_debug`` global option has been replaced by the
2080
 
      ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
2081
 
 
2082
 
    * Parameterised test ids are preserved correctly to aid diagnosis of test
2083
 
      failures. (Robert Collins, Andrew Bennetts)
2084
 
 
2085
 
    * selftest now accepts --starting-with <id> to load only the tests whose id
2086
 
      starts with the one specified. This greatly speeds up running the test
2087
 
      suite on a limited set of tests and can be used to run the tests for a
2088
 
      single module, a single class or even a single test.  (Vincent Ladeuil)
2089
 
 
2090
 
    * The test suite modules have been modified to define load_tests() instead
2091
 
      of test_suite(). That speeds up selective loading (via --load-list)
2092
 
      significantly and provides many examples on how to migrate (grep for
2093
 
      load_tests).  (Vincent Ladeuil)
2094
 
 
2095
 
  INTERNALS:
2096
 
 
2097
 
    * ``Hooks.install_hook`` is now deprecated in favour of
2098
 
      ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
2099
 
      avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
2100
 
 
2101
 
    * Implement xml8 serializer.  (Aaron Bentley)
2102
 
 
2103
 
    * New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
2104
 
      deprecation wrappers.  (Martin Pool)
2105
 
 
2106
 
    * ``Repository.revision_parents`` is now deprecated in favour of
2107
 
      ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
2108
 
 
2109
 
    * The Python ``assert`` statement is no longer used in Bazaar source, and
2110
 
      a test checks this.  (Martin Pool)
2111
 
 
2112
 
  API CHANGES:
2113
 
 
2114
 
    * ``bzrlib.status.show_pending_merges`` requires the repository to be
2115
 
      locked by the caller. Callers should have been doing it anyway, but it
2116
 
      will now raise an exception if they do not. (John Arbash Meinel)
2117
 
 
2118
 
    * Repository.get_data_stream, Repository.get_data_stream_for_search(),
2119
 
      Repository.get_deltas_for_revsions(), Repository.revision_trees(),
2120
 
      Repository.item_keys_introduced_by() no longer take read locks.
2121
 
      (Aaron Bentley)
2122
 
 
2123
 
    * ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
2124
 
      towards removing LockableFiles and ``.control_files`` entirely.
2125
 
      (Martin Pool)
2126
 
 
2127
 
    * Methods deprecated prior to 1.1 have been removed.
2128
 
      (Martin Pool)
2129
 
 
2130
 
 
2131
 
bzr 1.4 2008-04-28
2132
 
------------------
 
5296
Changes
 
5297
*******
 
5298
 
 
5299
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
5300
  users of packaged software won't be bothered with DeprecationWarnings,
 
5301
  but developers and testers will still see them. (John Arbash Meinel)
 
5302
 
 
5303
Documentation
 
5304
*************
 
5305
 
 
5306
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
5307
  on the plugin and integration chapters of the User Guide.
 
5308
  (Ian Clatworthy)
 
5309
 
 
5310
 
 
5311
bzr 1.5rc1
 
5312
##########
 
5313
 
 
5314
:Released: 2008-05-09
 
5315
 
 
5316
Changes
 
5317
*******
 
5318
 
 
5319
* Broader support of GNU Emacs mail clients. Set
 
5320
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
5321
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
5322
  variable. (Xavier Maillard)
 
5323
 
 
5324
Improvements
 
5325
************
 
5326
 
 
5327
* Diff now handles revision specs like "branch:" and "submit:" more
 
5328
  efficiently.  (Aaron Bentley, #202928)
 
5329
 
 
5330
* More friendly error given when attempt to start the smart server
 
5331
  on an address already in use. (Andrea Corbellini, #200575)
 
5332
 
 
5333
* Pull completes much faster when there is nothing to pull.
 
5334
  (Aaron Bentley)
 
5335
 
 
5336
Bugfixes
 
5337
********
 
5338
 
 
5339
* Authentication.conf can define sections without password.
 
5340
  (Vincent Ladeuil, #199440)
 
5341
 
 
5342
* Avoid muttering every time a child update does not cause a progress bar
 
5343
  update. (John Arbash Meinel, #213771)
 
5344
 
 
5345
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
5346
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
5347
  also detects this condition. (John Arbash Meinel, #177855)
 
5348
 
 
5349
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
5350
  for ``revision_id=None`` which was not a string.
 
5351
  (John Arbash Meinel, #211661)
 
5352
 
 
5353
* ``bzr commit`` now works with Microsoft's FTP service.
 
5354
  (Andreas Deininger)
 
5355
 
 
5356
* Catch definitions outside sections in authentication.conf.
 
5357
  (Vincent Ladeuil, #217650)
 
5358
 
 
5359
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
5360
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
5361
 
 
5362
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
5363
  though search keys are not topologically sorted.  (Aaron Bentley)
 
5364
 
 
5365
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
5366
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
5367
 
 
5368
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
5369
  warning when selftest ends to remind us of leaking tests.
 
5370
  (Vincent Ladeuil, #226769)
 
5371
 
 
5372
* Fetching all revisions from a repository does not cause pack collisions.
 
5373
  (Robert Collins, Aaron Bentley, #212908)
 
5374
 
 
5375
* Fix error about "attempt to add line-delta in non-delta knit".
 
5376
  (Andrew Bennetts, #217701)
 
5377
 
 
5378
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
5379
  if the remote server was < version 1.2. This was due to a bug in the
 
5380
  RemoteRepository.get_parent_map() fallback code.
 
5381
  (John Arbash Meinel, #214894)
 
5382
 
 
5383
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
5384
  a ``branch-name`` file in the branch control directory.
 
5385
  (Martin Pool)
 
5386
 
 
5387
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
5388
  rebinding the socket when starting the server a second time.
 
5389
  (John Arbash Meinel, Martin Pool, #164288)
 
5390
 
 
5391
* Severe performance degradation in fetching from knit repositories to
 
5392
  knits and packs due to parsing the entire revisions.kndx on every graph
 
5393
  walk iteration fixed by using the Repository.get_graph API.  There was
 
5394
  another regression in knit => knit fetching which re-read the index for
 
5395
  every revision each side had in common.
 
5396
  (Robert Collins, John Arbash Meinel)
 
5397
 
 
5398
* When logging the changes to a particular file, there was a bug if there
 
5399
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
5400
 
 
5401
* xs4all's ftp server returns a temporary error when trying to list an
 
5402
  empty directory, rather than returning an empty list. Adding a
 
5403
  workaround so that we don't get spurious failures.
 
5404
  (John Arbash Meinel, #215522)
 
5405
 
 
5406
Documentation
 
5407
*************
 
5408
 
 
5409
* Expanded the User Guide to include new chapters on popular plugins and
 
5410
  integrating Bazaar into your environment. The *Best practices* chapter
 
5411
  was renamed to *Miscellaneous topics* as suggested by community
 
5412
  feedback as well. (Ian Clatworthy)
 
5413
 
 
5414
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
5415
 
 
5416
* Improved the documentation on hooks. (Ian Clatworthy)
 
5417
 
 
5418
* Update authentication docs regarding ssh agents.
 
5419
  (Vincent Ladeuil, #183705)
 
5420
 
 
5421
Testing
 
5422
*******
 
5423
 
 
5424
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
5425
  make it easy to identify which test spawned a thread with an unhandled
 
5426
  exception. (Andrew Bennetts)
 
5427
 
 
5428
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
5429
  options for debugging tests, these are complementary to the -D
 
5430
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
5431
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
5432
 
 
5433
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
5434
  failures. (Robert Collins, Andrew Bennetts)
 
5435
 
 
5436
* selftest now accepts --starting-with <id> to load only the tests whose id
 
5437
  starts with the one specified. This greatly speeds up running the test
 
5438
  suite on a limited set of tests and can be used to run the tests for a
 
5439
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
5440
 
 
5441
* The test suite modules have been modified to define load_tests() instead
 
5442
  of test_suite(). That speeds up selective loading (via --load-list)
 
5443
  significantly and provides many examples on how to migrate (grep for
 
5444
  load_tests).  (Vincent Ladeuil)
 
5445
 
 
5446
Internals
 
5447
*********
 
5448
 
 
5449
* ``Hooks.install_hook`` is now deprecated in favour of
 
5450
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
5451
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
5452
 
 
5453
* Implement xml8 serializer.  (Aaron Bentley)
 
5454
 
 
5455
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
5456
  deprecation wrappers.  (Martin Pool)
 
5457
 
 
5458
* ``Repository.revision_parents`` is now deprecated in favour of
 
5459
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
5460
 
 
5461
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
5462
  a test checks this.  (Martin Pool)
 
5463
 
 
5464
API Changes
 
5465
***********
 
5466
 
 
5467
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
5468
  locked by the caller. Callers should have been doing it anyway, but it
 
5469
  will now raise an exception if they do not. (John Arbash Meinel)
 
5470
 
 
5471
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
5472
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
5473
  Repository.item_keys_introduced_by() no longer take read locks.
 
5474
  (Aaron Bentley)
 
5475
 
 
5476
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
5477
  towards removing LockableFiles and ``.control_files`` entirely.
 
5478
  (Martin Pool)
 
5479
 
 
5480
* Methods deprecated prior to 1.1 have been removed.
 
5481
  (Martin Pool)
 
5482
 
 
5483
 
 
5484
bzr 1.4 
 
5485
#######
 
5486
 
 
5487
:Released: 2008-04-28
2133
5488
 
2134
5489
This release of Bazaar includes handy improvements to the speed of log and
2135
5490
status, new options for several commands, improved documentation, and better
2139
5494
internal work in both the repository and network code to enable new features
2140
5495
and faster performance.
2141
5496
 
2142
 
  BUG FIXES:
2143
 
 
2144
 
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
2145
 
      if the remote server was < version 1.2.  This was due to a bug in the
2146
 
      RemoteRepository.get_parent_map() fallback code.
2147
 
      (John Arbash Meinel, Andrew Bennetts, #214894)
2148
 
 
2149
 
 
2150
 
bzr 1.4rc2 2008-04-21
2151
 
---------------------
2152
 
 
2153
 
  BUG FIXES:
2154
 
 
2155
 
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
2156
 
      for ``revision_id=None`` which was not a string.
2157
 
      (John Arbash Meinel, #211661)
2158
 
 
2159
 
    * Fixed a bug in handling ghost revisions when logging changes in a
2160
 
      particular file.  (John Arbash Meinel, #209948)
2161
 
 
2162
 
    * Fix error about "attempt to add line-delta in non-delta knit".
2163
 
      (Andrew Bennetts, #205156)
2164
 
 
2165
 
    * Fixed performance degradation in fetching from knit repositories to
2166
 
      knits and packs due to parsing the entire revisions.kndx on every graph
2167
 
      walk iteration fixed by using the Repository.get_graph API.  There was
2168
 
      another regression in knit => knit fetching which re-read the index for
2169
 
      every revision each side had in common.
2170
 
      (Robert Collins, John Arbash Meinel)
2171
 
 
2172
 
 
2173
 
bzr 1.4rc1 2008-04-11
2174
 
---------------------
2175
 
 
2176
 
  CHANGES:
2177
 
 
2178
 
   * bzr main script cannot be imported (Benjamin Peterson)
2179
 
 
2180
 
   * On Linux bzr additionally looks for plugins in arch-independent site
2181
 
     directory. (Toshio Kuratomi)
2182
 
 
2183
 
   * The ``set_rh`` branch hook is now deprecated. Please migrate
2184
 
     any plugins using this hook to use an alternative, e.g.
2185
 
     ``post_change_branch_tip``. (Ian Clatworthy)
2186
 
 
2187
 
   * When a plugin cannot be loaded as the file path is not a valid
2188
 
     python module name bzr will now strip a ``bzr_`` prefix from the
2189
 
     front of the suggested name, as many plugins (e.g. bzr-svn)
2190
 
     want to be installed without this prefix. It is a common mistake
2191
 
     to have a folder named "bzr-svn" for that plugin, especially
2192
 
     as this is what bzr branch lp:bzr-svn will give you. (James Westby,
2193
 
     Andrew Cowie)
2194
 
 
2195
 
   * UniqueIntegerBugTracker now appends bug-ids instead of joining
2196
 
     them to the base URL. Plugins that register bug trackers may
2197
 
     need a trailing / added to the base URL if one is not already there.
2198
 
     (James Wesby, Andrew Cowie)
2199
 
 
2200
 
  FEATURES:
2201
 
 
2202
 
    * Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
2203
 
 
2204
 
    * ``status`` now accepts ``--no-pending`` to show the status without
2205
 
      listing pending merges, which speeds up the command a lot on large
2206
 
      histories.  (James Westby, #202830)
2207
 
 
2208
 
    * New ``post_change_branch_tip`` hook that is called after the
2209
 
      branch tip is moved but while the branch is still write-locked.
2210
 
      See the User Reference for signature details.
2211
 
      (Ian Clatworthy, James Henstridge)
2212
 
 
2213
 
    * Reconfigure can convert a branch to be standalone or to use a shared
2214
 
      repository.  (Aaron Bentley)
2215
 
 
2216
 
  IMPROVEMENTS:
2217
 
 
2218
 
    * The smart protocol now has support for setting branches' revision info
2219
 
      directly.  This should make operations like push slightly faster, and is a
2220
 
      step towards server-side hooks.  The new request method name is
2221
 
      ``Branch.set_last_revision_info``.  (Andrew Bennetts)
2222
 
 
2223
 
    * ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
2224
 
      (James Westby, Andrew Cowie)
2225
 
 
2226
 
    * ``bzr switch`` will attempt to find branches to switch to relative to the
2227
 
      current branch. E.g. ``bzr switch branchname`` will look for
2228
 
      ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
2229
 
      Wouter van Heyst)
2230
 
 
2231
 
    * Diff is now more specific about execute-bit changes it describes
2232
 
      (Chad Miller)
2233
 
 
2234
 
    * Fetching data over HTTP is a bit faster when urllib is used.  This is done
2235
 
      by forcing it to recv 64k at a time when reading lines in HTTP headers,
2236
 
      rather than just 1 byte at a time.  (Andrew Bennetts)
2237
 
 
2238
 
    * Log --short and --line are much faster when -r is not specified.
2239
 
      (Aaron Bentley)
2240
 
 
2241
 
    * Merge is faster.  We no longer check a file's existence unnecessarily
2242
 
      when merging the execute bit.  (Aaron Bentley)
2243
 
 
2244
 
    * ``bzr status`` on an explicit list of files no longer shows pending
2245
 
      merges, making it much faster on large trees. (John Arbash Meinel)
2246
 
 
2247
 
    * The launchpad directory service now warns the user if they have not set
2248
 
      their launchpad login and are trying to resolve a URL using it, just
2249
 
      in case they want to do a write operation with it.  (James Westby)
2250
 
 
2251
 
    * The smart protocol client is slightly faster, because it now only queries
2252
 
      the server for the protocol version once per connection.  Also, the HTTP
2253
 
      transport will now automatically probe for and use a smart server if
2254
 
      one is present.  You can use the new ``nosmart+`` transport decorator
2255
 
      to get the old behaviour.  (Andrew Bennetts)
2256
 
 
2257
 
    * The ``version`` command takes a ``--short`` option to print just the
2258
 
      version number, for easier use in scripts.  (Martin Pool)
2259
 
 
2260
 
    * Various operations with revision specs and commands that calculate
2261
 
      revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
2262
 
 
2263
 
  BUGFIXES:
2264
 
 
2265
 
    * Add ``root_client_path`` parameter to SmartWSGIApp and
2266
 
      SmartServerRequest.  This makes it possible to publish filesystem
2267
 
      locations that don't exactly match URL paths. SmartServerRequest
2268
 
      subclasses should use the new ``translate_client_path`` and
2269
 
      ``transport_from_client_path`` methods when dealing with paths received
2270
 
      from a client to take this into account.  (Andrew Bennetts, #124089)
2271
 
 
2272
 
    * ``bzr mv a b`` can be now used also to rename previously renamed
2273
 
      directories, not only files. (Lukáš Lalinský, #107967)
2274
 
 
2275
 
    * ``bzr uncommit --local`` can now remove revisions from the local
2276
 
      branch to be symmetric with ``bzr commit --local``.
2277
 
      (John Arbash Meinel, #93412)
2278
 
 
2279
 
    * Don't ask for a password if there is no real terminal.
2280
 
      (Alexander Belchenko, #69851)
2281
 
 
2282
 
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
2283
 
      fetching revisions from a knit to pack repository or vice versa using
2284
 
      bzr:// (including over http or ssh).
2285
 
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
2286
 
 
2287
 
    * Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
2288
 
      fixed ``_get_bytes`` in the same module to use the push back buffer.
2289
 
      These bugs had no known impact in normal use, but were problematic for
2290
 
      developers working on the code, and were likely to cause real bugs sooner
2291
 
      or later.  (Andrew Bennetts)
2292
 
 
2293
 
    * Implement handling of basename parameter for DefaultMail.  (James Westby)
2294
 
 
2295
 
    * Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
2296
 
      (Andrew Bennetts, #213425)
2297
 
 
2298
 
    * Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
2299
 
 
2300
 
    * Merges that add files to deleted root directories complete.  They
2301
 
      do create conflicts.  (Aaron Bentley, #210092)
2302
 
 
2303
 
    * vsftp's return ``550 RNFR command failed.`` supported.
2304
 
      (Marcus Trautwig, #129786)
2305
 
 
2306
 
  DOCUMENTATION:
2307
 
 
2308
 
    * Improved documentation on send/merge relationship. (Peter Schuller)
2309
 
 
2310
 
    * Minor fixes to the User Guide. (Matthew Fuller)
2311
 
 
2312
 
    * Reduced the evangelism in the User Guide. (Ian Clatworthy)
2313
 
 
2314
 
    * Added Integrating with Bazaar document for developers (Martin Albisetti)
2315
 
 
2316
 
  API BREAKS:
2317
 
 
2318
 
    * Attempting to pull data from a ghost aware repository (e.g. knits) into a
2319
 
      non-ghost aware repository such as weaves will now fail if there are
2320
 
      ghosts.  (Robert Collins)
2321
 
 
2322
 
    * ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
2323
 
      now requires the ``index`` and ``access_method`` parameters to be
2324
 
      supplied. A compatible shim has been kept in the new function
2325
 
      ``knit.make_file_knit``. (Robert Collins)
2326
 
 
2327
 
    * Log formatters must now provide log_revision instead of show and
2328
 
      show_merge_revno methods. The latter had been deprecated since the 0.17
2329
 
      release. (James Westby)
2330
 
 
2331
 
    * ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
2332
 
      (Andrew Bennetts)
2333
 
 
2334
 
    * ``osutils.backup_file`` is removed. (Alexander Belchenko)
2335
 
 
2336
 
    * ``Repository.get_revision_graph`` is deprecated, with no replacement
2337
 
      method. The method was size(history) and not desirable. (Robert Collins)
2338
 
 
2339
 
    * ``revision.revision_graph`` is deprecated, with no replacement function.
2340
 
      The function was size(history) and not desirable. (Robert Collins)
2341
 
 
2342
 
    * ``Transport.get_shared_medium`` is deprecated.  Use
2343
 
      ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
2344
 
 
2345
 
    * ``VersionedFile`` factories now accept a get_scope parameter rather
2346
 
      than using a call to ``transaction_finished``, allowing the removal of
2347
 
      the fixed list of versioned files per repository. (Robert Collins)
2348
 
 
2349
 
    * ``VersionedFile.annotate_iter`` is deprecated. While in principle this
2350
 
      allowed lower memory use, all users of annotations wanted full file
2351
 
      annotations, and there is no storage format suitable for incremental
2352
 
      line-by-line annotation. (Robert Collins)
2353
 
 
2354
 
    * ``VersionedFile.clone_text`` is deprecated. This performance optimisation
2355
 
      is no longer used - reading the content of a file that is undergoing a
2356
 
      file level merge to identical state on two branches is rare enough, and
2357
 
      not expensive enough to special case. (Robert Collins)
2358
 
 
2359
 
    * ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
2360
 
      These methods added significant complexity to the ``VersionedFile``
2361
 
      implementation, but were only used for optimising fetches from knits -
2362
 
      which can be done from outside the knit layer, or via a caching
2363
 
      decorator. As knits are not the default format, the complexity is no
2364
 
      longer worth paying. (Robert Collins)
2365
 
 
2366
 
    * ``VersionedFile.create_empty`` is removed. This method presupposed a
2367
 
      sensible mapping to a transport for individual files, but pack backed
2368
 
      versioned files have no such mapping. (Robert Collins)
2369
 
 
2370
 
    * ``VersionedFile.get_graph`` is deprecated, with no replacement method.
2371
 
      The method was size(history) and not desirable. (Robert Collins)
2372
 
 
2373
 
    * ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
2374
 
      replacement method.  The method was size(history) and not desirable.
2375
 
      (Robert Collins)
2376
 
 
2377
 
    * ``VersionedFile.get_parents`` is deprecated, please use
2378
 
      ``VersionedFile.get_parent_map``. (Robert Collins)
2379
 
 
2380
 
    * ``VersionedFile.get_sha1`` is deprecated, please use
2381
 
      ``VersionedFile.get_sha1s``. (Robert Collins)
2382
 
 
2383
 
    * ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
2384
 
      and unused outside of a single test. (Robert Collins)
2385
 
 
2386
 
    * ``VersionedFile.iter_parents`` is now deprecated in favour of
2387
 
      ``get_parent_map`` which can be used to instantiate a Graph on a
2388
 
      VersionedFile. (Robert Collins)
2389
 
 
2390
 
    * ``VersionedFileStore`` no longer uses the transaction parameter given
2391
 
      to most methods; amongst other things this means that the
2392
 
      get_weave_or_empty method no longer guarantees errors on a missing weave
2393
 
      in a readonly transaction, and no longer caches versioned file instances
2394
 
      which reduces memory pressure (but requires more careful management by
2395
 
      callers to preserve performance). (Robert Collins)
2396
 
 
2397
 
  TESTING:
2398
 
 
2399
 
    * New -Dselftest_debug flag disables clearing of the debug flags during
2400
 
      tests.  This is useful if you want to use e.g. -Dhpss to help debug a
2401
 
      failing test.  Be aware that using this feature is likely to cause
2402
 
      spurious test failures if used with the full suite. (Andrew Bennetts)
2403
 
 
2404
 
    * selftest --load-list now uses a new more agressive test loader that will
2405
 
      avoid loading unneeded modules and building their tests. Plugins can use
2406
 
      this new loader by defining a load_tests function instead of a test_suite
2407
 
      function. (a forthcoming patch will provide many examples on how to
2408
 
      implement this).
2409
 
      (Vincent Ladeuil)
2410
 
 
2411
 
    * selftest --load-list now does some sanity checks regarding duplicate test
2412
 
      IDs and tests present in the list but not found in the actual test suite.
2413
 
      (Vincent Ladeuil)
2414
 
 
2415
 
    * Slightly more concise format for the selftest progress bar, so there's
2416
 
      more space to show the test name.  (Martin Pool) ::
2417
 
 
2418
 
        [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
2419
 
 
2420
 
    * The test suite takes much less memory to run, and is a bit faster.  This
2421
 
      is done by clearing most attributes of TestCases after running them, if
2422
 
      they succeeded.  (Andrew Bennetts)
2423
 
 
2424
 
  INTERNALS:
2425
 
 
2426
 
    * Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
2427
 
 
2428
 
    * Added basic infrastructure for automatic plugin suggestion.
2429
 
      (Martin Albisetti)
2430
 
 
2431
 
    * If a ``LockableFiles`` object is not explicitly unlocked (for example
2432
 
      because of a missing ``try/finally`` block, it will give a warning but
2433
 
      not automatically unlock itself.  (Previously they did.)  This
2434
 
      sometimes caused knock-on errors if for example the network connection
2435
 
      had already failed, and should not be relied upon by code.
2436
 
      (Martin Pool, #109520)
2437
 
 
2438
 
    * ``make dist`` target to build a release tarball, and also
2439
 
      ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
2440
 
 
2441
 
    * The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
2442
 
      classes will now raise ``UnknownSmartMethod`` when appropriate, so that
2443
 
      callers don't need to try distinguish unknown request errors from other
2444
 
      errors.  (Andrew Bennetts)
2445
 
 
2446
 
    * ``set_make_working_trees`` is now implemented provided on all repository
2447
 
      implementations (Aaron Bentley)
2448
 
 
2449
 
    * ``VersionedFile`` now has a new method ``get_parent_map`` which, like
2450
 
      ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
2451
 
 
2452
 
 
2453
 
bzr 1.3.1 2008-04-09
2454
 
--------------------
2455
 
 
2456
 
  No changes from 1.3.1rc1.
2457
 
 
2458
 
 
2459
 
bzr 1.3rc1 2008-04-04
2460
 
---------------------
2461
 
 
2462
 
  BUG FIXES:
2463
 
 
2464
 
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
2465
 
      fetching revisions from a knit to pack repository or vice versa using
2466
 
      bzr:// (including over http or ssh).
2467
 
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
2468
 
 
2469
 
 
2470
 
bzr 1.3 2008-03-20
2471
 
------------------
 
5497
Bug Fixes
 
5498
*********
 
5499
 
 
5500
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
5501
  if the remote server was < version 1.2.  This was due to a bug in the
 
5502
  RemoteRepository.get_parent_map() fallback code.
 
5503
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
5504
 
 
5505
 
 
5506
bzr 1.4rc2
 
5507
##########
 
5508
 
 
5509
:Released: 2008-04-21
 
5510
 
 
5511
Bug Fixes
 
5512
*********
 
5513
 
 
5514
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
5515
  for ``revision_id=None`` which was not a string.
 
5516
  (John Arbash Meinel, #211661)
 
5517
 
 
5518
* Fixed a bug in handling ghost revisions when logging changes in a
 
5519
  particular file.  (John Arbash Meinel, #209948)
 
5520
 
 
5521
* Fix error about "attempt to add line-delta in non-delta knit".
 
5522
  (Andrew Bennetts, #205156)
 
5523
 
 
5524
* Fixed performance degradation in fetching from knit repositories to
 
5525
  knits and packs due to parsing the entire revisions.kndx on every graph
 
5526
  walk iteration fixed by using the Repository.get_graph API.  There was
 
5527
  another regression in knit => knit fetching which re-read the index for
 
5528
  every revision each side had in common.
 
5529
  (Robert Collins, John Arbash Meinel)
 
5530
 
 
5531
 
 
5532
bzr 1.4rc1
 
5533
##########
 
5534
 
 
5535
:Released: 2008-04-11
 
5536
 
 
5537
Changes
 
5538
*******
 
5539
 
 
5540
* bzr main script cannot be imported (Benjamin Peterson)
 
5541
 
 
5542
* On Linux bzr additionally looks for plugins in arch-independent site
 
5543
  directory. (Toshio Kuratomi)
 
5544
 
 
5545
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
5546
  any plugins using this hook to use an alternative, e.g.
 
5547
  ``post_change_branch_tip``. (Ian Clatworthy)
 
5548
 
 
5549
* When a plugin cannot be loaded as the file path is not a valid
 
5550
  python module name bzr will now strip a ``bzr_`` prefix from the
 
5551
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
5552
  want to be installed without this prefix. It is a common mistake
 
5553
  to have a folder named "bzr-svn" for that plugin, especially
 
5554
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
5555
  Andrew Cowie)
 
5556
 
 
5557
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
5558
  them to the base URL. Plugins that register bug trackers may
 
5559
  need a trailing / added to the base URL if one is not already there.
 
5560
  (James Wesby, Andrew Cowie)
 
5561
 
 
5562
Features
 
5563
********
 
5564
 
 
5565
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
5566
 
 
5567
* ``status`` now accepts ``--no-pending`` to show the status without
 
5568
  listing pending merges, which speeds up the command a lot on large
 
5569
  histories.  (James Westby, #202830)
 
5570
 
 
5571
* New ``post_change_branch_tip`` hook that is called after the
 
5572
  branch tip is moved but while the branch is still write-locked.
 
5573
  See the User Reference for signature details.
 
5574
  (Ian Clatworthy, James Henstridge)
 
5575
 
 
5576
* Reconfigure can convert a branch to be standalone or to use a shared
 
5577
  repository.  (Aaron Bentley)
 
5578
 
 
5579
Improvements
 
5580
************
 
5581
 
 
5582
* The smart protocol now has support for setting branches' revision info
 
5583
  directly.  This should make operations like push slightly faster, and is a
 
5584
  step towards server-side hooks.  The new request method name is
 
5585
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
5586
 
 
5587
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
5588
  (James Westby, Andrew Cowie)
 
5589
 
 
5590
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
5591
  current branch. E.g. ``bzr switch branchname`` will look for
 
5592
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
5593
  Wouter van Heyst)
 
5594
 
 
5595
* Diff is now more specific about execute-bit changes it describes
 
5596
  (Chad Miller)
 
5597
 
 
5598
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
5599
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
5600
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
5601
 
 
5602
* Log --short and --line are much faster when -r is not specified.
 
5603
  (Aaron Bentley)
 
5604
 
 
5605
* Merge is faster.  We no longer check a file's existence unnecessarily
 
5606
  when merging the execute bit.  (Aaron Bentley)
 
5607
 
 
5608
* ``bzr status`` on an explicit list of files no longer shows pending
 
5609
  merges, making it much faster on large trees. (John Arbash Meinel)
 
5610
 
 
5611
* The launchpad directory service now warns the user if they have not set
 
5612
  their launchpad login and are trying to resolve a URL using it, just
 
5613
  in case they want to do a write operation with it.  (James Westby)
 
5614
 
 
5615
* The smart protocol client is slightly faster, because it now only queries
 
5616
  the server for the protocol version once per connection.  Also, the HTTP
 
5617
  transport will now automatically probe for and use a smart server if
 
5618
  one is present.  You can use the new ``nosmart+`` transport decorator
 
5619
  to get the old behaviour.  (Andrew Bennetts)
 
5620
 
 
5621
* The ``version`` command takes a ``--short`` option to print just the
 
5622
  version number, for easier use in scripts.  (Martin Pool)
 
5623
 
 
5624
* Various operations with revision specs and commands that calculate
 
5625
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
5626
 
 
5627
Bugfixes
 
5628
********
 
5629
 
 
5630
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
5631
  SmartServerRequest.  This makes it possible to publish filesystem
 
5632
  locations that don't exactly match URL paths. SmartServerRequest
 
5633
  subclasses should use the new ``translate_client_path`` and
 
5634
  ``transport_from_client_path`` methods when dealing with paths received
 
5635
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
5636
 
 
5637
* ``bzr mv a b`` can be now used also to rename previously renamed
 
5638
  directories, not only files. (Lukáš Lalinský, #107967)
 
5639
 
 
5640
* ``bzr uncommit --local`` can now remove revisions from the local
 
5641
  branch to be symmetric with ``bzr commit --local``.
 
5642
  (John Arbash Meinel, #93412)
 
5643
 
 
5644
* Don't ask for a password if there is no real terminal.
 
5645
  (Alexander Belchenko, #69851)
 
5646
 
 
5647
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
5648
  fetching revisions from a knit to pack repository or vice versa using
 
5649
  bzr:// (including over http or ssh).
 
5650
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5651
 
 
5652
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
5653
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
5654
  These bugs had no known impact in normal use, but were problematic for
 
5655
  developers working on the code, and were likely to cause real bugs sooner
 
5656
  or later.  (Andrew Bennetts)
 
5657
 
 
5658
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
5659
 
 
5660
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
5661
  (Andrew Bennetts, #213425)
 
5662
 
 
5663
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
5664
 
 
5665
* Merges that add files to deleted root directories complete.  They
 
5666
  do create conflicts.  (Aaron Bentley, #210092)
 
5667
 
 
5668
* vsftp's return ``550 RNFR command failed.`` supported.
 
5669
  (Marcus Trautwig, #129786)
 
5670
 
 
5671
Documentation
 
5672
*************
 
5673
 
 
5674
* Improved documentation on send/merge relationship. (Peter Schuller)
 
5675
 
 
5676
* Minor fixes to the User Guide. (Matthew Fuller)
 
5677
 
 
5678
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
5679
 
 
5680
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
5681
 
 
5682
API Breaks
 
5683
**********
 
5684
 
 
5685
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
5686
  non-ghost aware repository such as weaves will now fail if there are
 
5687
  ghosts.  (Robert Collins)
 
5688
 
 
5689
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
5690
  now requires the ``index`` and ``access_method`` parameters to be
 
5691
  supplied. A compatible shim has been kept in the new function
 
5692
  ``knit.make_file_knit``. (Robert Collins)
 
5693
 
 
5694
* Log formatters must now provide log_revision instead of show and
 
5695
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
5696
  release. (James Westby)
 
5697
 
 
5698
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
5699
  (Andrew Bennetts)
 
5700
 
 
5701
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
5702
 
 
5703
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
5704
  method. The method was size(history) and not desirable. (Robert Collins)
 
5705
 
 
5706
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
5707
  The function was size(history) and not desirable. (Robert Collins)
 
5708
 
 
5709
* ``Transport.get_shared_medium`` is deprecated.  Use
 
5710
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
5711
 
 
5712
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
5713
  than using a call to ``transaction_finished``, allowing the removal of
 
5714
  the fixed list of versioned files per repository. (Robert Collins)
 
5715
 
 
5716
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
5717
  allowed lower memory use, all users of annotations wanted full file
 
5718
  annotations, and there is no storage format suitable for incremental
 
5719
  line-by-line annotation. (Robert Collins)
 
5720
 
 
5721
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
5722
  is no longer used - reading the content of a file that is undergoing a
 
5723
  file level merge to identical state on two branches is rare enough, and
 
5724
  not expensive enough to special case. (Robert Collins)
 
5725
 
 
5726
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
5727
  These methods added significant complexity to the ``VersionedFile``
 
5728
  implementation, but were only used for optimising fetches from knits -
 
5729
  which can be done from outside the knit layer, or via a caching
 
5730
  decorator. As knits are not the default format, the complexity is no
 
5731
  longer worth paying. (Robert Collins)
 
5732
 
 
5733
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
5734
  sensible mapping to a transport for individual files, but pack backed
 
5735
  versioned files have no such mapping. (Robert Collins)
 
5736
 
 
5737
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
5738
  The method was size(history) and not desirable. (Robert Collins)
 
5739
 
 
5740
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
5741
  replacement method.  The method was size(history) and not desirable.
 
5742
  (Robert Collins)
 
5743
 
 
5744
* ``VersionedFile.get_parents`` is deprecated, please use
 
5745
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
5746
 
 
5747
* ``VersionedFile.get_sha1`` is deprecated, please use
 
5748
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
5749
 
 
5750
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
5751
  and unused outside of a single test. (Robert Collins)
 
5752
 
 
5753
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
5754
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
5755
  VersionedFile. (Robert Collins)
 
5756
 
 
5757
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
5758
  to most methods; amongst other things this means that the
 
5759
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
5760
  in a readonly transaction, and no longer caches versioned file instances
 
5761
  which reduces memory pressure (but requires more careful management by
 
5762
  callers to preserve performance). (Robert Collins)
 
5763
 
 
5764
Testing
 
5765
*******
 
5766
 
 
5767
* New -Dselftest_debug flag disables clearing of the debug flags during
 
5768
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
5769
  failing test.  Be aware that using this feature is likely to cause
 
5770
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
5771
 
 
5772
* selftest --load-list now uses a new more agressive test loader that will
 
5773
  avoid loading unneeded modules and building their tests. Plugins can use
 
5774
  this new loader by defining a load_tests function instead of a test_suite
 
5775
  function. (a forthcoming patch will provide many examples on how to
 
5776
  implement this).
 
5777
  (Vincent Ladeuil)
 
5778
 
 
5779
* selftest --load-list now does some sanity checks regarding duplicate test
 
5780
  IDs and tests present in the list but not found in the actual test suite.
 
5781
  (Vincent Ladeuil)
 
5782
 
 
5783
* Slightly more concise format for the selftest progress bar, so there's
 
5784
  more space to show the test name.  (Martin Pool) ::
 
5785
 
 
5786
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
5787
 
 
5788
* The test suite takes much less memory to run, and is a bit faster.  This
 
5789
  is done by clearing most attributes of TestCases after running them, if
 
5790
  they succeeded.  (Andrew Bennetts)
 
5791
 
 
5792
Internals
 
5793
*********
 
5794
 
 
5795
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
5796
 
 
5797
* Added basic infrastructure for automatic plugin suggestion.
 
5798
  (Martin Albisetti)
 
5799
 
 
5800
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
5801
  because of a missing ``try/finally`` block, it will give a warning but
 
5802
  not automatically unlock itself.  (Previously they did.)  This
 
5803
  sometimes caused knock-on errors if for example the network connection
 
5804
  had already failed, and should not be relied upon by code.
 
5805
  (Martin Pool, #109520)
 
5806
 
 
5807
* ``make dist`` target to build a release tarball, and also
 
5808
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
5809
 
 
5810
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
5811
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
5812
  callers don't need to try distinguish unknown request errors from other
 
5813
  errors.  (Andrew Bennetts)
 
5814
 
 
5815
* ``set_make_working_trees`` is now implemented provided on all repository
 
5816
  implementations (Aaron Bentley)
 
5817
 
 
5818
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
5819
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
5820
 
 
5821
 
 
5822
bzr 1.3.1
 
5823
#########
 
5824
 
 
5825
:Released: 2008-04-09
 
5826
 
 
5827
No changes from 1.3.1rc1.
 
5828
 
 
5829
 
 
5830
bzr 1.3.1rc1
 
5831
############
 
5832
 
 
5833
:Released: 2008-04-04
 
5834
 
 
5835
Bug Fixes
 
5836
*********
 
5837
 
 
5838
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
5839
  fetching revisions from a knit to pack repository or vice versa using
 
5840
  bzr:// (including over http or ssh).
 
5841
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5842
 
 
5843
 
 
5844
bzr 1.3
 
5845
#######
 
5846
 
 
5847
:Released: 2008-03-20
2472
5848
 
2473
5849
Bazaar has become part of the GNU project <http://www.gnu.org>
2474
5850
 
2476
5852
substantially faster.  Several bugs have been fixed and several new options and
2477
5853
features have been added.
2478
5854
 
2479
 
  TESTING:
2480
 
 
2481
 
    * Avoid spurious failure of ``TestVersion.test_version`` matching
2482
 
      directory names.
2483
 
      (#202778, Martin Pool)
2484
 
 
2485
 
 
2486
 
bzr 1.3rc1 2008-03-16
2487
 
---------------------
2488
 
 
2489
 
  NOTES WHEN UPGRADING:
2490
 
 
2491
 
    * The backup directory created by ``upgrade`` is now called
2492
 
      ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
2493
 
 
2494
 
  CHANGES:
2495
 
 
2496
 
    * A new repository format 'development' has been added. This format will
2497
 
      represent the latest 'in-progress' format that the bzr developers are
2498
 
      interested in getting early-adopter testing and feedback on.
2499
 
      ``doc/developers/development-repo.txt`` has detailed information.
2500
 
      (Robert Collins)
2501
 
 
2502
 
    * BZR_LOG environment variable controls location of .bzr.log trace file.
2503
 
      User can suppress writing messages to .bzr.log by using '/dev/null'
2504
 
      filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
2505
 
      is not defined but BZR_HOME is defined then default location
2506
 
      for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
2507
 
      (Alexander Belchenko, #106117)
2508
 
 
2509
 
    * ``launchpad`` builtin plugin now shipped as separate part in standalone
2510
 
      bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
2511
 
      and standalone installer allows user to skip installation of this plugin.
2512
 
      (Alexander Belchenko)
2513
 
 
2514
 
    * Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
2515
 
 
2516
 
    * Version number is now shown as "1.2" or "1.2pr2", without zeroed or
2517
 
      missing final fields.  (Martin Pool)
2518
 
 
2519
 
  FEATURES:
2520
 
 
2521
 
    * ``branch`` and ``checkout`` can hard-link working tree files, which is
2522
 
      faster and saves space.  (Aaron Bentley)
2523
 
 
2524
 
    * ``bzr send`` will now also look at the ``child_submit_to`` setting in
2525
 
      the submit branch to determine the email address to send to.
2526
 
      (Jelmer Vernooij)
2527
 
 
2528
 
  IMPROVEMENTS:
2529
 
 
2530
 
    * BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
2531
 
 
2532
 
    * Branch6.generate_revision_history is faster.  (Aaron Bentley)
2533
 
 
2534
 
    * Directory services can now be registered, allowing special URLs to be
2535
 
      dereferenced into real URLs.  This is a generalization and cleanup of
2536
 
      the lp: transport lookup.  (Aaron Bentley)
2537
 
 
2538
 
    * Merge directives that are automatically attached to emails have nicer
2539
 
      filenames, based on branch-nick + revno. (Aaron Bentley)
2540
 
 
2541
 
    * ``push`` has a ``--revision`` option, to specify what revision to push up
2542
 
      to.  (Daniel Watkins)
2543
 
 
2544
 
    * Significantly reducing execution time and network traffic for trivial
2545
 
      case of running ``bzr missing`` command for two identical branches.
2546
 
      (Alexander Belchenko)
2547
 
 
2548
 
    * Speed up operations that look at the revision graph (such as 'bzr log').
2549
 
      ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
2550
 
      extract the revision history. This allows filtering ghosts while
2551
 
      stepping instead of needing to peek ahead. (John Arbash Meinel)
2552
 
 
2553
 
    * The ``hooks`` command lists installed hooks, to assist in debugging.
2554
 
      (Daniel Watkins)
2555
 
 
2556
 
    * Updates to how ``annotate`` work. Should see a measurable improvement in
2557
 
      performance and memory consumption for file with a lot of merges.
2558
 
      Also, correctly handle when a line is introduced by both parents (it
2559
 
      should be attributed to the first merge which notices this, and not
2560
 
      to all subsequent merges.) (John Arbash Meinel)
2561
 
 
2562
 
  BUGFIXES:
2563
 
 
2564
 
    * Autopacking no longer holds the full set of inventory lines in
2565
 
      memory while copying. For large repositories, this can amount to
2566
 
      hundreds of MB of ram consumption.
2567
 
      (Ian Clatworthy, John Arbash Meinel)
2568
 
 
2569
 
    * Cherrypicking when using ``--format=merge3`` now explictly excludes
2570
 
      BASE lines. (John Arbash Meinel, #151731)
2571
 
 
2572
 
    * Disable plink's interactive prompt for password.
2573
 
      (#107593, Dmitry Vasiliev)
2574
 
 
2575
 
    * Encode command line arguments from unicode to user_encoding before
2576
 
      invoking external mail client in `bzr send` command.
2577
 
      (#139318, Alexander Belchenko)
2578
 
 
2579
 
    * Fixed problem connecting to ``bzr+https://`` servers.
2580
 
      (#198793, John Ferlito)
2581
 
 
2582
 
    * Improved error reporting in the Launchpad plugin. (Daniel Watkins,
2583
 
      #196618)
2584
 
 
2585
 
    * Include quick-start-summary.svg file to python-based installer(s)
2586
 
      for Windows. (#192924, Alexander Belchenko)
2587
 
 
2588
 
    * lca merge now respects specified files. (Aaron Bentley)
2589
 
 
2590
 
    * Make version-info --custom imply --all. (#195560, James Westby)
2591
 
 
2592
 
    * ``merge --preview`` now works for merges that add or modify
2593
 
      symlinks (James Henstridge)
2594
 
 
2595
 
    * Redirecting the output from ``bzr merge`` (when the remembered
2596
 
      location is used) now works. (John Arbash Meinel)
2597
 
 
2598
 
    * setup.py script explicitly checks for Python version.
2599
 
      (Jari Aalto, Alexander Belchenko, #200569)
2600
 
 
2601
 
    * UnknownFormatErrors no longer refer to branches regardless of kind of
2602
 
      unknown format. (Daniel Watkins, #173980)
2603
 
 
2604
 
    * Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
2605
 
      signs, among other small improvements. (Matt Nordhoff, #86838)
2606
 
 
2607
 
    * Use correct indices when emitting LCA conflicts.  This fixes IndexError
2608
 
      errors.  (Aaron Bentley, #196780)
2609
 
 
2610
 
  DOCUMENTATION:
2611
 
 
2612
 
    * Explained how to use ``version-info --custom`` in the User Guide.
2613
 
      (Neil Martinsen-Burrell)
2614
 
 
2615
 
  API BREAKS:
2616
 
 
2617
 
    * Support for loading plugins from zip files and
2618
 
      ``bzrlib.plugin.load_from_zip()`` function are deprecated.
2619
 
      (Alexander Belchenko)
2620
 
 
2621
 
  TESTING:
2622
 
 
2623
 
    * Added missing blackbox tests for ``modified`` (Adrian Wilkins)
2624
 
 
2625
 
    * The branch interface tests were invalid for branches using rich-root
2626
 
      repositories because the empty string is not a valid file-id.
2627
 
      (Robert Collins)
2628
 
 
2629
 
  INTERNALS:
2630
 
 
2631
 
    * ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
2632
 
      ``Repository.get_revision_graph()`` except it includes ghosts and you can
2633
 
      stop part-way through. (John Arbash Meinel)
2634
 
 
2635
 
    * New module ``tools/package_mf.py`` provide custom module finder for
2636
 
      python packages (improves standard python library's modulefinder.py)
2637
 
      used by ``setup.py`` script while building standalone bzr.exe.
2638
 
      (Alexander Belchenko)
2639
 
 
2640
 
    * New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
2641
 
      detecting external lookup support on remote repositories. This method is
2642
 
      now attempted first when lookup up repositories, leading to an extra
2643
 
      round trip on older bzr smart servers. (Robert Collins)
2644
 
 
2645
 
    * Repository formats have a new supported-feature attribute
2646
 
      ``supports_external_lookups`` used to indicate repositories which support
2647
 
      falling back to other repositories when they have partial data.
2648
 
      (Robert Collins)
2649
 
 
2650
 
    * ``Repository.get_revision_graph_with_ghosts`` and
2651
 
      ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
2652
 
      have been deprecated.  (John Arbash Meinel)
2653
 
 
2654
 
    * ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
2655
 
      ``Tree._iter_changes``. The api is now considered stable and ready for
2656
 
      external users.  (Aaron Bentley)
2657
 
 
2658
 
    * The bzrdir format registry now accepts an ``alias`` keyword to
2659
 
      register_metadir, used to indicate that a format name is an alias for
2660
 
      some other format and thus should not be reported when describing the
2661
 
      format. (Robert Collins)
2662
 
 
2663
 
 
2664
 
bzr 1.2 2008-02-15
2665
 
------------------
2666
 
 
2667
 
  BUG FIXES:
2668
 
 
2669
 
    * Fix failing test in Launchpad plugin. (Martin Pool)
2670
 
 
2671
 
 
2672
 
bzr 1.2rc1 2008-02-13
2673
 
---------------------
2674
 
 
2675
 
  NOTES WHEN UPGRADING:
2676
 
 
2677
 
    * Fetching via the smart protocol may need to reconnect once during a fetch
2678
 
      if the remote server is running Bazaar 1.1 or earlier, because the client
2679
 
      attempts to use more efficient requests that confuse older servers.  You
2680
 
      may be required to re-enter a password or passphrase when this happens.
2681
 
      This won't happen if the server is upgraded to Bazaar 1.2.
2682
 
      (Andrew Bennetts)
2683
 
 
2684
 
  CHANGES:
2685
 
 
2686
 
    * Fetching via bzr+ssh will no longer fill ghosts by default (this is
2687
 
      consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2688
 
 
2689
 
    * Formatting of ``bzr plugins`` output is changed to be more human-
2690
 
      friendly. Full path of plugins locations will be shown only with
2691
 
      ``--verbose`` command-line option. (Alexander Belchenko)
2692
 
 
2693
 
    * ``merge`` now prefers to use the submit branch, but will fall back to
2694
 
      parent branch.  For many users, this has no effect.  But some users who
2695
 
      pull and merge on the same branch will notice a change.  This change
2696
 
      makes it easier to work on a branch on two different machines, pulling
2697
 
      between the machines, while merging from the upstream.
2698
 
      ``merge --remember`` can now be used to set the submit_branch.
2699
 
      (Aaron Bentley)
2700
 
 
2701
 
  FEATURES:
2702
 
 
2703
 
    * ``merge --preview`` produces a diff of the changes merge would make,
2704
 
      but does not actually perform the merge.  (Aaron Bentley)
2705
 
 
2706
 
    * New smart method ``Repository.get_parent_map`` for getting revision
2707
 
      parent data. This returns additional parent information topologically
2708
 
      adjacent to the requested data to reduce round trip latency impacts.
2709
 
      (Robert Collins)
2710
 
 
2711
 
    * New smart method, ``Repository.stream_revisions_chunked``, for fetching
2712
 
      revision data that streams revision data via a chunked encoding.  This
2713
 
      avoids buffering large amounts of revision data on the server and on the
2714
 
      client, and sends less data to the server to request the revisions.
2715
 
      (Andrew Bennetts, Robert Collins, #178353)
2716
 
 
2717
 
    * The launchpad plugin now handles lp urls of the form
2718
 
      ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2719
 
      launchpad instance to do the resolution of the branch identities.
2720
 
      This is primarily of use to Launchpad developers, but can also
2721
 
      be used by other users who want to try out Launchpad as
2722
 
      a branch location without messing up their public Launchpad
2723
 
      account.  Branches that are pushed to the staging environment
2724
 
      have an expected lifetime of one day. (Tim Penhey)
2725
 
 
2726
 
  IMPROVEMENTS:
2727
 
 
2728
 
    * Creating a new branch no longer tries to read the entire revision-history
2729
 
      unnecessarily over smart server operations. (Robert Collins)
2730
 
 
2731
 
    * Fetching between different repository formats with compatible models now
2732
 
      takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
2733
 
 
2734
 
    * The ``--coverage`` option is now global, rather specific to ``bzr
2735
 
      selftest``.  (Andrew Bennetts)
2736
 
 
2737
 
    * The ``register-branch`` command will now use the public url of the branch
2738
 
      containing the current directory, if one has been set and no explicit
2739
 
      branch is provided.  (Robert Collins)
2740
 
 
2741
 
    * Tweak the ``reannotate`` code path to optimize the 2-parent case.
2742
 
      Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2743
 
      (John Arbash Meinel)
2744
 
 
2745
 
  BUGFIXES:
2746
 
 
2747
 
    * Calculate remote path relative to the shared medium in _SmartClient.  This
2748
 
      is related to the problem in bug #124089.  (Andrew Bennetts)
2749
 
 
2750
 
    * Cleanly handle connection errors in smart protocol version two, the same
2751
 
      way as they are handled by version one.  (Andrew Bennetts)
2752
 
 
2753
 
    * Clearer error when ``version-info --custom`` is used without
2754
 
      ``--template`` (Lukáš Lalinský)
2755
 
 
2756
 
    * Don't raise UnavailableFeature during test setup when medusa is not
2757
 
      available or tearDown is never called leading to nasty side effects.
2758
 
      (#137823, Vincent Ladeuil)
2759
 
 
2760
 
    * If a plugin's test suite cannot be loaded, for example because of a syntax
2761
 
      error in the tests, then ``selftest`` fails, rather than just printing
2762
 
      a warning.  (Martin Pool, #189771)
2763
 
 
2764
 
    * List possible values for BZR_SSH environment variable in env-variables
2765
 
      help topic. (Alexander Belchenko, #181842)
2766
 
 
2767
 
    * New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2768
 
      popping the log redirection now precisely restores the previous state,
2769
 
      which makes it easier to use bzr log output from other programs.
2770
 
      TestCaseInTempDir no longer depends on a log redirection being established
2771
 
      by the test framework, which lets bzr tests cleanly run from a normal
2772
 
      unittest runner.
2773
 
      (#124153, #124849, Martin Pool, Jonathan Lange)
2774
 
 
2775
 
    * ``pull --quiet`` is now more quiet, in particular a message is no longer
2776
 
      printed when the remembered pull location is used. (James Westby,
2777
 
      #185907)
2778
 
 
2779
 
    * ``reconfigure`` can safely be interrupted while fetching.
2780
 
      (Aaron Bentley, #179316)
2781
 
 
2782
 
    * ``reconfigure`` preserves tags when converting to and from lightweight
2783
 
      checkouts.  (Aaron Bentley, #182040)
2784
 
 
2785
 
    * Stop polluting /tmp when running selftest.
2786
 
      (Vincent Ladeuil, #123623)
2787
 
 
2788
 
    * Switch from NFKC => NFC for normalization checks. NFC allows a few
2789
 
      more characters which should be considered valid.
2790
 
      (John Arbash Meinel, #185458)
2791
 
 
2792
 
    * The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2793
 
      interacting badly with a bug on the launchpad side. (Robert Collins)
2794
 
 
2795
 
    * Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2796
 
      tracebacks.  (Andrew Bennetts, #182849)
2797
 
 
2798
 
  API BREAKS:
2799
 
 
2800
 
    * Classes implementing Merge types like Merge3Merger must now accept (and
2801
 
      honour) a do_merge flag in their constructor.  (Aaron Bentley)
2802
 
 
2803
 
    * ``Repository.add_inventory`` and ``add_revision`` now require the caller
2804
 
      to previously take a write lock (and start a write group.)
2805
 
      (Martin Pool)
2806
 
 
2807
 
  TESTING:
2808
 
 
2809
 
    * selftest now accepts --load-list <file> to load a test id list. This
2810
 
      speeds up running the test suite on a limited set of tests.
2811
 
      (Vincent Ladeuil)
2812
 
 
2813
 
  INTERNALS:
2814
 
 
2815
 
    * Add a new method ``get_result`` to graph search objects. The resulting
2816
 
      ``SearchResult`` can be used to recreate the search later, which will
2817
 
      be useful in reducing network traffic. (Robert Collins)
2818
 
 
2819
 
    * Use convenience function to check whether two repository handles
2820
 
      are referring to the same repository in ``Repository.get_graph``.
2821
 
      (Jelmer Vernooij, #187162)
2822
 
 
2823
 
    * Fetching now passes the find_ghosts flag through to the
2824
 
      ``InterRepository.missing_revision_ids`` call consistently for all
2825
 
      repository types. This will enable faster missing revision discovery with
2826
 
      bzr+ssh. (Robert Collins)
2827
 
 
2828
 
    * Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2829
 
 
2830
 
    * ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2831
 
      ``InterRepository.search_missing_revision_ids`` which returns a
2832
 
      ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2833
 
      server. (Robert Collins)
2834
 
 
2835
 
    * New error ``NoPublicBranch`` for commands that need a public branch to
2836
 
      operate. (Robert Collins)
2837
 
 
2838
 
    * New method ``iter_inventories`` on Repository for access to many
2839
 
      inventories. This is primarily used by the ``revision_trees`` method, as
2840
 
      direct access to inventories is discouraged. (Robert Collins)
2841
 
 
2842
 
    * New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2843
 
      which will split out ghosts and present parents into two separate sets,
2844
 
      useful for code which needs to be aware of ghosts (e.g. fetching data
2845
 
      cares about ghosts during revision selection). (Robert Collins)
2846
 
 
2847
 
    * Record a timestamp against each mutter to the trace file, relative to the
2848
 
      first import of bzrlib.  (Andrew Bennetts)
2849
 
 
2850
 
    * ``Repository.get_data_stream`` is now deprecated in favour of
2851
 
      ``Repository.get_data_stream_for_search`` which allows less network
2852
 
      traffic when requesting data streams over a smart server. (Robert Collins)
2853
 
 
2854
 
    * ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2855
 
      removing one round trip on many network operations. (Robert Collins)
2856
 
 
2857
 
    * RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2858
 
      SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
2859
 
 
2860
 
    * Repository has a new method ``has_revisions`` which signals the presence
2861
 
      of many revisions by returning a set of the revisions listed which are
2862
 
      present. This can be done by index queries without reading data for parent
2863
 
      revision names etc. (Robert Collins)
2864
 
 
2865
 
 
2866
 
bzr 1.1 2008-01-15
2867
 
------------------
 
5855
Testing
 
5856
*******
 
5857
 
 
5858
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
5859
  directory names.
 
5860
  (#202778, Martin Pool)
 
5861
 
 
5862
 
 
5863
bzr 1.3rc1
 
5864
##########
 
5865
 
 
5866
:Released: 2008-03-16
 
5867
 
 
5868
Notes When Upgrading
 
5869
********************
 
5870
 
 
5871
* The backup directory created by ``upgrade`` is now called
 
5872
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
5873
 
 
5874
Changes
 
5875
*******
 
5876
 
 
5877
* A new repository format 'development' has been added. This format will
 
5878
  represent the latest 'in-progress' format that the bzr developers are
 
5879
  interested in getting early-adopter testing and feedback on.
 
5880
  ``doc/developers/development-repo.txt`` has detailed information.
 
5881
  (Robert Collins)
 
5882
 
 
5883
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
5884
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
5885
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
5886
  is not defined but BZR_HOME is defined then default location
 
5887
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
5888
  (Alexander Belchenko, #106117)
 
5889
 
 
5890
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
5891
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
5892
  and standalone installer allows user to skip installation of this plugin.
 
5893
  (Alexander Belchenko)
 
5894
 
 
5895
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
5896
 
 
5897
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
5898
  missing final fields.  (Martin Pool)
 
5899
 
 
5900
Features
 
5901
********
 
5902
 
 
5903
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
5904
  faster and saves space.  (Aaron Bentley)
 
5905
 
 
5906
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
5907
  the submit branch to determine the email address to send to.
 
5908
  (Jelmer Vernooij)
 
5909
 
 
5910
Improvements
 
5911
************
 
5912
 
 
5913
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
5914
 
 
5915
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
5916
 
 
5917
* Directory services can now be registered, allowing special URLs to be
 
5918
  dereferenced into real URLs.  This is a generalization and cleanup of
 
5919
  the lp: transport lookup.  (Aaron Bentley)
 
5920
 
 
5921
* Merge directives that are automatically attached to emails have nicer
 
5922
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
5923
 
 
5924
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
5925
  to.  (Daniel Watkins)
 
5926
 
 
5927
* Significantly reducing execution time and network traffic for trivial
 
5928
  case of running ``bzr missing`` command for two identical branches.
 
5929
  (Alexander Belchenko)
 
5930
 
 
5931
* Speed up operations that look at the revision graph (such as 'bzr log').
 
5932
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
5933
  extract the revision history. This allows filtering ghosts while
 
5934
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
5935
 
 
5936
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
5937
  (Daniel Watkins)
 
5938
 
 
5939
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
5940
  performance and memory consumption for file with a lot of merges.
 
5941
  Also, correctly handle when a line is introduced by both parents (it
 
5942
  should be attributed to the first merge which notices this, and not
 
5943
  to all subsequent merges.) (John Arbash Meinel)
 
5944
 
 
5945
Bugfixes
 
5946
********
 
5947
 
 
5948
* Autopacking no longer holds the full set of inventory lines in
 
5949
  memory while copying. For large repositories, this can amount to
 
5950
  hundreds of MB of ram consumption.
 
5951
  (Ian Clatworthy, John Arbash Meinel)
 
5952
 
 
5953
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
5954
  BASE lines. (John Arbash Meinel, #151731)
 
5955
 
 
5956
* Disable plink's interactive prompt for password.
 
5957
  (#107593, Dmitry Vasiliev)
 
5958
 
 
5959
* Encode command line arguments from unicode to user_encoding before
 
5960
  invoking external mail client in `bzr send` command.
 
5961
  (#139318, Alexander Belchenko)
 
5962
 
 
5963
* Fixed problem connecting to ``bzr+https://`` servers.
 
5964
  (#198793, John Ferlito)
 
5965
 
 
5966
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
5967
  #196618)
 
5968
 
 
5969
* Include quick-start-summary.svg file to python-based installer(s)
 
5970
  for Windows. (#192924, Alexander Belchenko)
 
5971
 
 
5972
* lca merge now respects specified files. (Aaron Bentley)
 
5973
 
 
5974
* Make version-info --custom imply --all. (#195560, James Westby)
 
5975
 
 
5976
* ``merge --preview`` now works for merges that add or modify
 
5977
  symlinks (James Henstridge)
 
5978
 
 
5979
* Redirecting the output from ``bzr merge`` (when the remembered
 
5980
  location is used) now works. (John Arbash Meinel)
 
5981
 
 
5982
* setup.py script explicitly checks for Python version.
 
5983
  (Jari Aalto, Alexander Belchenko, #200569)
 
5984
 
 
5985
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
5986
  unknown format. (Daniel Watkins, #173980)
 
5987
 
 
5988
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
5989
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
5990
 
 
5991
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
5992
  errors.  (Aaron Bentley, #196780)
 
5993
 
 
5994
Documentation
 
5995
*************
 
5996
 
 
5997
* Explained how to use ``version-info --custom`` in the User Guide.
 
5998
  (Neil Martinsen-Burrell)
 
5999
 
 
6000
API Breaks
 
6001
**********
 
6002
 
 
6003
* Support for loading plugins from zip files and
 
6004
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
6005
  (Alexander Belchenko)
 
6006
 
 
6007
Testing
 
6008
*******
 
6009
 
 
6010
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
6011
 
 
6012
* The branch interface tests were invalid for branches using rich-root
 
6013
  repositories because the empty string is not a valid file-id.
 
6014
  (Robert Collins)
 
6015
 
 
6016
Internals
 
6017
*********
 
6018
 
 
6019
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
6020
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
6021
  stop part-way through. (John Arbash Meinel)
 
6022
 
 
6023
* New module ``tools/package_mf.py`` provide custom module finder for
 
6024
  python packages (improves standard python library's modulefinder.py)
 
6025
  used by ``setup.py`` script while building standalone bzr.exe.
 
6026
  (Alexander Belchenko)
 
6027
 
 
6028
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
6029
  detecting external lookup support on remote repositories. This method is
 
6030
  now attempted first when lookup up repositories, leading to an extra
 
6031
  round trip on older bzr smart servers. (Robert Collins)
 
6032
 
 
6033
* Repository formats have a new supported-feature attribute
 
6034
  ``supports_external_lookups`` used to indicate repositories which support
 
6035
  falling back to other repositories when they have partial data.
 
6036
  (Robert Collins)
 
6037
 
 
6038
* ``Repository.get_revision_graph_with_ghosts`` and
 
6039
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
6040
  have been deprecated.  (John Arbash Meinel)
 
6041
 
 
6042
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
6043
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
6044
  external users.  (Aaron Bentley)
 
6045
 
 
6046
* The bzrdir format registry now accepts an ``alias`` keyword to
 
6047
  register_metadir, used to indicate that a format name is an alias for
 
6048
  some other format and thus should not be reported when describing the
 
6049
  format. (Robert Collins)
 
6050
 
 
6051
 
 
6052
bzr 1.2
 
6053
#######
 
6054
 
 
6055
:Released: 2008-02-15
 
6056
 
 
6057
Bug Fixes
 
6058
*********
 
6059
 
 
6060
* Fix failing test in Launchpad plugin. (Martin Pool)
 
6061
 
 
6062
 
 
6063
bzr 1.2rc1
 
6064
##########
 
6065
 
 
6066
:Released: 2008-02-13
 
6067
 
 
6068
Notes When Upgrading
 
6069
********************
 
6070
 
 
6071
* Fetching via the smart protocol may need to reconnect once during a fetch
 
6072
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
6073
  attempts to use more efficient requests that confuse older servers.  You
 
6074
  may be required to re-enter a password or passphrase when this happens.
 
6075
  This won't happen if the server is upgraded to Bazaar 1.2.
 
6076
  (Andrew Bennetts)
 
6077
 
 
6078
Changes
 
6079
*******
 
6080
 
 
6081
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
6082
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
6083
 
 
6084
* Formatting of ``bzr plugins`` output is changed to be more human-
 
6085
  friendly. Full path of plugins locations will be shown only with
 
6086
  ``--verbose`` command-line option. (Alexander Belchenko)
 
6087
 
 
6088
* ``merge`` now prefers to use the submit branch, but will fall back to
 
6089
  parent branch.  For many users, this has no effect.  But some users who
 
6090
  pull and merge on the same branch will notice a change.  This change
 
6091
  makes it easier to work on a branch on two different machines, pulling
 
6092
  between the machines, while merging from the upstream.
 
6093
  ``merge --remember`` can now be used to set the submit_branch.
 
6094
  (Aaron Bentley)
 
6095
 
 
6096
Features
 
6097
********
 
6098
 
 
6099
* ``merge --preview`` produces a diff of the changes merge would make,
 
6100
  but does not actually perform the merge.  (Aaron Bentley)
 
6101
 
 
6102
* New smart method ``Repository.get_parent_map`` for getting revision
 
6103
  parent data. This returns additional parent information topologically
 
6104
  adjacent to the requested data to reduce round trip latency impacts.
 
6105
  (Robert Collins)
 
6106
 
 
6107
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
6108
  revision data that streams revision data via a chunked encoding.  This
 
6109
  avoids buffering large amounts of revision data on the server and on the
 
6110
  client, and sends less data to the server to request the revisions.
 
6111
  (Andrew Bennetts, Robert Collins, #178353)
 
6112
 
 
6113
* The launchpad plugin now handles lp urls of the form
 
6114
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
6115
  launchpad instance to do the resolution of the branch identities.
 
6116
  This is primarily of use to Launchpad developers, but can also
 
6117
  be used by other users who want to try out Launchpad as
 
6118
  a branch location without messing up their public Launchpad
 
6119
  account.  Branches that are pushed to the staging environment
 
6120
  have an expected lifetime of one day. (Tim Penhey)
 
6121
 
 
6122
Improvements
 
6123
************
 
6124
 
 
6125
* Creating a new branch no longer tries to read the entire revision-history
 
6126
  unnecessarily over smart server operations. (Robert Collins)
 
6127
 
 
6128
* Fetching between different repository formats with compatible models now
 
6129
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
6130
 
 
6131
* The ``--coverage`` option is now global, rather specific to ``bzr
 
6132
  selftest``.  (Andrew Bennetts)
 
6133
 
 
6134
* The ``register-branch`` command will now use the public url of the branch
 
6135
  containing the current directory, if one has been set and no explicit
 
6136
  branch is provided.  (Robert Collins)
 
6137
 
 
6138
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
6139
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
6140
  (John Arbash Meinel)
 
6141
 
 
6142
Bugfixes
 
6143
********
 
6144
 
 
6145
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
6146
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
6147
 
 
6148
* Cleanly handle connection errors in smart protocol version two, the same
 
6149
  way as they are handled by version one.  (Andrew Bennetts)
 
6150
 
 
6151
* Clearer error when ``version-info --custom`` is used without
 
6152
  ``--template`` (Lukáš Lalinský)
 
6153
 
 
6154
* Don't raise UnavailableFeature during test setup when medusa is not
 
6155
  available or tearDown is never called leading to nasty side effects.
 
6156
  (#137823, Vincent Ladeuil)
 
6157
 
 
6158
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
6159
  error in the tests, then ``selftest`` fails, rather than just printing
 
6160
  a warning.  (Martin Pool, #189771)
 
6161
 
 
6162
* List possible values for BZR_SSH environment variable in env-variables
 
6163
  help topic. (Alexander Belchenko, #181842)
 
6164
 
 
6165
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
6166
  popping the log redirection now precisely restores the previous state,
 
6167
  which makes it easier to use bzr log output from other programs.
 
6168
  TestCaseInTempDir no longer depends on a log redirection being established
 
6169
  by the test framework, which lets bzr tests cleanly run from a normal
 
6170
  unittest runner.
 
6171
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
6172
 
 
6173
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
6174
  printed when the remembered pull location is used. (James Westby,
 
6175
  #185907)
 
6176
 
 
6177
* ``reconfigure`` can safely be interrupted while fetching.
 
6178
  (Aaron Bentley, #179316)
 
6179
 
 
6180
* ``reconfigure`` preserves tags when converting to and from lightweight
 
6181
  checkouts.  (Aaron Bentley, #182040)
 
6182
 
 
6183
* Stop polluting /tmp when running selftest.
 
6184
  (Vincent Ladeuil, #123363)
 
6185
 
 
6186
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
6187
  more characters which should be considered valid.
 
6188
  (John Arbash Meinel, #185458)
 
6189
 
 
6190
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
6191
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
6192
 
 
6193
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
6194
  tracebacks.  (Andrew Bennetts, #182849)
 
6195
 
 
6196
API Breaks
 
6197
**********
 
6198
 
 
6199
* Classes implementing Merge types like Merge3Merger must now accept (and
 
6200
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
6201
 
 
6202
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
6203
  to previously take a write lock (and start a write group.)
 
6204
  (Martin Pool)
 
6205
 
 
6206
Testing
 
6207
*******
 
6208
 
 
6209
* selftest now accepts --load-list <file> to load a test id list. This
 
6210
  speeds up running the test suite on a limited set of tests.
 
6211
  (Vincent Ladeuil)
 
6212
 
 
6213
Internals
 
6214
*********
 
6215
 
 
6216
* Add a new method ``get_result`` to graph search objects. The resulting
 
6217
  ``SearchResult`` can be used to recreate the search later, which will
 
6218
  be useful in reducing network traffic. (Robert Collins)
 
6219
 
 
6220
* Use convenience function to check whether two repository handles
 
6221
  are referring to the same repository in ``Repository.get_graph``.
 
6222
  (Jelmer Vernooij, #187162)
 
6223
 
 
6224
* Fetching now passes the find_ghosts flag through to the
 
6225
  ``InterRepository.missing_revision_ids`` call consistently for all
 
6226
  repository types. This will enable faster missing revision discovery with
 
6227
  bzr+ssh. (Robert Collins)
 
6228
 
 
6229
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
6230
 
 
6231
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
6232
  ``InterRepository.search_missing_revision_ids`` which returns a
 
6233
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
6234
  server. (Robert Collins)
 
6235
 
 
6236
* New error ``NoPublicBranch`` for commands that need a public branch to
 
6237
  operate. (Robert Collins)
 
6238
 
 
6239
* New method ``iter_inventories`` on Repository for access to many
 
6240
  inventories. This is primarily used by the ``revision_trees`` method, as
 
6241
  direct access to inventories is discouraged. (Robert Collins)
 
6242
 
 
6243
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
6244
  which will split out ghosts and present parents into two separate sets,
 
6245
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
6246
  cares about ghosts during revision selection). (Robert Collins)
 
6247
 
 
6248
* Record a timestamp against each mutter to the trace file, relative to the
 
6249
  first import of bzrlib.  (Andrew Bennetts)
 
6250
 
 
6251
* ``Repository.get_data_stream`` is now deprecated in favour of
 
6252
  ``Repository.get_data_stream_for_search`` which allows less network
 
6253
  traffic when requesting data streams over a smart server. (Robert Collins)
 
6254
 
 
6255
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
6256
  removing one round trip on many network operations. (Robert Collins)
 
6257
 
 
6258
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
6259
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
6260
 
 
6261
* Repository has a new method ``has_revisions`` which signals the presence
 
6262
  of many revisions by returning a set of the revisions listed which are
 
6263
  present. This can be done by index queries without reading data for parent
 
6264
  revision names etc. (Robert Collins)
 
6265
 
 
6266
 
 
6267
bzr 1.1
 
6268
#######
 
6269
 
 
6270
:Released: 2008-01-15
2868
6271
 
2869
6272
(no changes from 1.1rc1)
2870
6273
 
2871
 
bzr 1.1rc1 2008-01-05
2872
 
---------------------
2873
 
 
2874
 
  CHANGES:
2875
 
 
2876
 
   * Dotted revision numbers have been revised. Instead of growing longer with
2877
 
     nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2878
 
     we now report 1.2.1.) This helps scale long lived branches which have many
2879
 
     feature branches merged between them. (John Arbash Meinel)
2880
 
 
2881
 
   * The syntax ``bzr diff branch1 branch2`` is no longer supported.
2882
 
     Use ``bzr diff branch1 --new branch2`` instead. This change has
2883
 
     been made to remove the ambiguity where ``branch2`` is in fact a
2884
 
     specific file to diff within ``branch1``.
2885
 
 
2886
 
  FEATURES:
2887
 
 
2888
 
   * New option to use custom template-based formats in  ``bzr version-info``.
2889
 
     (Lukáš Lalinský)
2890
 
 
2891
 
   * diff '--using' allows an external diff tool to be used for files.
2892
 
     (Aaron Bentley)
2893
 
 
2894
 
   * New "lca" merge-type for fast everyday merging that also supports
2895
 
     criss-cross merges.  (Aaron Bentley)
2896
 
 
2897
 
  IMPROVEMENTS:
2898
 
 
2899
 
   * ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2900
 
     #90049)
2901
 
 
2902
 
   * ``branch`` and ``checkout`` can now use files from a working tree to
2903
 
     to speed up the process.  For checkout, this requires the new
2904
 
     --files-from flag.  (Aaron Bentley)
2905
 
 
2906
 
   * ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
2907
 
 
2908
 
   * ``bzr diff`` now works on branches without working trees. Tree-less
2909
 
     branches can also be compared to each other and to working trees using
2910
 
     the new diff options ``--old`` and ``--new``. Diffing between branches,
2911
 
     with or without trees, now supports specific file filtering as well.
2912
 
     (Ian Clatworthy, #6700)
2913
 
 
2914
 
   * ``bzr pack`` now orders revision texts in topological order, with newest
2915
 
     at the start of the file, promoting linear reads for ``bzr log`` and the
2916
 
     like. This partially fixes #154129. (Robert Collins)
2917
 
 
2918
 
   * Merge directives now fetch prerequisites from the target branch if
2919
 
     needed.  (Aaron Bentley)
2920
 
 
2921
 
   * pycurl now handles digest authentication.
2922
 
     (Vincent Ladeuil)
2923
 
 
2924
 
   * ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
2925
 
 
2926
 
   * ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
2927
 
 
2928
 
   * ``merge`` now warns when merge directives cause cherrypicks.
2929
 
     (Aaron Bentley)
2930
 
 
2931
 
   * ``split`` now supported, to enable splitting large trees into smaller
2932
 
     pieces.  (Aaron Bentley)
2933
 
 
2934
 
  BUGFIXES:
2935
 
 
2936
 
   * Avoid AttributeError when unlocking a pack repository when an error occurs.
2937
 
     (Martin Pool, #180208)
2938
 
 
2939
 
   * Better handle short reads when processing multiple range requests.
2940
 
     (Vincent Ladeuil, #179368)
2941
 
 
2942
 
   * build_tree acceleration uses the correct path when a file has been moved.
2943
 
     (Aaron Bentley)
2944
 
 
2945
 
   * ``commit`` now succeeds when a checkout and its master branch share a
2946
 
     repository.  (Aaron Bentley, #177592)
2947
 
 
2948
 
   * Fixed error reporting of unsupported timezone format in
2949
 
     ``log --timezone``. (Lukáš Lalinský, #178722)
2950
 
 
2951
 
   * Fixed Unicode encoding error in ``ignored`` when the output is
2952
 
     redirected to a pipe. (Lukáš Lalinský)
2953
 
 
2954
 
   * Fix traceback when sending large response bodies over the smart protocol
2955
 
     on Windows. (Andrew Bennetts, #115781)
2956
 
 
2957
 
   * Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2958
 
     pointed to different logical drives on Windows.
2959
 
     (Alexander Belchenko, #90847)
2960
 
 
2961
 
   * HTTP test servers are now compatible with the http protocol version 1.1.
2962
 
     (Vincent Ladeuil, #175524)
2963
 
 
2964
 
   * _KnitParentsProvider.get_parent_map now handles requests for ghosts
2965
 
     correctly, instead of erroring or attributing incorrect parents to ghosts.
2966
 
     (Aaron Bentley)
2967
 
 
2968
 
   * ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
2969
 
 
2970
 
   * pycurl authentication handling was broken and incomplete. Fix handling of
2971
 
     user:pass embedded in the urls.
2972
 
     (Vincent Ladeuil, #177643)
2973
 
 
2974
 
   * Files inside non-directories are now handled like other conflict types.
2975
 
     (Aaron Bentley, #177390)
2976
 
 
2977
 
   * ``reconfigure`` is able to convert trees into lightweight checkouts.
2978
 
     (Aaron Bentley)
2979
 
 
2980
 
   * Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
2981
 
     #148087)
2982
 
 
2983
 
   * Test that the old ``version_info_format`` functions still work, even
2984
 
     though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2985
 
 
2986
 
   * Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2987
 
     #137681)
2988
 
 
2989
 
   * ``uncommit`` works even when the commit messages of revisions to be
2990
 
     removed use characters not supported in the terminal encoding.
2991
 
     (Aaron Bentley)
2992
 
 
2993
 
   * When dumb http servers return whole files instead of the requested ranges,
2994
 
     read the remaining bytes by chunks to avoid overflowing network buffers.
2995
 
     (Vincent Ladeuil, #175886)
2996
 
 
2997
 
  DOCUMENTATION:
2998
 
 
2999
 
   * Minor tweaks made to the bug tracker integration documentation.
3000
 
     (Ian Clatworthy)
3001
 
 
3002
 
   * Reference material has now be moved out of the User Guide and added
3003
 
     to the User Reference. The User Reference has gained 4 sections as
3004
 
     a result: Authenication Settings, Configuration Settings, Conflicts
3005
 
     and Hooks. All help topics are now dumped into text format in the
3006
 
     doc/en/user-reference directory for those who like browsing that
3007
 
     information in their editor. (Ian Clatworthy)
3008
 
 
3009
 
   * *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
3010
 
 
3011
 
  INTERNALS:
3012
 
 
3013
 
    * find_* methods available for BzrDirs, Branches and WorkingTrees.
3014
 
      (Aaron Bentley)
3015
 
 
3016
 
    * Help topics can now be loaded from files.
3017
 
      (Ian Clatworthy, Alexander Belchenko)
3018
 
 
3019
 
    * get_parent_map now always provides tuples as its output.  (Aaron Bentley)
3020
 
 
3021
 
    * Parent Providers should now implement ``get_parent_map`` returning a
3022
 
      dictionary instead of ``get_parents`` returning a list.
3023
 
      ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
3024
 
      Robert Collins)
3025
 
 
3026
 
    * Patience Diff now supports arbitrary python objects, as long as they
3027
 
      support ``hash()``. (John Arbash Meinel)
3028
 
 
3029
 
    * Reduce selftest overhead to establish test names by memoization.
3030
 
      (Vincent Ladeuil)
3031
 
 
3032
 
  API BREAKS:
3033
 
 
3034
 
  TESTING:
3035
 
 
3036
 
   * Modules can now customise their tests by defining a ``load_tests``
3037
 
     attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
3038
 
     for the documentation on this attribute. (Robert Collins)
3039
 
 
3040
 
   * New helper function ``bzrlib.tests.condition_id_re`` which helps
3041
 
     filter tests based on a regular expression search on the tests id.
3042
 
     (Robert Collins)
3043
 
 
3044
 
   * New helper function ``bzrlib.tests.condition_isinstance`` which helps
3045
 
     filter tests based on class. (Robert Collins)
3046
 
 
3047
 
   * New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
3048
 
     generalises the ``exclude_suite_by_re`` function. (Robert Collins)
3049
 
 
3050
 
   * New helper function ``bzrlib.tests.filter_suite_by_condition`` which
3051
 
     generalises the ``filter_suite_by_re`` function. (Robert Collins)
3052
 
 
3053
 
   * New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
3054
 
     TestSuite that does not contain tests from the input that matched a
3055
 
     regular expression. (Robert Collins)
3056
 
 
3057
 
   * New helper method ``bzrlib.tests.randomize_suite`` which returns a
3058
 
     randomized copy of the input suite. (Robert Collins)
3059
 
 
3060
 
   * New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
3061
 
     suite into two according to a regular expression. (Robert Collins)
3062
 
 
3063
 
   * Parametrize all http tests for the transport implementations, the http
3064
 
     protocol versions (1.0 and 1.1) and the authentication schemes.
3065
 
     (Vincent Ladeuil)
3066
 
 
3067
 
   * The ``exclude_pattern`` and ``random_order`` parameters to the function
3068
 
     ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
3069
 
 
3070
 
   * The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
3071
 
     replaced by the new helper methods added in this release. (Robert Collins)
3072
 
 
3073
 
 
3074
 
bzr 1.0 2007-12-14
3075
 
------------------
3076
 
 
3077
 
  DOCUMENTATION:
3078
 
 
3079
 
   * More improvements and fixes to the User Guide.  (Ian Clatworthy)
3080
 
 
3081
 
   * Add information on cherrypicking/rebasing to the User Guide.
3082
 
     (Ian Clatworthy)
3083
 
 
3084
 
   * Improve bug tracker integration documentation. (Ian Clatworthy)
3085
 
 
3086
 
   * Minor edits to ``Bazaar in five minutes`` from David Roberts and
3087
 
     to the rebasing section of the User Guide from Aaron Bentley.
3088
 
     (Ian Clatworthy)
3089
 
 
3090
 
 
3091
 
bzr 1.0rc3 2007-12-11
3092
 
---------------------
3093
 
 
3094
 
  CHANGES:
3095
 
 
3096
 
   * If a traceback occurs, users are now asked to report the bug
3097
 
     through Launchpad (https://bugs.launchpad.net/bzr/), rather than
3098
 
     by mail to the mailing list.
3099
 
     (Martin Pool)
3100
 
 
3101
 
  BUGFIXES:
3102
 
 
3103
 
   * Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
3104
 
 
3105
 
   * Give more feedback during long http downloads by making readv deliver data
3106
 
     as it arrives for urllib, and issue more requests for pycurl. High latency
3107
 
     networks are better handled by urllib, the pycurl implementation give more
3108
 
     feedback but also incur more latency.
3109
 
     (Vincent Ladeuil, #173010)
3110
 
 
3111
 
   * Implement _make_parents_provider on RemoteRepository, allowing generating
3112
 
     bundles against branches on a smart server.  (Andrew Bennetts, #147836)
3113
 
 
3114
 
  DOCUMENTATION:
3115
 
 
3116
 
   * Improved user guide.  (Ian Clatworthy)
3117
 
 
3118
 
   * The single-page quick reference guide is now available as a PDF.
3119
 
     (Ian Clatworthy)
3120
 
 
3121
 
  INTERNALS:
3122
 
 
3123
 
    * readv urllib http implementation is now a real iterator above the
3124
 
      underlying socket and deliver data as soon as it arrives. 'get' still
3125
 
      wraps its output in a StringIO.
3126
 
      (Vincent Ladeuil)
3127
 
 
3128
 
 
3129
 
bzr 1.0rc2 2007-12-07
3130
 
---------------------
3131
 
 
3132
 
  IMPROVEMENTS:
3133
 
 
3134
 
   * Added a --coverage option to selftest. (Andrew Bennetts)
3135
 
 
3136
 
   * Annotate merge (merge-type=weave) now supports cherrypicking.
3137
 
     (Aaron Bentley)
3138
 
 
3139
 
   * ``bzr commit`` now doesn't print the revision number twice. (Matt
3140
 
     Nordhoff, #172612)
3141
 
 
3142
 
   * New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
3143
 
     define locations of bug trackers that are not directly supported by
3144
 
     bzr or a plugin. The URL will be treated as a template and ``{id}``
3145
 
     placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
3146
 
 
3147
 
   * Support logging single merge revisions with short and line log formatters.
3148
 
     (Kent Gibson)
3149
 
 
3150
 
   * User Guide enhanced with suggested readability improvements from
3151
 
     Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
3152
 
 
3153
 
   * Quick Start Guide renamed to Quick Start Card, moved down in
3154
 
     the catalog, provided in pdf and png format and updated to refer
3155
 
     to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
3156
 
 
3157
 
   * ``switch`` can now be used on heavyweight checkouts as well as
3158
 
     lightweight ones. After switching a heavyweight checkout, the
3159
 
     local branch is a mirror/cache of the new bound branch and
3160
 
     uncommitted changes in the working tree are merged. As a safety
3161
 
     check, if there are local commits in a checkout which have not
3162
 
     been committed to the previously bound branch, then ``switch``
3163
 
     fails unless the ``--force`` option is given. This option is
3164
 
     now also required if the branch a lightweight checkout is pointing
3165
 
     to has been moved. (Ian Clatworthy)
3166
 
 
3167
 
  INTERNALS:
3168
 
 
3169
 
    * New -Dhttp debug option reports http connections, requests and responses.
3170
 
      (Vincent Ladeuil)
3171
 
 
3172
 
    * New -Dmerge debug option, which emits merge plans for merge-type=weave.
3173
 
 
3174
 
  BUGFIXES:
3175
 
 
3176
 
   * Better error message when running ``bzr cat`` on a non-existant branch.
3177
 
     (Lukáš Lalinský, #133782)
3178
 
 
3179
 
   * Catch OSError 17 (file exists) in final phase of tree transform and show
3180
 
     filename to user.
3181
 
     (Alexander Belchenko, #111758)
3182
 
 
3183
 
   * Catch ShortReadvErrors while using pycurl. Also make readv more robust by
3184
 
     allowing multiple GET requests to be issued if too many ranges are
3185
 
     required.
3186
 
     (Vincent Ladeuil, #172701)
3187
 
 
3188
 
   * Check for missing basis texts when fetching from packs to packs.
3189
 
     (John Arbash Meinel, #165290)
3190
 
 
3191
 
   * Fall back to showing e-mail in ``log --short/--line`` if the
3192
 
     committer/author has only e-mail. (Lukáš Lalinský, #157026)
3193
 
 
3194
 
  API BREAKS:
3195
 
 
3196
 
   * Deprecate not passing a ``location`` argument to commit reporters'
3197
 
     ``started`` methods. (Matt Nordhoff)
3198
 
 
3199
 
 
3200
 
bzr 1.0rc1 2007-11-30
3201
 
---------------------
3202
 
 
3203
 
  NOTES WHEN UPGRADING:
3204
 
 
3205
 
   * The default repository format is now ``pack-0.92``.  This
3206
 
     default is used when creating new repositories with ``init`` and
3207
 
     ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
3208
 
     (See https://bugs.launchpad.net/bugs/164626)
3209
 
 
3210
 
     This format can be read and written by Bazaar 0.92 and later, and
3211
 
     data can be transferred to and from older formats.
3212
 
 
3213
 
     To upgrade, please reconcile your repository (``bzr reconcile``), and then
3214
 
     upgrade (``bzr upgrade``).
3215
 
 
3216
 
     ``pack-0.92`` offers substantially better scaling and performance than the
3217
 
     previous knits format. Some operations are slower where the code already
3218
 
     had bad scaling characteristics under knits, the pack format makes such
3219
 
     operations more visible as part of being more scalable overall. We will
3220
 
     correct such operations over the coming releases and encourage the filing
3221
 
     of bugs on any operation which you observe to be slower in a packs
3222
 
     repository. One particular case that we do not intend to fix is pulling
3223
 
     data from a pack repository into a knit repository over a high latency
3224
 
     link;  downgrading such data requires reinsertion of the file texts, and
3225
 
     this is a classic space/time tradeoff. The current implementation is
3226
 
     conservative on memory usage because we need to support converting data
3227
 
     from any tree without problems.
3228
 
     (Robert Collins, Martin Pool, #164476)
3229
 
 
3230
 
  CHANGES:
3231
 
 
3232
 
   * Disable detection of plink.exe as possible ssh vendor. Plink vendor
3233
 
     still available if user selects it explicitly with BZR_SSH environment
3234
 
     variable. (Alexander Belchenko, workaround for bug #107593)
3235
 
 
3236
 
   * The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3237
 
     to enable the subtree functions (for example, for bzr-svn).
3238
 
     See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
3239
 
     (Martin Pool)
3240
 
 
3241
 
  FEATURES:
3242
 
 
3243
 
   * New ``authentication.conf`` file holding the password or other credentials
3244
 
     for remote servers. This can be used for ssh, sftp, smtp and other
3245
 
     supported transports.
3246
 
     (Vincent Ladeuil)
3247
 
 
3248
 
   * New rich-root and rich-root-pack formats, recording the same data about
3249
 
     tree roots that's recorded for all other directories.
3250
 
     (Aaron Bentley, #164639)
3251
 
 
3252
 
   * ``pack-0.92`` repositories can now be reconciled.
3253
 
     (Robert Collins, #154173)
3254
 
 
3255
 
   * ``switch`` command added for changing the branch a lightweight checkout
3256
 
     is associated with and updating the tree to reflect the latest content
3257
 
     accordingly. This command was previously part of the BzrTools plug-in.
3258
 
     (Ian Clatworthy, Aaron Bentley, David Allouche)
3259
 
 
3260
 
   * ``reconfigure`` command can now convert branches, trees, or checkouts to
3261
 
     lightweight checkouts.  (Aaron Bentley)
3262
 
 
3263
 
  PERFORMANCE:
3264
 
 
3265
 
   * Commit updates the state of the working tree via a delta rather than
3266
 
     supplying entirely new basis trees. For commit of a single specified file
3267
 
     this reduces the wall clock time for commit by roughly a 30%.
3268
 
     (Robert Collins, Martin Pool)
3269
 
 
3270
 
   * Commit with many automatically found deleted paths no longer performs
3271
 
     linear scanning for the children of those paths during inventory
3272
 
     iteration. This should fix commit performance blowing out when many such
3273
 
     paths occur during commit. (Robert Collins, #156491)
3274
 
 
3275
 
   * Fetch with pack repositories will no longer read the entire history graph.
3276
 
     (Robert Collins, #88319)
3277
 
 
3278
 
   * Revert takes out an appropriate lock when reverting to a basis tree, and
3279
 
     does not read the basis inventory twice. (Robert Collins)
3280
 
 
3281
 
   * Diff does not require an inventory to be generated on dirstate trees.
3282
 
     (Aaron Bentley, #149254)
3283
 
 
3284
 
   * New annotate merge (--merge-type=weave) implementation is fast on
3285
 
     versionedfiles withough cached annotations, e.g. pack-0.92.
3286
 
     (Aaron Bentley)
3287
 
 
3288
 
  IMPROVEMENTS:
3289
 
 
3290
 
   * ``bzr merge`` now warns when it encounters a criss-cross merge.
3291
 
     (Aaron Bentley)
3292
 
 
3293
 
   * ``bzr send`` now doesn't require the target e-mail address to be
3294
 
     specified on the command line if an interactive e-mail client is used.
3295
 
     (Lukáš Lalinský)
3296
 
 
3297
 
   * ``bzr tags`` now prints the revision number for each tag, instead of
3298
 
     the revision id, unless --show-ids is passed. In addition, tags can be
3299
 
     sorted chronologically instead of lexicographically with --sort=time.
3300
 
     (Adeodato Simó, #120231)
3301
 
 
3302
 
   * Windows standalone version of bzr is able to load system-wide plugins from
3303
 
     "plugins" subdirectory in installation directory. In addition standalone
3304
 
     installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
3305
 
     about paths and bzr version. (Alexander Belchenko, #129298)
3306
 
 
3307
 
  DOCUMENTATION:
3308
 
 
3309
 
  BUG FIXES:
3310
 
 
3311
 
   * A progress bar has been added for knitpack -> knitpack fetching.
3312
 
     (Robert Collins, #157789, #159147)
3313
 
 
3314
 
   * Branching from a branch via smart server now preserves the repository
3315
 
     format. (Andrew Bennetts,  #164626)
3316
 
 
3317
 
   * ``commit`` is now able to invoke an external editor in a non-ascii
3318
 
     directory. (Daniel Watkins, #84043)
3319
 
 
3320
 
   * Catch connection errors for ftp.
3321
 
     (Vincent Ladeuil, #164567)
3322
 
 
3323
 
   * ``check`` no longer reports spurious unreferenced text versions.
3324
 
     (Robert Collins, John A Meinel, #162931, #165071)
3325
 
 
3326
 
   * Conflicts are now resolved recursively by ``revert``.
3327
 
     (Aaron Bentley, #102739)
3328
 
 
3329
 
   * Detect invalid transport reuse attempts by catching invalid URLs.
3330
 
     (Vincent Ladeuil, #161819)
3331
 
 
3332
 
   * Deleting a file without removing it shows a correct diff, not a traceback.
3333
 
     (Aaron Bentley)
3334
 
 
3335
 
   * Do no use timeout in HttpServer anymore.
3336
 
     (Vincent Ladeuil, #158972).
3337
 
 
3338
 
   * Don't catch the exceptions related to the http pipeline status before
3339
 
     retrying an http request or some programming errors may be masked.
3340
 
     (Vincent Ladeuil, #160012)
3341
 
 
3342
 
   * Fix ``bzr rm`` to not delete modified and ignored files.
3343
 
     (Lukáš Lalinský, #172598)
3344
 
 
3345
 
   * Fix exception when revisionspec contains merge revisons but log
3346
 
     formatter doesn't support merge revisions. (Kent Gibson, #148908)
3347
 
 
3348
 
   * Fix exception when ScopeReplacer is assigned to before any members have
3349
 
     been retrieved.  (Aaron Bentley)
3350
 
 
3351
 
   * Fix multiple connections during checkout --lightweight.
3352
 
     (Vincent Ladeuil, #159150)
3353
 
 
3354
 
   * Fix possible error in insert_data_stream when copying between
3355
 
     pack repositories over bzr+ssh or bzr+http.
3356
 
     KnitVersionedFile.get_data_stream now makes sure that requested
3357
 
     compression parents are sent before any delta hunks that depend
3358
 
     on them.
3359
 
     (Martin Pool, #164637)
3360
 
 
3361
 
   * Fix typo in limiting offsets coalescing for http, leading to
3362
 
     whole files being downloaded instead of parts.
3363
 
     (Vincent Ladeuil, #165061)
3364
 
 
3365
 
   * FTP server errors don't error in the error handling code.
3366
 
     (Robert Collins, #161240)
3367
 
 
3368
 
   * Give a clearer message when a pull fails because the source needs
3369
 
     to be reconciled.
3370
 
     (Martin Pool, #164443)
3371
 
 
3372
 
   * It is clearer when a plugin cannot be loaded because of its name, and a
3373
 
     suggestion for an acceptable name is given. (Daniel Watkins, #103023)
3374
 
 
3375
 
   * Leave port as None in transport objects if user doesn't
3376
 
     specify a port in urls.
3377
 
     (vincent Ladeuil, #150860)
3378
 
 
3379
 
   * Make sure Repository.fetch(self) is properly a no-op for all
3380
 
     Repository implementations. (John Arbash Meinel, #158333)
3381
 
 
3382
 
   * Mark .bzr directories as "hidden" on Windows.
3383
 
     (Alexander Belchenko, #71147)
3384
 
 
3385
 
   * ``merge --uncommitted`` can now operate on a single file.
3386
 
     (Aaron Bentley, Lukáš Lalinský, #136890)
3387
 
 
3388
 
   * Obsolete packs are now cleaned up by pack and autopack operations.
3389
 
     (Robert Collins, #153789)
3390
 
 
3391
 
   * Operations pulling data from a smart server where the underlying
3392
 
     repositories are not both annotated/both unannotated will now work.
3393
 
     (Robert Collins, #165304).
3394
 
 
3395
 
   * Reconcile now shows progress bars. (Robert Collins, #159351)
3396
 
 
3397
 
   * ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
3398
 
     properly. (John Arbash Meinel, #162486)
3399
 
 
3400
 
   * Removing an already-removed file reports the file does not exist. (Daniel
3401
 
     Watkins, #152811)
3402
 
 
3403
 
   * Rename on Windows is able to change filename case.
3404
 
     (Alexander Belchenko, #77740)
3405
 
 
3406
 
   * Return error instead of a traceback for ``bzr log -r0``.
3407
 
     (Kent Gibson, #133751)
3408
 
 
3409
 
   * Return error instead of a traceback when bzr is unable to create
3410
 
     symlink on some platforms (e.g. on Windows).
3411
 
     (Alexander Belchenko, workaround for #81689)
3412
 
 
3413
 
   * Revert doesn't crash when restoring a single file from a deleted
3414
 
     directory. (Aaron Bentley)
3415
 
 
3416
 
   * Stderr output via logging mechanism now goes through encoded wrapper
3417
 
     and no more uses utf-8, but terminal encoding instead. So all unicode
3418
 
     strings now should be readable in non-utf-8 terminal.
3419
 
     (Alexander Belchenko, #54173)
3420
 
 
3421
 
   * The error message when ``move --after`` should be used makes how to do so
3422
 
     clearer. (Daniel Watkins, #85237)
3423
 
 
3424
 
   * Unicode-safe output from ``bzr info``. The output will be encoded
3425
 
     using the terminal encoding and unrepresentable characters will be
3426
 
     replaced by '?'. (Lukáš Lalinský, #151844)
3427
 
 
3428
 
   * Working trees are no longer created when pushing into a local no-trees
3429
 
     repo. (Daniel Watkins, #50582)
3430
 
 
3431
 
   * Upgrade util/configobj to version 4.4.0.
3432
 
     (Vincent Ladeuil, #151208).
3433
 
 
3434
 
   * Wrap medusa ftp test server as an FTPServer feature.
3435
 
     (Vincent Ladeuil, #157752)
3436
 
 
3437
 
  API BREAKS:
3438
 
 
3439
 
   * ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
3440
 
     during very long time. (Alexander Belchenko)
3441
 
 
3442
 
   * The return value of
3443
 
     ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
3444
 
     changed. Previously it was an iterator of lines, now it is an iterator of
3445
 
     (line, version_id) tuples. This change has been made to aid reconcile and
3446
 
     fetch operations. (Robert Collins)
3447
 
 
3448
 
   * ``bzrlib.repository.get_versioned_file_checker`` is now private.
3449
 
     (Robert Collins)
3450
 
 
3451
 
   * The Repository format registry default has been removed; it was previously
3452
 
     obsoleted by the bzrdir format default, which implies a default repository
3453
 
     format.
3454
 
     (Martin Pool)
3455
 
 
3456
 
  INTERNALS:
3457
 
 
3458
 
   * Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
3459
 
     ``bzrlib.pack``.  These classes provide more convenient APIs for generating
3460
 
     and parsing containers from streams rather than from files.  (Andrew
3461
 
     Bennetts)
3462
 
 
3463
 
   * New module ``lru_cache`` providing a cache for use by tasks that need
3464
 
     semi-random access to large amounts of data. (John A Meinel)
3465
 
 
3466
 
   * InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
3467
 
 
3468
 
  TESTING:
3469
 
 
3470
 
 
3471
 
bzr 0.92 2007-11-05
3472
 
-------------------
3473
 
 
3474
 
  CHANGES:
 
6274
bzr 1.1rc1
 
6275
##########
 
6276
 
 
6277
:Released: 2008-01-05
 
6278
 
 
6279
Changes
 
6280
*******
 
6281
 
 
6282
* Dotted revision numbers have been revised. Instead of growing longer with
 
6283
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
6284
  we now report 1.2.1.) This helps scale long lived branches which have many
 
6285
  feature branches merged between them. (John Arbash Meinel)
 
6286
 
 
6287
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
6288
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
6289
  been made to remove the ambiguity where ``branch2`` is in fact a
 
6290
  specific file to diff within ``branch1``.
 
6291
 
 
6292
Features
 
6293
********
 
6294
 
 
6295
* New option to use custom template-based formats in  ``bzr version-info``.
 
6296
  (Lukáš Lalinský)
 
6297
 
 
6298
* diff '--using' allows an external diff tool to be used for files.
 
6299
  (Aaron Bentley)
 
6300
 
 
6301
* New "lca" merge-type for fast everyday merging that also supports
 
6302
  criss-cross merges.  (Aaron Bentley)
 
6303
 
 
6304
Improvements
 
6305
************
 
6306
 
 
6307
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
6308
  #90049)
 
6309
 
 
6310
* ``branch`` and ``checkout`` can now use files from a working tree to
 
6311
  to speed up the process.  For checkout, this requires the new
 
6312
  --files-from flag.  (Aaron Bentley)
 
6313
 
 
6314
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
6315
 
 
6316
* ``bzr diff`` now works on branches without working trees. Tree-less
 
6317
  branches can also be compared to each other and to working trees using
 
6318
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
6319
  with or without trees, now supports specific file filtering as well.
 
6320
  (Ian Clatworthy, #6700)
 
6321
 
 
6322
* ``bzr pack`` now orders revision texts in topological order, with newest
 
6323
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
6324
  like. This partially fixes #154129. (Robert Collins)
 
6325
 
 
6326
* Merge directives now fetch prerequisites from the target branch if
 
6327
  needed.  (Aaron Bentley)
 
6328
 
 
6329
* pycurl now handles digest authentication.
 
6330
  (Vincent Ladeuil)
 
6331
 
 
6332
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
6333
 
 
6334
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
6335
 
 
6336
* ``merge`` now warns when merge directives cause cherrypicks.
 
6337
  (Aaron Bentley)
 
6338
 
 
6339
* ``split`` now supported, to enable splitting large trees into smaller
 
6340
  pieces.  (Aaron Bentley)
 
6341
 
 
6342
Bugfixes
 
6343
********
 
6344
 
 
6345
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
6346
  (Martin Pool, #180208)
 
6347
 
 
6348
* Better handle short reads when processing multiple range requests.
 
6349
  (Vincent Ladeuil, #179368)
 
6350
 
 
6351
* build_tree acceleration uses the correct path when a file has been moved.
 
6352
  (Aaron Bentley)
 
6353
 
 
6354
* ``commit`` now succeeds when a checkout and its master branch share a
 
6355
  repository.  (Aaron Bentley, #177592)
 
6356
 
 
6357
* Fixed error reporting of unsupported timezone format in
 
6358
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
6359
 
 
6360
* Fixed Unicode encoding error in ``ignored`` when the output is
 
6361
  redirected to a pipe. (Lukáš Lalinský)
 
6362
 
 
6363
* Fix traceback when sending large response bodies over the smart protocol
 
6364
  on Windows. (Andrew Bennetts, #115781)
 
6365
 
 
6366
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
6367
  pointed to different logical drives on Windows.
 
6368
  (Alexander Belchenko, #90847)
 
6369
 
 
6370
* HTTP test servers are now compatible with the http protocol version 1.1.
 
6371
  (Vincent Ladeuil, #175524)
 
6372
 
 
6373
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
6374
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
6375
  (Aaron Bentley)
 
6376
 
 
6377
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
6378
 
 
6379
* pycurl authentication handling was broken and incomplete. Fix handling of
 
6380
  user:pass embedded in the urls.
 
6381
  (Vincent Ladeuil, #177643)
 
6382
 
 
6383
* Files inside non-directories are now handled like other conflict types.
 
6384
  (Aaron Bentley, #177390)
 
6385
 
 
6386
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
6387
  (Aaron Bentley)
 
6388
 
 
6389
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
6390
  #148087)
 
6391
 
 
6392
* Test that the old ``version_info_format`` functions still work, even
 
6393
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
6394
 
 
6395
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
6396
  #137681)
 
6397
 
 
6398
* ``uncommit`` works even when the commit messages of revisions to be
 
6399
  removed use characters not supported in the terminal encoding.
 
6400
  (Aaron Bentley)
 
6401
 
 
6402
* When dumb http servers return whole files instead of the requested ranges,
 
6403
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
6404
  (Vincent Ladeuil, #175886)
 
6405
 
 
6406
Documentation
 
6407
*************
 
6408
 
 
6409
* Minor tweaks made to the bug tracker integration documentation.
 
6410
  (Ian Clatworthy)
 
6411
 
 
6412
* Reference material has now be moved out of the User Guide and added
 
6413
  to the User Reference. The User Reference has gained 4 sections as
 
6414
  a result: Authenication Settings, Configuration Settings, Conflicts
 
6415
  and Hooks. All help topics are now dumped into text format in the
 
6416
  doc/en/user-reference directory for those who like browsing that
 
6417
  information in their editor. (Ian Clatworthy)
 
6418
 
 
6419
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
6420
 
 
6421
Internals
 
6422
*********
 
6423
 
 
6424
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
6425
  (Aaron Bentley)
 
6426
 
 
6427
* Help topics can now be loaded from files.
 
6428
  (Ian Clatworthy, Alexander Belchenko)
 
6429
 
 
6430
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
6431
 
 
6432
* Parent Providers should now implement ``get_parent_map`` returning a
 
6433
  dictionary instead of ``get_parents`` returning a list.
 
6434
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
6435
  Robert Collins)
 
6436
 
 
6437
* Patience Diff now supports arbitrary python objects, as long as they
 
6438
  support ``hash()``. (John Arbash Meinel)
 
6439
 
 
6440
* Reduce selftest overhead to establish test names by memoization.
 
6441
  (Vincent Ladeuil)
 
6442
 
 
6443
API Breaks
 
6444
**********
 
6445
 
 
6446
Testing
 
6447
*******
 
6448
 
 
6449
* Modules can now customise their tests by defining a ``load_tests``
 
6450
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
6451
  for the documentation on this attribute. (Robert Collins)
 
6452
 
 
6453
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
6454
  filter tests based on a regular expression search on the tests id.
 
6455
  (Robert Collins)
 
6456
 
 
6457
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
6458
  filter tests based on class. (Robert Collins)
 
6459
 
 
6460
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
6461
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
6462
 
 
6463
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
6464
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
6465
 
 
6466
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
6467
  TestSuite that does not contain tests from the input that matched a
 
6468
  regular expression. (Robert Collins)
 
6469
 
 
6470
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
6471
  randomized copy of the input suite. (Robert Collins)
 
6472
 
 
6473
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
6474
  suite into two according to a regular expression. (Robert Collins)
 
6475
 
 
6476
* Parametrize all http tests for the transport implementations, the http
 
6477
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
6478
  (Vincent Ladeuil)
 
6479
 
 
6480
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
6481
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
6482
 
 
6483
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
6484
  replaced by the new helper methods added in this release. (Robert Collins)
 
6485
 
 
6486
 
 
6487
bzr 1.0
 
6488
#######
 
6489
 
 
6490
:Released: 2007-12-14
 
6491
 
 
6492
Documentation
 
6493
*************
 
6494
 
 
6495
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
6496
 
 
6497
* Add information on cherrypicking/rebasing to the User Guide.
 
6498
  (Ian Clatworthy)
 
6499
 
 
6500
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
6501
 
 
6502
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
6503
  to the rebasing section of the User Guide from Aaron Bentley.
 
6504
  (Ian Clatworthy)
 
6505
 
 
6506
 
 
6507
bzr 1.0rc3
 
6508
##########
 
6509
 
 
6510
:Released: 2007-12-11
 
6511
 
 
6512
Changes
 
6513
*******
 
6514
 
 
6515
* If a traceback occurs, users are now asked to report the bug
 
6516
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
6517
  by mail to the mailing list.
 
6518
  (Martin Pool)
 
6519
 
 
6520
Bugfixes
 
6521
********
 
6522
 
 
6523
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
6524
 
 
6525
* Give more feedback during long http downloads by making readv deliver data
 
6526
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
6527
  networks are better handled by urllib, the pycurl implementation give more
 
6528
  feedback but also incur more latency.
 
6529
  (Vincent Ladeuil, #173010)
 
6530
 
 
6531
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
6532
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
6533
 
 
6534
Documentation
 
6535
*************
 
6536
 
 
6537
* Improved user guide.  (Ian Clatworthy)
 
6538
 
 
6539
* The single-page quick reference guide is now available as a PDF.
 
6540
  (Ian Clatworthy)
 
6541
 
 
6542
Internals
 
6543
*********
 
6544
 
 
6545
* readv urllib http implementation is now a real iterator above the
 
6546
  underlying socket and deliver data as soon as it arrives. 'get' still
 
6547
  wraps its output in a StringIO.
 
6548
  (Vincent Ladeuil)
 
6549
 
 
6550
 
 
6551
bzr 1.0rc2
 
6552
##########
 
6553
 
 
6554
:Released: 2007-12-07
 
6555
 
 
6556
Improvements
 
6557
************
 
6558
 
 
6559
* Added a --coverage option to selftest. (Andrew Bennetts)
 
6560
 
 
6561
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
6562
  (Aaron Bentley)
 
6563
 
 
6564
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
6565
  Nordhoff, #172612)
 
6566
 
 
6567
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
6568
  define locations of bug trackers that are not directly supported by
 
6569
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
6570
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
6571
 
 
6572
* Support logging single merge revisions with short and line log formatters.
 
6573
  (Kent Gibson)
 
6574
 
 
6575
* User Guide enhanced with suggested readability improvements from
 
6576
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
6577
 
 
6578
* Quick Start Guide renamed to Quick Start Card, moved down in
 
6579
  the catalog, provided in pdf and png format and updated to refer
 
6580
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
6581
 
 
6582
* ``switch`` can now be used on heavyweight checkouts as well as
 
6583
  lightweight ones. After switching a heavyweight checkout, the
 
6584
  local branch is a mirror/cache of the new bound branch and
 
6585
  uncommitted changes in the working tree are merged. As a safety
 
6586
  check, if there are local commits in a checkout which have not
 
6587
  been committed to the previously bound branch, then ``switch``
 
6588
  fails unless the ``--force`` option is given. This option is
 
6589
  now also required if the branch a lightweight checkout is pointing
 
6590
  to has been moved. (Ian Clatworthy)
 
6591
 
 
6592
Internals
 
6593
*********
 
6594
 
 
6595
* New -Dhttp debug option reports http connections, requests and responses.
 
6596
  (Vincent Ladeuil)
 
6597
 
 
6598
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
6599
 
 
6600
Bugfixes
 
6601
********
 
6602
 
 
6603
* Better error message when running ``bzr cat`` on a non-existant branch.
 
6604
  (Lukáš Lalinský, #133782)
 
6605
 
 
6606
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
6607
  filename to user.
 
6608
  (Alexander Belchenko, #111758)
 
6609
 
 
6610
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
6611
  allowing multiple GET requests to be issued if too many ranges are
 
6612
  required.
 
6613
  (Vincent Ladeuil, #172701)
 
6614
 
 
6615
* Check for missing basis texts when fetching from packs to packs.
 
6616
  (John Arbash Meinel, #165290)
 
6617
 
 
6618
* Fall back to showing e-mail in ``log --short/--line`` if the
 
6619
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
6620
 
 
6621
API Breaks
 
6622
**********
 
6623
 
 
6624
* Deprecate not passing a ``location`` argument to commit reporters'
 
6625
  ``started`` methods. (Matt Nordhoff)
 
6626
 
 
6627
 
 
6628
bzr 1.0rc1
 
6629
##########
 
6630
 
 
6631
:Released: 2007-11-30
 
6632
 
 
6633
Notes When Upgrading
 
6634
********************
 
6635
 
 
6636
* The default repository format is now ``pack-0.92``.  This
 
6637
  default is used when creating new repositories with ``init`` and
 
6638
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
6639
  (See https://bugs.launchpad.net/bugs/164626)
 
6640
 
 
6641
  This format can be read and written by Bazaar 0.92 and later, and
 
6642
  data can be transferred to and from older formats.
 
6643
 
 
6644
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
6645
  upgrade (``bzr upgrade``).
 
6646
 
 
6647
  ``pack-0.92`` offers substantially better scaling and performance than the
 
6648
  previous knits format. Some operations are slower where the code already
 
6649
  had bad scaling characteristics under knits, the pack format makes such
 
6650
  operations more visible as part of being more scalable overall. We will
 
6651
  correct such operations over the coming releases and encourage the filing
 
6652
  of bugs on any operation which you observe to be slower in a packs
 
6653
  repository. One particular case that we do not intend to fix is pulling
 
6654
  data from a pack repository into a knit repository over a high latency
 
6655
  link;  downgrading such data requires reinsertion of the file texts, and
 
6656
  this is a classic space/time tradeoff. The current implementation is
 
6657
  conservative on memory usage because we need to support converting data
 
6658
  from any tree without problems.
 
6659
  (Robert Collins, Martin Pool, #164476)
 
6660
 
 
6661
Changes
 
6662
*******
 
6663
 
 
6664
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
6665
  still available if user selects it explicitly with BZR_SSH environment
 
6666
  variable. (Alexander Belchenko, workaround for bug #107593)
 
6667
 
 
6668
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
6669
  to enable the subtree functions (for example, for bzr-svn).
 
6670
  (Martin Pool)
 
6671
 
 
6672
Features
 
6673
********
 
6674
 
 
6675
* New ``authentication.conf`` file holding the password or other credentials
 
6676
  for remote servers. This can be used for ssh, sftp, smtp and other
 
6677
  supported transports.
 
6678
  (Vincent Ladeuil)
 
6679
 
 
6680
* New rich-root and rich-root-pack formats, recording the same data about
 
6681
  tree roots that's recorded for all other directories.
 
6682
  (Aaron Bentley, #164639)
 
6683
 
 
6684
* ``pack-0.92`` repositories can now be reconciled.
 
6685
  (Robert Collins, #154173)
 
6686
 
 
6687
* ``switch`` command added for changing the branch a lightweight checkout
 
6688
  is associated with and updating the tree to reflect the latest content
 
6689
  accordingly. This command was previously part of the BzrTools plug-in.
 
6690
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
6691
 
 
6692
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
6693
  lightweight checkouts.  (Aaron Bentley)
 
6694
 
 
6695
Performance
 
6696
***********
 
6697
 
 
6698
* Commit updates the state of the working tree via a delta rather than
 
6699
  supplying entirely new basis trees. For commit of a single specified file
 
6700
  this reduces the wall clock time for commit by roughly a 30%.
 
6701
  (Robert Collins, Martin Pool)
 
6702
 
 
6703
* Commit with many automatically found deleted paths no longer performs
 
6704
  linear scanning for the children of those paths during inventory
 
6705
  iteration. This should fix commit performance blowing out when many such
 
6706
  paths occur during commit. (Robert Collins, #156491)
 
6707
 
 
6708
* Fetch with pack repositories will no longer read the entire history graph.
 
6709
  (Robert Collins, #88319)
 
6710
 
 
6711
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
6712
  does not read the basis inventory twice. (Robert Collins)
 
6713
 
 
6714
* Diff does not require an inventory to be generated on dirstate trees.
 
6715
  (Aaron Bentley, #149254)
 
6716
 
 
6717
* New annotate merge (--merge-type=weave) implementation is fast on
 
6718
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
6719
  (Aaron Bentley)
 
6720
 
 
6721
Improvements
 
6722
************
 
6723
 
 
6724
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
6725
  (Aaron Bentley)
 
6726
 
 
6727
* ``bzr send`` now doesn't require the target e-mail address to be
 
6728
  specified on the command line if an interactive e-mail client is used.
 
6729
  (Lukáš Lalinský)
 
6730
 
 
6731
* ``bzr tags`` now prints the revision number for each tag, instead of
 
6732
  the revision id, unless --show-ids is passed. In addition, tags can be
 
6733
  sorted chronologically instead of lexicographically with --sort=time.
 
6734
  (Adeodato Simó, #120231)
 
6735
 
 
6736
* Windows standalone version of bzr is able to load system-wide plugins from
 
6737
  "plugins" subdirectory in installation directory. In addition standalone
 
6738
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
6739
  about paths and bzr version. (Alexander Belchenko, #129298)
 
6740
 
 
6741
Documentation
 
6742
*************
 
6743
 
 
6744
Bug Fixes
 
6745
*********
 
6746
 
 
6747
* A progress bar has been added for knitpack -> knitpack fetching.
 
6748
  (Robert Collins, #157789, #159147)
 
6749
 
 
6750
* Branching from a branch via smart server now preserves the repository
 
6751
  format. (Andrew Bennetts,  #164626)
 
6752
 
 
6753
* ``commit`` is now able to invoke an external editor in a non-ascii
 
6754
  directory. (Daniel Watkins, #84043)
 
6755
 
 
6756
* Catch connection errors for ftp.
 
6757
  (Vincent Ladeuil, #164567)
 
6758
 
 
6759
* ``check`` no longer reports spurious unreferenced text versions.
 
6760
  (Robert Collins, John A Meinel, #162931, #165071)
 
6761
 
 
6762
* Conflicts are now resolved recursively by ``revert``.
 
6763
  (Aaron Bentley, #102739)
 
6764
 
 
6765
* Detect invalid transport reuse attempts by catching invalid URLs.
 
6766
  (Vincent Ladeuil, #161819)
 
6767
 
 
6768
* Deleting a file without removing it shows a correct diff, not a traceback.
 
6769
  (Aaron Bentley)
 
6770
 
 
6771
* Do no use timeout in HttpServer anymore.
 
6772
  (Vincent Ladeuil, #158972).
 
6773
 
 
6774
* Don't catch the exceptions related to the http pipeline status before
 
6775
  retrying an http request or some programming errors may be masked.
 
6776
  (Vincent Ladeuil, #160012)
 
6777
 
 
6778
* Fix ``bzr rm`` to not delete modified and ignored files.
 
6779
  (Lukáš Lalinský, #172598)
 
6780
 
 
6781
* Fix exception when revisionspec contains merge revisons but log
 
6782
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
6783
 
 
6784
* Fix exception when ScopeReplacer is assigned to before any members have
 
6785
  been retrieved.  (Aaron Bentley)
 
6786
 
 
6787
* Fix multiple connections during checkout --lightweight.
 
6788
  (Vincent Ladeuil, #159150)
 
6789
 
 
6790
* Fix possible error in insert_data_stream when copying between
 
6791
  pack repositories over bzr+ssh or bzr+http.
 
6792
  KnitVersionedFile.get_data_stream now makes sure that requested
 
6793
  compression parents are sent before any delta hunks that depend
 
6794
  on them.
 
6795
  (Martin Pool, #164637)
 
6796
 
 
6797
* Fix typo in limiting offsets coalescing for http, leading to
 
6798
  whole files being downloaded instead of parts.
 
6799
  (Vincent Ladeuil, #165061)
 
6800
 
 
6801
* FTP server errors don't error in the error handling code.
 
6802
  (Robert Collins, #161240)
 
6803
 
 
6804
* Give a clearer message when a pull fails because the source needs
 
6805
  to be reconciled.
 
6806
  (Martin Pool, #164443)
 
6807
 
 
6808
* It is clearer when a plugin cannot be loaded because of its name, and a
 
6809
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
6810
 
 
6811
* Leave port as None in transport objects if user doesn't
 
6812
  specify a port in urls.
 
6813
  (vincent Ladeuil, #150860)
 
6814
 
 
6815
* Make sure Repository.fetch(self) is properly a no-op for all
 
6816
  Repository implementations. (John Arbash Meinel, #158333)
 
6817
 
 
6818
* Mark .bzr directories as "hidden" on Windows.
 
6819
  (Alexander Belchenko, #71147)
 
6820
 
 
6821
* ``merge --uncommitted`` can now operate on a single file.
 
6822
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
6823
 
 
6824
* Obsolete packs are now cleaned up by pack and autopack operations.
 
6825
  (Robert Collins, #153789)
 
6826
 
 
6827
* Operations pulling data from a smart server where the underlying
 
6828
  repositories are not both annotated/both unannotated will now work.
 
6829
  (Robert Collins, #165304).
 
6830
 
 
6831
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
6832
 
 
6833
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
6834
  properly. (John Arbash Meinel, #162486)
 
6835
 
 
6836
* Removing an already-removed file reports the file does not exist. (Daniel
 
6837
  Watkins, #152811)
 
6838
 
 
6839
* Rename on Windows is able to change filename case.
 
6840
  (Alexander Belchenko, #77740)
 
6841
 
 
6842
* Return error instead of a traceback for ``bzr log -r0``.
 
6843
  (Kent Gibson, #133751)
 
6844
 
 
6845
* Return error instead of a traceback when bzr is unable to create
 
6846
  symlink on some platforms (e.g. on Windows).
 
6847
  (Alexander Belchenko, workaround for #81689)
 
6848
 
 
6849
* Revert doesn't crash when restoring a single file from a deleted
 
6850
  directory. (Aaron Bentley)
 
6851
 
 
6852
* Stderr output via logging mechanism now goes through encoded wrapper
 
6853
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
6854
  strings now should be readable in non-utf-8 terminal.
 
6855
  (Alexander Belchenko, #54173)
 
6856
 
 
6857
* The error message when ``move --after`` should be used makes how to do so
 
6858
  clearer. (Daniel Watkins, #85237)
 
6859
 
 
6860
* Unicode-safe output from ``bzr info``. The output will be encoded
 
6861
  using the terminal encoding and unrepresentable characters will be
 
6862
  replaced by '?'. (Lukáš Lalinský, #151844)
 
6863
 
 
6864
* Working trees are no longer created when pushing into a local no-trees
 
6865
  repo. (Daniel Watkins, #50582)
 
6866
 
 
6867
* Upgrade util/configobj to version 4.4.0.
 
6868
  (Vincent Ladeuil, #151208).
 
6869
 
 
6870
* Wrap medusa ftp test server as an FTPServer feature.
 
6871
  (Vincent Ladeuil, #157752)
 
6872
 
 
6873
API Breaks
 
6874
**********
 
6875
 
 
6876
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
6877
  during very long time. (Alexander Belchenko)
 
6878
 
 
6879
* The return value of
 
6880
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
6881
  changed. Previously it was an iterator of lines, now it is an iterator of
 
6882
  (line, version_id) tuples. This change has been made to aid reconcile and
 
6883
  fetch operations. (Robert Collins)
 
6884
 
 
6885
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
6886
  (Robert Collins)
 
6887
 
 
6888
* The Repository format registry default has been removed; it was previously
 
6889
  obsoleted by the bzrdir format default, which implies a default repository
 
6890
  format.
 
6891
  (Martin Pool)
 
6892
 
 
6893
Internals
 
6894
*********
 
6895
 
 
6896
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
6897
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
6898
  and parsing containers from streams rather than from files.  (Andrew
 
6899
  Bennetts)
 
6900
 
 
6901
* New module ``lru_cache`` providing a cache for use by tasks that need
 
6902
  semi-random access to large amounts of data. (John A Meinel)
 
6903
 
 
6904
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
6905
 
 
6906
 
 
6907
bzr 0.92
 
6908
########
 
6909
 
 
6910
:Released: 2007-11-05
 
6911
 
 
6912
Changes
 
6913
*******
3475
6914
 
3476
6915
  * New uninstaller on Win32.  (Alexander Belchenko)
3477
6916
 
3478
6917
 
3479
 
bzr 0.92rc1 2007-10-29
3480
 
----------------------
3481
 
 
3482
 
  NOTES WHEN UPGRADING:
3483
 
 
3484
 
  CHANGES:
3485
 
 
3486
 
   * ``bzr`` now returns exit code 4 if an internal error occurred, and
3487
 
     3 if a normal error occurred.  (Martin Pool)
3488
 
 
3489
 
   * ``pull``, ``merge`` and ``push`` will no longer silently correct some
3490
 
     repository index errors that occured as a result of the Weave disk format.
3491
 
     Instead the ``reconcile`` command needs to be run to correct those
3492
 
     problems if they exist (and it has been able to fix most such problems
3493
 
     since bzr 0.8). Some new problems have been identified during this release
3494
 
     and you should run ``bzr check`` once on every repository to see if you
3495
 
     need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
3496
 
     repository due to mismatched parent errors - a symptom of index errors -
3497
 
     you should simply take a full copy of that remote repository to a clean
3498
 
     directory outside any local repositories, then run reconcile on it, and
3499
 
     finally pull from it locally. (And naturally email the repositories owner
3500
 
     to ask them to upgrade and run reconcile).
3501
 
     (Robert Collins)
3502
 
 
3503
 
  FEATURES:
3504
 
 
3505
 
   * New ``knitpack-experimental`` repository format. This is interoperable with
3506
 
     the ``dirstate-tags`` format but uses a smarter storage design that greatly
3507
 
     speeds up many operations, both local and remote. This new format can be
3508
 
     used as an option to the ``init``, ``init-repository`` and ``upgrade``
3509
 
     commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
3510
 
     for further details. (Robert Collins)
3511
 
 
3512
 
   * For users of bzr-svn (and those testing the prototype subtree support) that
3513
 
     wish to try packs, a new ``knitpack-subtree-experimental`` format has also
3514
 
     been added. This is interoperable with the ``dirstate-subtrees`` format.
3515
 
     (Robert Collins)
3516
 
 
3517
 
   * New ``reconfigure`` command. (Aaron Bentley)
3518
 
 
3519
 
   * New ``revert --forget-merges`` command, which removes the record of a pending
3520
 
     merge without affecting the working tree contents.  (Martin Pool)
3521
 
 
3522
 
   * New ``bzr_remote_path`` configuration variable allows finer control of
3523
 
     remote bzr locations than BZR_REMOTE_PATH environment variable.
3524
 
     (Aaron Bentley)
3525
 
 
3526
 
   * New ``launchpad-login`` command to tell Bazaar your Launchpad
3527
 
     user ID.  This can then be used by other functions of the
3528
 
     Launchpad plugin. (James Henstridge)
3529
 
 
3530
 
  PERFORMANCE:
3531
 
 
3532
 
   * Commit in quiet mode is now slightly faster as the information to
3533
 
     output is no longer calculated. (Ian Clatworthy)
3534
 
 
3535
 
   * Commit no longer checks for new text keys during insertion when the
3536
 
     revision id was deterministically unique. (Robert Collins)
3537
 
 
3538
 
   * Committing a change which is not a merge and does not change the number of
3539
 
     files in the tree is faster by utilising the data about whether files are
3540
 
     changed to determine if the tree is unchanged rather than recalculating
3541
 
     it at the end of the commit process. (Robert Collins)
3542
 
 
3543
 
   * Inventory serialisation no longer double-sha's the content.
3544
 
     (Robert Collins)
3545
 
 
3546
 
   * Knit text reconstruction now avoids making copies of the lines list for
3547
 
     interim texts when building a single text. The new ``apply_delta`` method
3548
 
     on ``KnitContent`` aids this by allowing modification of the revision id
3549
 
     such objects represent. (Robert Collins)
3550
 
 
3551
 
   * Pack indices are now partially parsed for specific key lookup using a
3552
 
     bisection approach. (Robert Collins)
3553
 
 
3554
 
   * Partial commits are now approximately 40% faster by walking over the
3555
 
     unselected current tree more efficiently. (Robert Collins)
3556
 
 
3557
 
   * XML inventory serialisation takes 20% less time while being stricter about
3558
 
     the contents. (Robert Collins)
3559
 
 
3560
 
   * Graph ``heads()`` queries have been fixed to no longer access all history
3561
 
     unnecessarily. (Robert Collins)
3562
 
 
3563
 
  IMPROVEMENTS:
3564
 
 
3565
 
   * ``bzr+https://`` smart server across https now supported.
3566
 
     (John Ferlito, Martin Pool, #128456)
3567
 
 
3568
 
   * Mutt is now a supported mail client; set ``mail_client=mutt`` in your
3569
 
     bazaar.conf and ``send`` will use mutt. (Keir Mierle)
3570
 
 
3571
 
   * New option ``-c``/``--change`` for ``merge`` command for cherrypicking
3572
 
     changes from one revision. (Alexander Belchenko, #141368)
3573
 
 
3574
 
   * Show encodings, locale and list of plugins in the traceback message.
3575
 
     (Martin Pool, #63894)
3576
 
 
3577
 
   * Experimental directory formats can now be marked with
3578
 
     ``experimental = True`` during registration. (Ian Clatworthy)
3579
 
 
3580
 
  DOCUMENTATION:
3581
 
 
3582
 
   * New *Bazaar in Five Minutes* guide.  (Matthew Revell)
3583
 
 
3584
 
   * The hooks reference documentation is now converted to html as expected.
3585
 
     (Ian Clatworthy)
3586
 
 
3587
 
  BUG FIXES:
3588
 
 
3589
 
   * Connection error reporting for the smart server has been fixed to
3590
 
     display a user friendly message instead of a traceback.
3591
 
     (Ian Clatworthy, #115601)
3592
 
 
3593
 
   * Make sure to use ``O_BINARY`` when opening files to check their
3594
 
     sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
3595
 
 
3596
 
   * Fix a problem with Win32 handling of the executable bit.
3597
 
     (John Arbash Meinel, #149113)
3598
 
 
3599
 
   * ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
3600
 
     no longer assume that means port 22.  This allows people using OpenSSH to
3601
 
     override the default port in their ``~/.ssh/config`` if they wish.  This
3602
 
     fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
3603
 
 
3604
 
   * Commands reporting exceptions can now be profiled and still have their
3605
 
     data correctly dumped to a file. For example, a ``bzr commit`` with
3606
 
     no changes still reports the operation as pointless but doing so no
3607
 
     longer throws away the profiling data if this command is run with
3608
 
     ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
3609
 
 
3610
 
   * Fallback to ftp when paramiko is not installed and sftp can't be used for
3611
 
     ``tests/commands`` so that the test suite is still usable without
3612
 
     paramiko.
3613
 
     (Vincent Ladeuil, #59150)
3614
 
 
3615
 
   * Fix commit ordering in corner case. (Aaron Bentley, #94975)
3616
 
 
3617
 
   * Fix long standing bug in partial commit when there are renames
3618
 
     left in tree. (Robert Collins, #140419)
3619
 
 
3620
 
   * Fix selftest semi-random noise during http related tests.
3621
 
     (Vincent Ladeuil, #140614)
3622
 
 
3623
 
   * Fix typo in ftp.py making the reconnection fail on temporary errors.
3624
 
     (Vincent Ladeuil, #154259)
3625
 
 
3626
 
   * Fix failing test by comparing real paths to cover the case where the TMPDIR
3627
 
     contains a symbolic link.
3628
 
     (Vincent Ladeuil, #141382).
3629
 
 
3630
 
   * Fix log against smart server branches that don't support tags.
3631
 
     (James Westby, #140615)
3632
 
 
3633
 
   * Fix pycurl http implementation by defining error codes from
3634
 
     pycurl instead of relying on an old curl definition.
3635
 
     (Vincent Ladeuil, #147530)
3636
 
 
3637
 
   * Fix 'unprintable error' message when displaying BzrCheckError and
3638
 
     some other exceptions on Python 2.5.
3639
 
     (Martin Pool, #144633)
3640
 
 
3641
 
   * Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
3642
 
 
3643
 
   * Handles default value for ListOption in cmd_commit.
3644
 
     (Vincent Ladeuil, #140432)
3645
 
 
3646
 
   * HttpServer and FtpServer need to be closed properly or a listening socket
3647
 
     will remain opened.
3648
 
     (Vincent Ladeuil, #140055)
3649
 
 
3650
 
   * Monitor the .bzr directory created in the top level test
3651
 
     directory to detect leaking tests.
3652
 
     (Vincent Ladeuil, #147986)
3653
 
 
3654
 
   * The basename, not the full path, is now used when checking whether
3655
 
     the profiling dump file begins with ``callgrind.out`` or not. This
3656
 
     fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
3657
 
 
3658
 
   * Trivial fix for invoking command ``reconfigure`` without arguments.
3659
 
     (Rob Weir, #141629)
3660
 
 
3661
 
   * ``WorkingTree.rename_one`` will now raise an error if normalisation of the
3662
 
     new path causes bzr to be unable to access the file. (Robert Collins)
3663
 
 
3664
 
   * Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
3665
 
     Merwe)
3666
 
 
3667
 
  API BREAKS:
3668
 
 
3669
 
   * ``bzrlib.index.GraphIndex`` now requires a size parameter to the
3670
 
     constructor, for enabling bisection searches. (Robert Collins)
3671
 
 
3672
 
   * ``CommitBuilder.record_entry_contents`` now requires the root entry of a
3673
 
     tree be supplied to it, previously failing to do so would trigger a
3674
 
     deprecation warning. (Robert Collins)
3675
 
 
3676
 
   * ``KnitVersionedFile.add*`` will no longer cache added records even when
3677
 
     enable_cache() has been called - the caching feature is now exclusively for
3678
 
     reading existing data. (Robert Collins)
3679
 
 
3680
 
   * ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
3681
 
     appropriate.  (Martin Pool)
3682
 
 
3683
 
   * Removed ``bzrlib.transport.TransportLogger`` - please see the new
3684
 
     ``trace+`` transport instead. (Robert Collins)
3685
 
 
3686
 
   * Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
3687
 
     deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3688
 
     (Martin Pool)
3689
 
 
3690
 
   * Removed previous deprecated ``basis_knit`` parameter to the
3691
 
     ``KnitVersionedFile`` constructor. (Robert Collins)
3692
 
 
3693
 
   * Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
3694
 
     class that needs it.
3695
 
     (Martin Pool)
3696
 
 
3697
 
   * The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3698
 
     ``KnitRepository`` by parameters to the constructor. (Robert Collins)
3699
 
 
3700
 
   * The ``VersionedFile`` interface now allows content checks to be bypassed
3701
 
     by supplying check_content=False.  This saves nearly 30% of the minimum
3702
 
     cost to store a version of a file. (Robert Collins)
3703
 
 
3704
 
   * Tree's with bad state such as files with no length or sha will no longer
3705
 
     be silently accepted by the repository XML serialiser. To serialise
3706
 
     inventories without such data, pass working=True to write_inventory.
3707
 
     (Robert Collins)
3708
 
 
3709
 
   * ``VersionedFile.fix_parents`` has been removed as a harmful API.
3710
 
     ``VersionedFile.join`` will no longer accept different parents on either
3711
 
     side of a join - it will either ignore them, or error, depending on the
3712
 
     implementation. See notes when upgrading for more information.
3713
 
     (Robert Collins)
3714
 
 
3715
 
  INTERNALS:
3716
 
 
3717
 
   * ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3718
 
     put by the method call, to allow avoiding stat-after-write or
3719
 
     housekeeping in callers. (Robert Collins)
3720
 
 
3721
 
   * ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3722
 
     mandatory attributes are present on serialisation and deserialisation.
3723
 
     This fixes some holes in API usage and allows better separation between
3724
 
     physical storage and object serialisation. (Robert Collins)
3725
 
 
3726
 
   * New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3727
 
     shorthand for deriving from BzrError and setting internal_error = True.
3728
 
     (Robert Collins)
3729
 
 
3730
 
   * New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3731
 
     moving the state of a parent tree to a new version via a delta rather than
3732
 
     a complete replacement tree. (Robert Collins)
3733
 
 
3734
 
   * New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3735
 
     duplication from user input, when a user mentions both a path and an item
3736
 
     contained within that path. (Robert Collins)
3737
 
 
3738
 
   * New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3739
 
     determining if a repository is write locked. (Robert Collins)
3740
 
 
3741
 
   * New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3742
 
     tuple containing the key information about a path for commit processing
3743
 
     to complete. (Robert Collins)
3744
 
 
3745
 
   * New method on xml serialisers, write_inventory_to_lines, which matches the
3746
 
     API used by knits for adding content. (Robert Collins)
3747
 
 
3748
 
   * New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3749
 
     logic, currently only available for byte-based lookup
3750
 
     (``bisect_multi_bytes``). (Robert Collins)
3751
 
 
3752
 
   * New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3753
 
     and returns a gzipped version of the same. This is used to avoid a bunch
3754
 
     of api friction during adding of knit hunks. (Robert Collins)
3755
 
 
3756
 
   * New parameter on ``bzrlib.transport.Transport.readv``
3757
 
     ``adjust_for_latency`` which changes readv from returning strictly the
3758
 
     requested data to inserted return larger ranges and in forward read order
3759
 
     to reduce the effect of network latency. (Robert Collins)
3760
 
 
3761
 
   * New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3762
 
     causes the parents of a selected id to be returned recursively, so all the
3763
 
     paths from the root down to each element of selected_file_ids are
3764
 
     returned. (Robert Collins)
3765
 
 
3766
 
   * Knit joining has been enhanced to support plain to annotated conversion
3767
 
     and annotated to plain conversion. (Ian Clatworthy)
3768
 
 
3769
 
   * The CommitBuilder method ``record_entry_contents`` now returns summary
3770
 
     information about the effect of the commit on the repository. This tuple
3771
 
     contains an inventory delta item if the entry changed from the basis, and a
3772
 
     boolean indicating whether a new file graph node was recorded.
3773
 
     (Robert Collins)
3774
 
 
3775
 
   * The python path used in the Makefile can now be overridden.
3776
 
     (Andrew Bennetts, Ian Clatworthy)
3777
 
 
3778
 
  TESTING:
3779
 
 
3780
 
   * New transport implementation ``trace+`` which is useful for testing,
3781
 
     logging activity taken to its _activity attribute. (Robert Collins)
3782
 
 
3783
 
   * When running bzr commands within the test suite, internal exceptions are
3784
 
     not caught and reported in the usual way, but rather allowed to propagate
3785
 
     up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
3786
 
     makes this behavior available to other users.
3787
 
     (Martin Pool)
3788
 
 
3789
 
   * New method ``TestCase.call_catch_warnings`` for testing methods that
3790
 
     raises a Python warning.  (Martin Pool)
3791
 
 
3792
 
 
3793
 
bzr 0.91 2007-09-26
3794
 
-------------------
3795
 
 
3796
 
  BUG FIXES:
3797
 
 
3798
 
   * Print a warning instead of aborting the ``python setup.py install``
3799
 
     process if building of a C extension is not possible.
3800
 
     (Lukáš Lalinský, Alexander Belchenko)
3801
 
 
3802
 
   * Fix commit ordering in corner case (Aaron Bentley, #94975)
3803
 
 
3804
 
   * Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3805
 
     an implicit port.  We were incorrectly raising PathNotChild due to
3806
 
     inconsistent treatment of the ''_port'' attribute on the Transport object.
3807
 
     (Andrew Bennetts, #133965)
3808
 
 
3809
 
   * Make RemoteRepository.sprout cope gracefully with servers that don't
3810
 
     support the ``Repository.tarball`` request.
3811
 
     (Andrew Bennetts)
3812
 
 
3813
 
 
3814
 
bzr 0.91rc2 2007-09-11
3815
 
----------------------
3816
 
 
3817
 
   * Replaced incorrect tarball for previous release; a debug statement was left
3818
 
     in bzrlib/remote.py.
3819
 
 
3820
 
 
3821
 
bzr 0.91rc1 2007-09-11
3822
 
----------------------
3823
 
 
3824
 
  CHANGES:
3825
 
 
3826
 
   * The default branch and repository format has changed to
3827
 
     ``dirstate-tags``, so tag commands are active by default.
3828
 
     This format is compatible with Bazaar 0.15 and later.
3829
 
     This incidentally fixes bug #126141.
3830
 
     (Martin Pool)
3831
 
 
3832
 
   * ``--quiet`` or ``-q`` is no longer a global option. If present, it
3833
 
     must now appear after the command name. Scripts doing things like
3834
 
     ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3835
 
     (Ian Clatworthy)
3836
 
 
3837
 
  FEATURES:
3838
 
 
3839
 
   * New option ``--author`` in ``bzr commit`` to specify the author of the
3840
 
     change, if it's different from the committer. ``bzr log`` and
3841
 
     ``bzr annotate`` display the author instead of the committer.
3842
 
     (Lukáš Lalinský)
3843
 
 
3844
 
   * In addition to global options and command specific options, a set of
3845
 
     standard options are now supported. Standard options are legal for
3846
 
     all commands. The initial set of standard options are:
3847
 
 
3848
 
     * ``--help`` or ``-h`` - display help message
3849
 
     * ``--verbose`` or ``-v`` - display additional information
3850
 
     * ``--quiet``  or ``-q`` - only output warnings and errors.
3851
 
 
3852
 
     Unlike global options, standard options can be used in aliases and
3853
 
     may have command-specific help. (Ian Clatworthy)
3854
 
 
3855
 
   * Verbosity level processing has now been unified. If ``--verbose``
3856
 
     or ``-v`` is specified on the command line multiple times, the
3857
 
     verbosity level is made positive the first time then increased.
3858
 
     If ``--quiet`` or ``-q`` is specified on the command line
3859
 
     multiple times, the verbosity level is made negative the first
3860
 
     time then decreased. To get the default verbosity level of zero,
3861
 
     either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3862
 
     Note that most commands currently ignore the magnitude of the
3863
 
     verbosity level but do respect *quiet vs normal vs verbose* when
3864
 
     generating output. (Ian Clatworthy)
3865
 
 
3866
 
   * ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3867
 
     is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3868
 
 
3869
 
   * New ``Repository.stream_knit_data_for_revisions`` request added to the
3870
 
     network protocol for greatly reduced roundtrips when retrieving a set of
3871
 
     revisions. (Andrew Bennetts)
3872
 
 
3873
 
  BUG FIXES:
3874
 
 
3875
 
   * ``bzr plugins`` now lists the version number for each plugin in square
3876
 
     brackets after the path. (Robert Collins, #125421)
3877
 
 
3878
 
   * Pushing, pulling and branching branches with subtree references was not
3879
 
     copying the subtree weave, preventing the file graph from being accessed
3880
 
     and causing errors in commits in clones. (Robert Collins)
3881
 
 
3882
 
   * Suppress warning "integer argument expected, got float" from Paramiko,
3883
 
     which sometimes caused false test failures.  (Martin Pool)
3884
 
 
3885
 
   * Fix bug in bundle 4 that could cause attempts to write data to wrong
3886
 
     versionedfile.  (Aaron Bentley)
3887
 
 
3888
 
   * Diffs generated using "diff -p" no longer break the patch parser.
3889
 
     (Aaron Bentley)
3890
 
 
3891
 
   * get_transport treats an empty possible_transports list the same as a non-
3892
 
     empty one.  (Aaron Bentley)
3893
 
 
3894
 
   * patch verification for merge directives is reactivated, and works with
3895
 
     CRLF and CR files.  (Aaron Bentley)
3896
 
 
3897
 
   * Accept ..\ as a path in revision specifiers. This fixes for example
3898
 
     "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
3899
 
 
3900
 
   * ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3901
 
     (Blake Winton, #129299)
3902
 
 
3903
 
   * man page no longer lists hidden options (#131667, Aaron Bentley)
3904
 
 
3905
 
   * ``uncommit --help`` now explains the -r option adequately.  (Daniel
3906
 
     Watkins, #106726)
3907
 
 
3908
 
   * Error messages are now better formatted with parameters (such as
3909
 
     filenames) quoted when necessary. This avoids confusion when directory
3910
 
     names ending in a '.' at the end of messages were confused with a
3911
 
     full stop that may or not have been there. (Daniel Watkins, #129791)
3912
 
 
3913
 
   * Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3914
 
 
3915
 
   * If a particular command is an alias, ``help`` will show the alias
3916
 
     instead of claiming there is no help for said alias. (Daniel Watkins,
3917
 
     #133548)
3918
 
 
3919
 
   * TreeTransform-based operations, like pull, merge, revert, and branch,
3920
 
     now roll back if they encounter an error.  (Aaron Bentley, #67699)
3921
 
 
3922
 
   * ``bzr commit`` now exits cleanly if a character unsupported by the
3923
 
     current encoding is used in the commit message.  (Daniel Watkins,
3924
 
     #116143)
3925
 
 
3926
 
   * bzr send uses default values for ranges when only half of an elipsis
3927
 
     is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
3928
 
 
3929
 
   * Avoid trouble when Windows ssh calls itself 'plink' but no plink
3930
 
     binary is present.  (Martin Albisetti, #107155)
3931
 
 
3932
 
   * ``bzr remove`` should remove clean subtrees.  Now it will remove (without
3933
 
     needing ``--force``) subtrees that contain no files with text changes or
3934
 
     modified files.  With ``--force`` it removes the subtree regardless of
3935
 
     text changes or unknown files. Directories with renames in or out (but
3936
 
     not changed otherwise) will now be removed without needing ``--force``.
3937
 
     Unknown ignored files will be deleted without needing ``--force``.
3938
 
     (Marius Kruger, #111665)
3939
 
 
3940
 
   * When two plugins conflict, the source of both the losing and now the
3941
 
     winning definition is shown.  (Konstantin Mikhaylov, #5454)
3942
 
 
3943
 
   * When committing to a branch, the location being committed to is
3944
 
     displayed.  (Daniel Watkins, #52479)
3945
 
 
3946
 
   * ``bzr --version`` takes care about encoding of stdout, especially
3947
 
     when output is redirected. (Alexander Belchenko, #131100)
3948
 
 
3949
 
   * Prompt for an ftp password if none is provided.
3950
 
     (Vincent Ladeuil, #137044)
3951
 
 
3952
 
   * Reuse bound branch associated transport to avoid multiple
3953
 
     connections.
3954
 
     (Vincent Ladeuil, #128076, #131396)
3955
 
 
3956
 
   * Overwrite conflicting tags by ``push`` and ``pull`` if the
3957
 
     ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
3958
 
 
3959
 
   * In checkouts, tags are copied into the master branch when created,
3960
 
     changed or deleted, and are copied into the checkout when it is
3961
 
     updated.  (Martin Pool, #93856, #93860)
3962
 
 
3963
 
   * Print a warning instead of aborting the ``python setup.py install``
3964
 
     process if building of a C extension is not possible.
3965
 
     (Lukáš Lalinský, Alexander Belchenko)
3966
 
 
3967
 
  IMPROVEMENTS:
3968
 
 
3969
 
   * Add the option "--show-diff" to the commit command in order to display
3970
 
     the diff during the commit log creation. (Goffredo Baroncelli)
3971
 
 
3972
 
   * ``pull`` and ``merge`` are much faster at installing bundle format 4.
3973
 
     (Aaron Bentley)
3974
 
 
3975
 
   * ``pull -v`` no longer includes deltas, making it much faster.
3976
 
     (Aaron Bentley)
3977
 
 
3978
 
   * ``send`` now sends the directive as an attachment by default.
3979
 
     (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3980
 
 
3981
 
   * Documentation updates (Martin Albisetti)
3982
 
 
3983
 
   * Help on debug flags is now included in ``help global-options``.
3984
 
     (Daniel Watkins, #124853)
3985
 
 
3986
 
   * Parameters passed on the command line are checked to ensure they are
3987
 
     supported by the encoding in use. (Daniel Watkins)
3988
 
 
3989
 
   * The compression used within the bzr repository has changed from zlib
3990
 
     level 9 to the zlib default level. This improves commit performance with
3991
 
     only a small increase in space used (and in some cases a reduction in
3992
 
     space). (Robert Collins)
3993
 
 
3994
 
   * Initial commit no longer SHAs files twice and now reuses the path
3995
 
     rather than looking it up again, making it faster.
3996
 
     (Ian Clatworthy)
3997
 
 
3998
 
   * New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3999
 
     changes in one revision.  (Lukáš Lalinský)
4000
 
 
4001
 
   * If versioned files match a given ignore pattern, a warning is now
4002
 
     given. (Daniel Watkins, #48623)
4003
 
 
4004
 
   * ``bzr status`` now has -S as a short name for --short and -V as a
4005
 
     short name for --versioned. These have been added to assist users
4006
 
     migrating from Subversion: ``bzr status -SV`` is now like
4007
 
     ``svn status -q``.  (Daniel Watkins, #115990)
4008
 
 
4009
 
   * Added C implementation of  ``PatienceSequenceMatcher``, which is about
4010
 
     10x faster than the Python version. This speeds up commands that
4011
 
     need file diffing, such as ``bzr commit`` or ``bzr diff``.
4012
 
     (Lukáš Lalinský)
4013
 
 
4014
 
   * HACKING has been extended with a large section on core developer tasks.
4015
 
     (Ian Clatworthy)
4016
 
 
4017
 
   * Add ``branches`` and ``standalone-trees`` as online help topics and
4018
 
     include them as Concepts within the User Reference.
4019
 
     (Paul Moore, Ian Clatworthy)
4020
 
 
4021
 
    * ``check`` can detect versionedfile parent references that are
4022
 
      inconsistent with revision and inventory info, and ``reconcile`` can fix
4023
 
      them.  These faulty references were generated by 0.8-era releases,
4024
 
      so repositories which were manipulated by old bzrs should be
4025
 
      checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
4026
 
 
4027
 
  API BREAKS:
4028
 
 
4029
 
   * ``Branch.append_revision`` is removed altogether; please use
4030
 
     ``Branch.set_last_revision_info`` instead.  (Martin Pool)
4031
 
 
4032
 
   * CommitBuilder now advertises itself as requiring the root entry to be
4033
 
     supplied. This only affects foreign repository implementations which reuse
4034
 
     CommitBuilder directly and have changed record_entry_contents to require
4035
 
     that the root not be supplied. This should be precisely zero plugins
4036
 
     affected. (Robert Collins)
4037
 
 
4038
 
   * The ``add_lines`` methods on ``VersionedFile`` implementations has changed
4039
 
     its return value to include the sha1 and length of the inserted text. This
4040
 
     allows the avoidance of double-sha1 calculations during commit.
4041
 
     (Robert Collins)
4042
 
 
4043
 
   * ``Transport.should_cache`` has been removed.  It was not called in the
4044
 
     previous release.  (Martin Pool)
4045
 
 
4046
 
  TESTING:
4047
 
 
4048
 
   * Tests may now raise TestNotApplicable to indicate they shouldn't be
4049
 
     run in a particular scenario.  (Martin Pool)
4050
 
 
4051
 
   * New function multiply_tests_from_modules to give a simpler interface
4052
 
     to test parameterization.  (Martin Pool, Robert Collins)
4053
 
 
4054
 
   * ``Transport.should_cache`` has been removed.  It was not called in the
4055
 
     previous release.  (Martin Pool)
4056
 
 
4057
 
   * NULL_REVISION is returned to indicate the null revision, not None.
4058
 
     (Aaron Bentley)
4059
 
 
4060
 
   * Use UTF-8 encoded StringIO for log tests to avoid failures on
4061
 
     non-ASCII committer names.  (Lukáš Lalinský)
4062
 
 
4063
 
  INTERNALS:
4064
 
 
4065
 
   * ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
4066
 
     ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
4067
 
     useful functionality for determining the path of a plugin, its tests, and
4068
 
     its version information. (Robert Collins)
4069
 
 
4070
 
   * Add the option user_encoding to the function 'show_diff_trees()'
4071
 
     in order to move the user encoding at the UI level. (Goffredo Baroncelli)
4072
 
 
4073
 
   * Add the function make_commit_message_template_encoded() and the function
4074
 
     edit_commit_message_encoded() which handle encoded strings.
4075
 
     This is done in order to mix the commit messages (which is a unicode
4076
 
     string), and the diff which is a raw string. (Goffredo Baroncelli)
4077
 
 
4078
 
   * CommitBuilder now defaults to using add_lines_with_ghosts, reducing
4079
 
     overhead on non-weave repositories which don't require all parents to be
4080
 
     present. (Robert Collins)
4081
 
 
4082
 
   * Deprecated method ``find_previous_heads`` on
4083
 
     ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
4084
 
     of ``parent_candidates`` and a separate heads check via the repository
4085
 
     API. (Robert Collins)
4086
 
 
4087
 
   * New trace function ``mutter_callsite`` will print out a subset of the
4088
 
     stack to the log, which can be useful for gathering debug details.
4089
 
     (Robert Collins)
4090
 
 
4091
 
   * ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
4092
 
     added via a public attribute records_written. (Robert Collins)
4093
 
 
4094
 
   * New method ``bzrlib.transport.Transport.get_recommended_page_size``.
4095
 
     This provides a hint to users of transports as to the reasonable
4096
 
     minimum data to read. In principle this can take latency and
4097
 
     bandwidth into account on a per-connection basis, but for now it
4098
 
     just has hard coded values based on the url. (e.g. http:// has a large
4099
 
     page size, file:// has a small one.) (Robert Collins)
4100
 
 
4101
 
   * New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
4102
 
     incremental addition of data to a file without requiring that all the
4103
 
     data be buffered in memory. (Robert Collins)
4104
 
 
4105
 
   * New methods on ``bzrlib.knit.KnitVersionedFile``:
4106
 
     ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
4107
 
     ``get_format_signature()``.  These provide some infrastructure for
4108
 
     efficiently streaming the knit data for a set of versions over the smart
4109
 
     protocol.
4110
 
 
4111
 
   * Knits with no annotation cache still produce correct annotations.
4112
 
     (Aaron Bentley)
4113
 
 
4114
 
   * Three new methods have been added to ``bzrlib.trace``:
4115
 
     ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
4116
 
     ``set_verbosity_level`` expects a numeric value: negative for quiet,
4117
 
     zero for normal, positive for verbose. The size of the number can be
4118
 
     used to determine just how quiet or verbose the application should be.
4119
 
     The existing ``be_quiet`` and ``is_quiet`` routines have been
4120
 
     integrated into this new scheme. (Ian Clatworthy)
4121
 
 
4122
 
   * Options can now be delcared with a ``custom_callback`` parameter. If
4123
 
     set, this routine is called after the option is processed. This feature
4124
 
     is now used by the standard options ``verbose`` and ``quiet`` so that
4125
 
     setting one implicitly resets the other. (Ian Clatworthy)
4126
 
 
4127
 
   * Rather than declaring a new option from scratch in order to provide
4128
 
     custom help, a centrally registered option can be decorated using the
4129
 
     new ``bzrlib.Option.custom_help`` routine. In particular, this routine
4130
 
     is useful when declaring better help for the ``verbose`` and ``quiet``
4131
 
     standard options as the base definition of these is now more complex
4132
 
     than before thanks to their use of a custom callback. (Ian Clatworthy)
4133
 
 
4134
 
    * Tree._iter_changes(specific_file=[]) now iterates through no files,
4135
 
      instead of iterating through all files.  None is used to iterate through
4136
 
      all files.  (Aaron Bentley)
4137
 
 
4138
 
    * WorkingTree.revert() now accepts None to revert all files.  The use of
4139
 
      [] to revert all files is deprecated.  (Aaron Bentley)
4140
 
 
4141
 
 
4142
 
bzr 0.90 2007-08-28
4143
 
-------------------
4144
 
 
4145
 
  IMPROVEMENTS:
4146
 
 
4147
 
    * Documentation is now organized into multiple directories with a level
4148
 
      added for different languages or locales. Added the Mini Tutorial
4149
 
      and Quick Start Summary (en) documents from the Wiki, improving the
4150
 
      content and readability of the former. Formatted NEWS as Release Notes
4151
 
      complete with a Table of Conents, one heading per release. Moved the
4152
 
      Developer Guide into the main document catalog and provided a link
4153
 
      from the developer document catalog back to the main one.
4154
 
      (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
4155
 
 
4156
 
 
4157
 
  API CHANGES:
4158
 
 
4159
 
    * The static convenience method ``BzrDir.create_repository``
4160
 
      is deprecated.  Callers should instead create a ``BzrDir`` instance
4161
 
      and call ``create_repository`` on that.  (Martin Pool)
4162
 
 
4163
 
 
4164
 
bzr 0.90rc1 2007-08-14
4165
 
----------------------
4166
 
 
4167
 
  BUGFIXES:
4168
 
 
4169
 
    * ``bzr init`` should connect to the remote location one time only.  We
4170
 
      have been connecting several times because we forget to pass around the
4171
 
      Transport object. This modifies ``BzrDir.create_branch_convenience``,
4172
 
      so that we can give it the Transport we already have.
4173
 
      (John Arbash Meinel, Vincent Ladeuil, #111702)
4174
 
 
4175
 
    * Get rid of sftp connection cache (get rid of the FTP one too).
4176
 
      (Vincent Ladeuil, #43731)
4177
 
 
4178
 
    * bzr branch {local|remote} remote don't try to create a working tree
4179
 
      anymore.
4180
 
      (Vincent Ladeuil, #112173)
4181
 
 
4182
 
    * All identified multiple connections for a single bzr command have been
4183
 
      fixed. See bzrlib/tests/commands directory.
4184
 
      (Vincent Ladeuil)
4185
 
 
4186
 
    * ``bzr rm`` now does not insist on ``--force`` to delete files that
4187
 
      have been renamed but not otherwise modified.  (Marius Kruger,
4188
 
      #111664)
4189
 
 
4190
 
    * ``bzr selftest --bench`` no longer emits deprecation warnings
4191
 
      (Lukáš Lalinský)
4192
 
 
4193
 
    * ``bzr status`` now honours FILE parameters for conflict lists
4194
 
      (Aaron Bentley, #127606)
4195
 
 
4196
 
    * ``bzr checkout`` now honours -r when reconstituting a working tree.
4197
 
      It also honours -r 0.  (Aaron Bentley, #127708)
4198
 
 
4199
 
    * ``bzr add *`` no more fails on Windows if working tree contains
4200
 
      non-ascii file names. (Kuno Meyer, #127361)
4201
 
 
4202
 
    * allow ``easy_install bzr`` runs without fatal errors.
4203
 
      (Alexander Belchenko, #125521)
4204
 
 
4205
 
    * Graph._filter_candidate_lca does not raise KeyError if a candidate
4206
 
      is eliminated just before it would normally be examined.  (Aaron Bentley)
4207
 
 
4208
 
    * SMTP connection failures produce a nice message, not a traceback.
4209
 
      (Aaron Bentley)
4210
 
 
4211
 
  IMPROVEMENTS:
4212
 
 
4213
 
    * Don't show "dots" progress indicators when run non-interactively, such
4214
 
      as from cron.  (Martin Pool)
4215
 
 
4216
 
    * ``info`` now formats locations more nicely and lists "submit" and
4217
 
      "public" branches (Aaron Bentley)
4218
 
 
4219
 
    * New ``pack`` command that will trigger database compression within
4220
 
      the repository (Robert Collins)
4221
 
 
4222
 
    * Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4223
 
      version is approximately 2-3x faster at parsing a ``.kndx`` file.
4224
 
      Which yields a measurable improvement for commands which have to
4225
 
      read from the repository, such as a 1s => 0.75s improvement in
4226
 
      ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
4227
 
 
4228
 
    * Merge is now faster.  Depending on the scenario, it can be more than 2x
4229
 
      faster. (Aaron Bentley)
4230
 
 
4231
 
    * Give a clearer warning, and allow ``python setup.py install`` to
4232
 
      succeed even if pyrex is not available.
4233
 
      (John Arbash Meinel)
4234
 
 
4235
 
    * ``DirState._read_dirblocks`` now has an optional Pyrex
4236
 
      implementation. This improves the speed of any command that has to
4237
 
      read the entire DirState. (``diff``, ``status``, etc, improve by
4238
 
      about 10%).
4239
 
      ``bisect_dirblocks`` has also been improved, which helps all
4240
 
      ``_get_entry`` type calls (whenever we are searching for a
4241
 
      particular entry in the in-memory DirState).
4242
 
      (John Arbash Meinel)
4243
 
 
4244
 
    * ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4245
 
      branch revision history for ui display unless -v is supplied.
4246
 
      (Robert Collins)
4247
 
 
4248
 
    * ``bzr log -rA..B`` output shifted to the left margin if the log only
4249
 
      contains merge revisions. (Kent Gibson)
4250
 
 
4251
 
    * The ``plugins`` command is now public with improved help.
4252
 
      (Ian Clatworthy)
4253
 
 
4254
 
    * New bundle and merge directive formats are faster to generate, and
4255
 
 
4256
 
    * Annotate merge now works when there are local changes. (Aaron Bentley)
4257
 
 
4258
 
    * Commit now only shows the progress in terms of directories instead of
4259
 
      entries. (Ian Clatworthy)
4260
 
 
4261
 
    * Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4262
 
      times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4263
 
      Meinel)
4264
 
 
4265
 
    * Fix ``VersionedFile.get_graph()`` to avoid using
4266
 
      ``set.difference_update(other)``, which has bad scaling when
4267
 
      ``other`` is large. This improves ``VF.get_graph([version_id])`` for
4268
 
      a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
4269
 
 
4270
 
    * The ``--lsprof-file`` option now generates output for KCacheGrind if
4271
 
      the file starts with ``callgrind.out``. This matches the default file
4272
 
      filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
4273
 
 
4274
 
    * Fix ``bzr update`` to avoid an unnecessary
4275
 
      ``branch.get_master_branch`` call, which avoids 1 extra connection
4276
 
      to the remote server. (Partial fix for #128076, John Arbash Meinel)
4277
 
 
4278
 
    * Log errors from the smart server in the trace file, to make debugging
4279
 
      test failures (and live failures!) easier.  (Andrew Bennetts)
4280
 
 
4281
 
    * The HTML version of the man page has been superceded by a more
4282
 
      comprehensive manual called the Bazaar User Reference. This manual
4283
 
      is completed generated from the online help topics. As part of this
4284
 
      change, limited reStructuredText is now explicitly supported in help
4285
 
      topics and command help with 'unnatural' markup being removed prior
4286
 
      to display by the online help or inclusion in the man page.
4287
 
      (Ian Clatworthy)
4288
 
 
4289
 
    * HTML documentation now use files extension ``*.html``
4290
 
      (Alexander Belchenko)
4291
 
 
4292
 
    * The cache of ignore definitions is now cleared in WorkingTree.unlock()
4293
 
      so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
4294
 
 
4295
 
    * ``bzr selftest --strict`` fails if there are any missing features or
4296
 
      expected test failures. (Daniel Watkins, #111914)
4297
 
 
4298
 
    * Link to registration survey added to README. (Ian Clatworthy)
4299
 
 
4300
 
    * Windows standalone installer show link to registration survey
4301
 
      when installation finished. (Alexander Belchenko)
4302
 
 
4303
 
  LIBRARY API BREAKS:
4304
 
 
4305
 
    * Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
4306
 
      Options are now required to provide a help string and it must
4307
 
      comply with the style guide by being one or more sentences with an
4308
 
      initial capital and final period. (Martin Pool)
4309
 
 
4310
 
    * KnitIndex.get_parents now returns tuples. (Robert Collins)
4311
 
 
4312
 
    * Ancient unused ``Repository.text_store`` attribute has been removed.
4313
 
      (Robert Collins)
4314
 
 
4315
 
    * The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
4316
 
      rather than just bytestrings, making it easier to represent multiple
4317
 
      element names. As this interface was not used by any internal facilities
4318
 
      since it was introduced in 0.18 no API compatibility is being preserved.
4319
 
      The serialised form of these packs is identical with 0.18 when a single
4320
 
      element tuple is in use. (Robert Collins)
4321
 
 
4322
 
  INTERNALS:
4323
 
 
4324
 
    * merge now uses ``iter_changes`` to calculate changes, which makes room for
4325
 
      future performance increases.  It is also more consistent with other
4326
 
      operations that perform comparisons, and reduces reliance on
4327
 
      Tree.inventory.  (Aaron Bentley)
4328
 
 
4329
 
    * Refactoring of transport classes connected to a remote server.
4330
 
      ConnectedTransport is a new class that serves as a basis for all
4331
 
      transports needing to connect to a remote server.  transport.split_url
4332
 
      have been deprecated, use the static method on the object instead. URL
4333
 
      tests have been refactored too.
4334
 
      (Vincent Ladeuil)
4335
 
 
4336
 
    * Better connection sharing for ConnectedTransport objects.
4337
 
      transport.get_transport() now accepts a 'possible_transports' parameter.
4338
 
      If a newly requested transport can share a connection with one of the
4339
 
      list, it will.
4340
 
      (Vincent Ladeuil)
4341
 
 
4342
 
    * Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
4343
 
      the null revision, and consider using ``None`` for this purpose
4344
 
      deprecated.  (Aaron Bentley)
4345
 
 
4346
 
    * New ``index`` module with abstract index functionality. This will be
4347
 
      used during the planned changes in the repository layer. Currently the
4348
 
      index layer provides a graph aware immutable index, a builder for the
4349
 
      same index type to allow creating them, and finally a composer for
4350
 
      such indices to allow the use of many indices in a single query. The
4351
 
      index performance is not optimised, however the API is stable to allow
4352
 
      development on top of the index. (Robert Collins)
4353
 
 
4354
 
    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
4355
 
      their directory sections. This is equivalent to comparing
4356
 
      ``path.split('/')``, only without having to split the paths.
4357
 
      This has a Pyrex implementation available.
4358
 
      (John Arbash Meinel)
4359
 
 
4360
 
    * New transport decorator 'unlistable+' which disables the list_dir
4361
 
      functionality for testing.
4362
 
 
4363
 
    * Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
4364
 
 
4365
 
    * RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
4366
 
      for performing annotate-merge.  (Aaron Bentley)
4367
 
 
4368
 
    * New EmailMessage class to create email messages. (Adeodato Simó)
4369
 
 
4370
 
    * Unused functions on the private interface KnitIndex have been removed.
4371
 
      (Robert Collins)
4372
 
 
4373
 
    * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
4374
 
      of a ``index.GraphIndex``. (Robert Collins)
4375
 
 
4376
 
    * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
4377
 
      the parents of many knit nodes at once, reducing round trips to the
4378
 
      underlying index. (Robert Collins)
4379
 
 
4380
 
    * Graph now has an is_ancestor method, various bits use it.
4381
 
      (Aaron Bentley)
4382
 
 
4383
 
    * The ``-Dhpss`` flag now includes timing information. As well as
4384
 
      logging when a new connection is opened. (John Arbash Meinel)
4385
 
 
4386
 
    * ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
4387
 
      callers when inserting data, allowing generation of readv style access
4388
 
      during pack creation, without needing a separate pass across the output
4389
 
      pack to gather such details. (Robert Collins)
4390
 
 
4391
 
    * ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
4392
 
      files that are stored on a transport. (Robert Collins)
4393
 
 
4394
 
    * New ``Repository.has_same_location`` method that reports if two
4395
 
      repository objects refer to the same repository (although with some risk
4396
 
      of false negatives).  (Andrew Bennetts)
4397
 
 
4398
 
    * InterTree.compare now passes require_versioned on correctly.
4399
 
      (Marius Kruger)
4400
 
 
4401
 
    * New methods on Repository - ``start_write_group``,
4402
 
      ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
4403
 
      which provide a clean hook point for transactional Repositories - ones
4404
 
      where all the data for a fetch or commit needs to be made atomically
4405
 
      available in one step. This allows the write lock to remain while making
4406
 
      a series of data insertions.  (e.g. data conversion). (Robert Collins)
4407
 
 
4408
 
    * In ``bzrlib.knit`` the internal interface has been altered to use
4409
 
      3-tuples (index, pos, length) rather than two-tuples (pos, length) to
4410
 
      describe where data in a knit is, allowing knits to be split into
4411
 
      many files. (Robert Collins)
4412
 
 
4413
 
    * ``bzrlib.knit._KnitData`` split into cache management and physical access
4414
 
      with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
4415
 
      The former provides access into a .pack file, and the latter provides the
4416
 
      current production repository form of .knit files. (Robert Collins)
4417
 
 
4418
 
  TESTING:
4419
 
 
4420
 
    * Remove selftest ``--clean-output``, ``--numbered-dirs`` and
4421
 
      ``--keep-output`` options, which are obsolete now that tests
4422
 
      are done within directories in $TMPDIR.  (Martin Pool)
4423
 
 
4424
 
    * The SSH_AUTH_SOCK environment variable is now reset to avoid
4425
 
      interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
4426
 
 
4427
 
    * run_bzr_subprocess handles parameters the same way as run_bzr:
4428
 
      either a string or a list of strings should be passed as the first
4429
 
      parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
4430
 
 
4431
 
 
4432
 
bzr 0.18  2007-07-17
4433
 
--------------------
4434
 
 
4435
 
  BUGFIXES:
4436
 
 
4437
 
    * Fix 'bzr add' crash under Win32 (Kuno Meyer)
4438
 
 
4439
 
 
4440
 
bzr 0.18rc1  2007-07-10
4441
 
-----------------------
4442
 
 
4443
 
  BUGFIXES:
4444
 
 
4445
 
    * Do not suppress pipe errors, etc. in non-display commands
4446
 
      (Alexander Belchenko, #87178)
4447
 
 
4448
 
    * Display a useful error message when the user requests to annotate
4449
 
      a file that is not present in the specified revision.
4450
 
      (James Westby, #122656)
4451
 
 
4452
 
    * Commands that use status flags now have a reference to 'help
4453
 
      status-flags'.  (Daniel Watkins, #113436)
4454
 
 
4455
 
    * Work around python-2.4.1 inhability to correctly parse the
4456
 
      authentication header.
4457
 
      (Vincent Ladeuil, #121889)
4458
 
 
4459
 
    * Use exact encoding for merge directives. (Adeodato Simó, #120591)
4460
 
 
4461
 
    * Fix tempfile permissions error in smart server tar bundling under
4462
 
      Windows. (Martin _, #119330)
4463
 
 
4464
 
    * Fix detection of directory entries in the inventory. (James Westby)
4465
 
 
4466
 
    * Fix handling of http code 400: Bad Request When issuing too many ranges.
4467
 
      (Vincent Ladeuil, #115209)
4468
 
 
4469
 
    * Issue a CONNECT request when connecting to an https server
4470
 
      via a proxy to enable SSL tunneling.
4471
 
      (Vincent Ladeuil, #120678)
4472
 
 
4473
 
    * Fix ``bzr log -r`` to support selecting merge revisions, both
4474
 
      individually and as part of revision ranges.
4475
 
      (Kent Gibson, #4663)
4476
 
 
4477
 
    * Don't leave cruft behind when failing to acquire a lockdir.
4478
 
      (Martin Pool, #109169)
4479
 
 
4480
 
    * Don't use the '-f' strace option during tests.
4481
 
      (Vincent Ladeuil, #102019).
4482
 
 
4483
 
    * Warn when setting ``push_location`` to a value that will be masked by
4484
 
      locations.conf.  (Aaron Bentley, #122286)
4485
 
 
4486
 
    * Fix commit ordering in corner case (Aaron Bentley, #94975)
4487
 
 
4488
 
    *  Make annotate behave in a non-ASCII world (Adeodato Simó).
4489
 
 
4490
 
  IMPROVEMENTS:
4491
 
 
4492
 
    * The --lsprof-file option now dumps a text rendering of the profiling
4493
 
      information if the filename ends in ".txt". It will also convert the
4494
 
      profiling information to a format suitable for KCacheGrind if the
4495
 
      output filename ends in ".callgrind". Fixes to the lsprofcalltree
4496
 
      conversion process by Jean Paul Calderone and Itamar were also merged.
4497
 
      See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
4498
 
 
4499
 
    * ``info`` now defaults to non-verbose mode, displaying only paths and
4500
 
      abbreviated format info.  ``info -v`` displays all the information
4501
 
      formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
4502
 
 
4503
 
    * ``bzr missing`` now has better option names ``--this`` and ``--other``.
4504
 
      (Elliot Murphy)
4505
 
 
4506
 
    * The internal ``weave-list`` command has become ``versionedfile-list``,
4507
 
      and now lists knits as well as weaves.  (Aaron Bentley)
4508
 
 
4509
 
    * Automatic merge base selection uses a faster algorithm that chooses
4510
 
      better bases in criss-cross merge situations (Aaron Bentley)
4511
 
 
4512
 
    * Progress reporting in ``commit`` has been improved. The various logical
4513
 
      stages are now reported on as follows, namely:
4514
 
 
4515
 
      * Collecting changes [Entry x/y] - Stage n/m
4516
 
      * Saving data locally - Stage n/m
4517
 
      * Uploading data to master branch - Stage n/m
4518
 
      * Updating the working tree - Stage n/m
4519
 
      * Running post commit hooks - Stage n/m
4520
 
 
4521
 
      If there is no master branch, the 3rd stage is omitted and the total
4522
 
      number of stages is adjusted accordingly.
4523
 
 
4524
 
      Each hook that is run after commit is listed with a name (as hooks
4525
 
      can be slow it is useful feedback).
4526
 
      (Ian Clatworthy, Robert Collins)
4527
 
 
4528
 
    * Various operations that are now faster due to avoiding unnecessary
4529
 
      topological sorts. (Aaron Bentley)
4530
 
 
4531
 
    * Make merge directives robust against broken bundles. (Aaron Bentley)
4532
 
 
4533
 
    * The lsprof filename note is emitted via trace.note(), not standard
4534
 
      output.  (Aaron Bentley)
4535
 
 
4536
 
    * ``bzrlib`` now exports explicit API compatibility information to assist
4537
 
      library users and plugins. See the ``bzrlib.api`` module for details.
4538
 
      (Robert Collins)
4539
 
 
4540
 
    * Remove unnecessary lock probes when acquiring a lockdir.
4541
 
      (Martin Pool)
4542
 
 
4543
 
    * ``bzr --version`` now shows the location of the bzr log file, which
4544
 
      is especially useful on Windows.  (Martin Pool)
4545
 
 
4546
 
    * -D now supports hooks to get debug tracing of hooks (though its currently
4547
 
      minimal in nature). (Robert Collins)
4548
 
 
4549
 
    * Long log format reports deltas on merge revisions.
4550
 
      (John Arbash Meinel, Kent Gibson)
4551
 
 
4552
 
    * Make initial push over ftp more resilient. (John Arbash Meinel)
4553
 
 
4554
 
    * Print a summary of changes for update just like pull does.
4555
 
      (Daniel Watkins, #113990)
4556
 
 
4557
 
    * Add a -Dhpss option to trace smart protocol requests and responses.
4558
 
      (Andrew Bennetts)
4559
 
 
4560
 
  LIBRARY API BREAKS:
4561
 
 
4562
 
    * Testing cleanups -
4563
 
      ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
4564
 
      to ``bzrlib.tests.repository_implementations``;
4565
 
      ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
4566
 
      to ``bzrlib.tests.interrepository_implementations``;
4567
 
      ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
4568
 
      ``bzrlib.tests.test_transport_implementations``.
4569
 
      ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
4570
 
      ``bzrlib.tests.branch_implementations``.
4571
 
      ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
4572
 
      ``bzrlib.tests.bzrdir_implementations``.
4573
 
      ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
4574
 
      to ``bzrlib.tests.interversionedfile_implementations``.
4575
 
      ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
4576
 
      ``bzrlib.tests.revisionstore_implementations``.
4577
 
      ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
4578
 
      ``bzrlib.tests.workingtree_implementations``.
4579
 
      These changes are an API break in the testing infrastructure only.
4580
 
      (Robert Collins)
4581
 
 
4582
 
    * Relocate TestCaseWithRepository to be more central. (Robert Collins)
4583
 
 
4584
 
    * ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
4585
 
      win32. Callers of the function should do this and use the new
4586
 
      ``MutableTree.smart_add`` method instead. (Robert Collins)
4587
 
 
4588
 
    * ``bzrlib.add.glob_expand_for_win32`` is now
4589
 
      ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
4590
 
 
4591
 
    * ``bzrlib.add.FastPath`` is now private and moved to
4592
 
      ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
4593
 
 
4594
 
    * ``LockDir.wait`` removed.  (Martin Pool)
4595
 
 
4596
 
    * The ``SmartServer`` hooks API has changed for the ``server_started`` and
4597
 
      ``server_stopped`` hooks. The first parameter is now an iterable of
4598
 
      backing URLs rather than a single URL. This is to reflect that many
4599
 
      URLs may map to the external URL of the server. E.g. the server interally
4600
 
      may have a chrooted URL but also the local file:// URL will be at the
4601
 
      same location. (Robert Collins)
4602
 
 
4603
 
  INTERNALS:
4604
 
 
4605
 
    * New SMTPConnection class to unify email handling.  (Adeodato Simó)
4606
 
 
4607
 
    * Fix documentation of BzrError. (Adeodato Simó)
4608
 
 
4609
 
    * Make BzrBadParameter an internal error. (Adeodato Simó)
4610
 
 
4611
 
    * Remove use of 'assert False' to raise an exception unconditionally.
4612
 
      (Martin Pool)
4613
 
 
4614
 
    * Give a cleaner error when failing to decode knit index entry.
4615
 
      (Martin Pool)
4616
 
 
4617
 
    * TreeConfig would mistakenly search the top level when asked for options
4618
 
      from a section. It now respects the section argument and only
4619
 
      searches the specified section. (James Westby)
4620
 
 
4621
 
    * Improve ``make api-docs`` output. (John Arbash Meinel)
4622
 
 
4623
 
    * Use os.lstat rather than os.stat for osutils.make_readonly and
4624
 
      osutils.make_writeable. This makes the difftools plugin more
4625
 
      robust when dangling symlinks are found. (Elliot Murphy)
4626
 
 
4627
 
    * New ``-Dlock`` option to log (to ~/.bzr.log) information on when
4628
 
      lockdirs are taken or released.  (Martin Pool)
4629
 
 
4630
 
    * ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
4631
 
      allows a nicer UI when hooks are running as the current hook can
4632
 
      be displayed. (Robert Collins)
4633
 
 
4634
 
    * ``Transport.get`` has had its interface made more clear for ease of use.
4635
 
      Retrieval of a directory must now fail with either 'PathError' at open
4636
 
      time, or raise 'ReadError' on a read. (Robert Collins)
4637
 
 
4638
 
    * New method ``_maybe_expand_globs`` on the ``Command`` class for
4639
 
      dealing with unexpanded glob lists - e.g. on the win32 platform. This
4640
 
      was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
4641
 
 
4642
 
    * ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
4643
 
      deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
4644
 
      Martin Pool)
4645
 
 
4646
 
    * New method ``external_url`` on Transport for obtaining the url to
4647
 
      hand to external processes. (Robert Collins)
4648
 
 
4649
 
    * Teach windows installers to build pyrex/C extensions.
4650
 
      (Alexander Belchenko)
4651
 
 
4652
 
  TESTING:
4653
 
 
4654
 
    * Removed the ``--keep-output`` option from selftest and clean up test
4655
 
      directories as they're used.  This reduces the IO load from
4656
 
      running the test suite and cuts the time by about half.
4657
 
      (Andrew Bennetts, Martin Pool)
4658
 
 
4659
 
    * Add scenarios as a public attribute on the TestAdapter classes to allow
4660
 
      modification of the generated scenarios before adaption and easier
4661
 
      testing. (Robert Collins)
4662
 
 
4663
 
    * New testing support class ``TestScenarioApplier`` which multiplies
4664
 
      out a single teste by a list of supplied scenarios. (RobertCollins)
4665
 
 
4666
 
    * Setting ``repository_to_test_repository`` on a repository_implementations
4667
 
      test will cause it to be called during repository creation, allowing the
4668
 
      testing of repository classes which are not based around the Format
4669
 
      concept. For example a repository adapter can be tested in this manner,
4670
 
      by altering the repository scenarios to include a scenario that sets this
4671
 
      attribute during the test parameterisation in
4672
 
      ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
4673
 
 
4674
 
    * Clean up many of the APIs for blackbox testing of Bazaar.  The standard
4675
 
      interface is now self.run_bzr.  The command to run can be passed as
4676
 
      either a list of parameters, a string containing the command line, or
4677
 
      (deprecated) varargs parameters.  (Martin Pool)
4678
 
 
4679
 
    * The base TestCase now isolates tests from -D parameters by clearing
4680
 
      ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
4681
 
 
4682
 
    * Add a relpath parameter to get_transport methods in test framework to
4683
 
      avoid useless cloning.
4684
 
      (Vincent Ladeuil, #110448)
4685
 
 
4686
 
 
4687
 
bzr 0.17  2007-06-18
4688
 
--------------------
4689
 
 
4690
 
  BUGFIXES:
4691
 
 
4692
 
    * Fix crash of commit due to wrong lookup of filesystem encoding.
4693
 
      (Colin Watson, #120647)
4694
 
 
4695
 
    * Revert logging just to stderr in commit as broke unicode filenames.
4696
 
      (Aaron Bentley, Ian Clatworthy, #120930)
4697
 
 
4698
 
 
4699
 
bzr 0.17rc1  2007-06-12
4700
 
-----------------------
4701
 
 
4702
 
  NOTES WHEN UPGRADING:
4703
 
 
4704
 
    * The kind() and is_executable() APIs on the WorkingTree interface no
4705
 
      longer implicitly (read) locks and unlocks the tree. This *might*
4706
 
      impact some plug-ins and tools using this part of the API. If you find
4707
 
      an issue that may be caused by this change, please let us know,
4708
 
      particularly the plug-in/tool maintainer. If encountered, the API
4709
 
      fix is to surround kind() and is_executable() calls with lock_read()
4710
 
      and unlock() like so::
4711
 
 
4712
 
        work_tree.lock_read()
4713
 
        try:
4714
 
            kind = work_tree.kind(...)
4715
 
        finally:
4716
 
            work_tree.unlock()
4717
 
 
4718
 
  INTERNALS:
4719
 
    * Rework of LogFormatter API to provide beginning/end of log hooks and to
4720
 
      encapsulate the details of the revision to be logged in a LogRevision
4721
 
      object.
4722
 
      In long log formats, merge revision ids are only shown when --show-ids
4723
 
      is specified, and are labelled "revision-id:", as per mainline
4724
 
      revisions, instead of "merged:". (Kent Gibson)
4725
 
 
4726
 
    * New ``BranchBuilder`` API which allows the construction of particular
4727
 
      histories quickly. Useful for testing and potentially other applications
4728
 
      too. (Robert Collins)
4729
 
 
4730
 
  IMPROVEMENTS:
4731
 
 
4732
 
    * There are two new help topics, working-trees and repositories that
4733
 
      attempt to explain these concepts. (James Westby, John Arbash Meinel,
4734
 
      Aaron Bentley)
4735
 
 
4736
 
    * Added ``bzr log --limit`` to report a limited number of revisions.
4737
 
      (Kent Gibson, #3659)
4738
 
 
4739
 
    * Revert does not try to preserve file contents that were originally
4740
 
      produced by reverting to a historical revision.  (Aaron Bentley)
4741
 
 
4742
 
    * ``bzr log --short`` now includes ``[merge]`` for revisions which
4743
 
      have more than one parent. This is a small improvement to help
4744
 
      understanding what changes have occurred
4745
 
      (John Arbash Meinel, #83887)
4746
 
 
4747
 
    * TreeTransform avoids many renames when contructing large trees,
4748
 
      improving speed.  3.25x speedups have been observed for construction of
4749
 
      kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
4750
 
 
4751
 
    * Commit on large trees is now faster. In my environment, a commit of
4752
 
      a small change to the Mozilla tree (55k files) has dropped from
4753
 
      66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4754
 
      small change is 33% faster. (Ian Clatworthy)
4755
 
 
4756
 
    * New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
4757
 
      #56322)
4758
 
 
4759
 
  BUGFIXES:
4760
 
 
4761
 
    * ``bzr push`` should only connect to the remote location one time.
4762
 
      We have been connecting 3 times because we forget to pass around
4763
 
      the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4764
 
      that we can pass in the Transport that we already have.
4765
 
      (John Arbash Meinel, #75721)
4766
 
 
4767
 
    * ``DirState.set_state_from_inventory()`` needs to properly order
4768
 
      based on split paths, not just string paths.
4769
 
      (John Arbash Meinel, #115947)
4770
 
 
4771
 
    * Let TestUIFactoy encode the password prompt with its own stdout.
4772
 
      (Vincent Ladeuil, #110204)
4773
 
 
4774
 
    * pycurl should take use the range header that takes the range hint
4775
 
      into account.
4776
 
      (Vincent Ladeuil, #112719)
4777
 
 
4778
 
    * WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4779
 
      on a missing file.  (Aaron Bentley, #118186)
4780
 
 
4781
 
    * WorkingTree.remove works correctly with tree references, and when pwd is
4782
 
      not the tree root. (Aaron Bentley)
4783
 
 
4784
 
    * Merge no longer fails when a file is renamed in one tree and deleted
4785
 
      in the other. (Aaron Bentley, #110279)
4786
 
 
4787
 
    * ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4788
 
      and defaults to the last revision (Matthew Fuller, #90048)
4789
 
 
4790
 
    * Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4791
 
      (Daniel Watkins, #111958)
4792
 
 
4793
 
    * ``bzr branch -r revid:foo`` can be used to branch any revision in
4794
 
      your repository. (Previously Branch6 only supported revisions in your
4795
 
      mainline). (John Arbash Meinel, #115343)
4796
 
 
4797
 
bzr 0.16  2007-05-07
4798
 
--------------------
4799
 
 
4800
 
  BUGFIXES:
4801
 
 
4802
 
    * Handle when you have 2 directories with similar names, but one has a
4803
 
      hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4804
 
      iterator was using direct comparison and ``'abc/a'`` sorts after
4805
 
      ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4806
 
      (John Arbash Meinel, #111227)
4807
 
 
4808
 
    * Handle when someone renames a file on disk without telling bzr.
4809
 
      Previously we would report the first file as missing, but not show
4810
 
      the new unknown file. (John Arbash Meinel, #111288)
4811
 
 
4812
 
    * Avoid error when running hooks after pulling into or pushing from
4813
 
      a branch bound to a smartserver branch.  (Martin Pool, #111968)
4814
 
 
4815
 
  IMPROVEMENTS:
4816
 
 
4817
 
    * Move developer documentation to doc/developers/. This reduces clutter in
4818
 
      the root of the source tree and allows HACKING to be split into multiple
4819
 
      files. (Robert Collins, Alexander Belchenko)
4820
 
 
4821
 
    * Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4822
 
      ``DirState.update_entry()``. This optimizes the core logic for ``bzr
4823
 
      diff`` and ``bzr status`` significantly improving the speed of
4824
 
      both. (John Arbash Meinel)
4825
 
 
4826
 
bzr 0.16rc2  2007-04-30
4827
 
-----------------------
4828
 
 
4829
 
  BUGFIXES:
4830
 
 
4831
 
    * Handle the case when you delete a file, and then rename another file
4832
 
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4833
 
      status`` should show the removed file and an unknown file in its
4834
 
      place. (John Arbash Meinel, #109993)
4835
 
 
4836
 
    * Bundles properly read and write revision properties that have an
4837
 
      empty value. And when the value is not ASCII.
4838
 
      (John Arbash Meinel, #109613)
4839
 
 
4840
 
    * Fix the bzr commit message to be in text mode.
4841
 
      (Alexander Belchenko, #110901)
4842
 
 
4843
 
    * Also handle when you rename a file and create a file where it used
4844
 
      to be. (John Arbash Meinel, #110256)
4845
 
 
4846
 
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
4847
 
      directories. (John Arbash Meinel, #110399)
4848
 
 
4849
 
bzr 0.16rc1  2007-04-26
4850
 
-----------------------
4851
 
 
4852
 
  NOTES WHEN UPGRADING:
4853
 
 
4854
 
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4855
 
      it could be recovered again.
4856
 
      This has been done for consistency with svn and the unix rm command.
4857
 
      The old ``remove`` behaviour has been retained in the new option
4858
 
      ``bzr remove --keep``, which will just stop versioning the file,
4859
 
      but not delete it.
4860
 
      ``bzr remove --force`` have been added which will always delete the
4861
 
      files.
4862
 
      ``bzr remove`` is also more verbose.
4863
 
      (Marius Kruger, #82602)
4864
 
 
4865
 
  IMPROVEMENTS:
4866
 
 
4867
 
    * Merge directives can now be supplied as input to `merge` and `pull`,
4868
 
      like bundles can.  (Aaron Bentley)
4869
 
 
4870
 
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
4871
 
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
4872
 
      to continue.  This can be disabled by setting the environment variable
4873
 
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
4874
 
 
4875
 
    * selftest now supports --list-only to list tests instead of running
4876
 
      them. (Ian Clatworthy)
4877
 
 
4878
 
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4879
 
      tests with names that match that regular expression.
4880
 
      (Ian Clatworthy, #102679)
4881
 
 
4882
 
    * selftest now supports --randomize SEED to run tests in a random order.
4883
 
      SEED is typically the value 'now' meaning 'use the current time'.
4884
 
      (Ian Clatworthy, #102686)
4885
 
 
4886
 
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
4887
 
      revision properties. Built-in support for Launchpad, Debian, Trac and
4888
 
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4889
 
 
4890
 
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4891
 
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4892
 
      Robert Collins)
4893
 
 
4894
 
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
4895
 
      Pool)
4896
 
 
4897
 
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4898
 
      into using local variables instead of going through ``self._var``.
4899
 
      Improves the time to ``merge_sort`` a 10k revision graph by
4900
 
      approximately 40% (~700->400ms).  (John Arbash Meinel)
4901
 
 
4902
 
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4903
 
      (Robert Collins)
4904
 
 
4905
 
    * ``bzr help`` now provides cross references to other help topics using
4906
 
      the _see_also facility on command classes. Likewise the bzr_man
4907
 
      documentation, and the bzr.1 man page also include this information.
4908
 
      (Robert Collins)
4909
 
 
4910
 
    * Tags are now included in logs, that use the long log formatter.
4911
 
      (Erik Bågfors, Alexander Belchenko)
4912
 
 
4913
 
    * ``bzr help`` provides a clearer message when a help topic cannot be
4914
 
      found. (Robert Collins, #107656)
4915
 
 
4916
 
    * ``bzr help`` now accepts optional prefixes for command help. The help
4917
 
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
4918
 
      as well as ``bzr help COMMANDNAME`` (which only works for commands
4919
 
      where the name is not the same as a more general help topic).
4920
 
      (Robert Collins)
4921
 
 
4922
 
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
4923
 
      plugin PLUGINNAME. (Robert Collins, #50408)
4924
 
 
4925
 
    * New help topic ``urlspec`` which lists the availables transports.
4926
 
      (Goffredo Baroncelli)
4927
 
 
4928
 
    * doc/server.txt updated to document the default bzr:// port
4929
 
      and also update the blurb about the hpss' current status.
4930
 
      (Robert Collins, #107125).
4931
 
 
4932
 
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4933
 
      serve out to the local LAN (and anyone in the world that can reach the
4934
 
      machine running ``bzr serve``. (Robert Collins, #98918)
4935
 
 
4936
 
    * A new smart server protocol version has been added.  It prefixes requests
4937
 
      and responses with an explicit version identifier so that future protocol
4938
 
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
4939
 
 
4940
 
    * The bzr protocol version 2 indicates success or failure in every response
4941
 
      without depending on particular commands encoding that consistently,
4942
 
      allowing future client refactorings to be much more robust about error
4943
 
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4944
 
 
4945
 
    * The smart protocol over HTTP client has been changed to always post to the
4946
 
      same ``.bzr/smart`` URL under the original location when it can.  This allows
4947
 
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4948
 
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
4949
 
 
4950
 
    * digest authentication is now supported for proxies and HTTP by the urllib
4951
 
      based http implementation. Tested against Apache 2.0.55 and Squid
4952
 
      2.6.5. Basic and digest authentication are handled coherently for HTTP
4953
 
      and proxy: if the user is provided in the url (bzr command line for HTTP,
4954
 
      proxy environment variables for proxies), the password is prompted for
4955
 
      (only once). If the password is provided, it is taken into account. Once
4956
 
      the first authentication is successful, all further authentication
4957
 
      roundtrips are avoided by preventively setting the right authentication
4958
 
      header(s).
4959
 
      (Vincent Ladeuil).
4960
 
 
4961
 
  INTERNALS:
4962
 
 
4963
 
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
4964
 
      code paths. (Robert Collins)
4965
 
 
4966
 
    * Change the format of chroot urls so that they can be safely manipulated
4967
 
      by generic url utilities without causing the resulting urls to have
4968
 
      escaped the chroot. A side effect of this is that creating a chroot
4969
 
      requires an explicit action using a ChrootServer.
4970
 
      (Robert Collins, Andrew Bennetts)
4971
 
 
4972
 
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4973
 
      rather than fixing bug #96847.  (Aaron Bentley)
4974
 
 
4975
 
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4976
 
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
4977
 
 
4978
 
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
4979
 
      do not silently pass.  (Aaron Bentley)
4980
 
 
4981
 
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4982
 
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4983
 
 
4984
 
    * New SmartServer hooks facility. There are two initial hooks documented
4985
 
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4986
 
      plugins to execute code upon server startup and shutdown.
4987
 
      (Robert Collins).
4988
 
 
4989
 
    * SmartServer in standalone mode will now close its listening socket
4990
 
      when it stops, rather than waiting for garbage collection. This primarily
4991
 
      fixes test suite hangs when a test tries to connect to a shutdown server.
4992
 
      It may also help improve behaviour when dealing with a server running
4993
 
      on a specific port (rather than dynamically assigned ports).
4994
 
      (Robert Collins)
4995
 
 
4996
 
    * Move most SmartServer code into a new package, bzrlib/smart.
4997
 
      bzrlib/transport/remote.py contains just the Transport classes that used
4998
 
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
4999
 
 
5000
 
    * urllib http implementation avoid roundtrips associated with
5001
 
      401 (and 407) errors once the authentication succeeds.
5002
 
      (Vincent Ladeuil).
5003
 
 
5004
 
    * urlib http now supports querying the user for a proxy password if
5005
 
      needed. Realm is shown in the prompt for both HTTP and proxy
5006
 
      authentication when the user is required to type a password.
5007
 
      (Vincent Ladeuil).
5008
 
 
5009
 
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
5010
 
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
5011
 
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
5012
 
      it's not really a "smart" transport, just one that does file operations
5013
 
      via remote procedure calls.  (Andrew Bennetts)
5014
 
 
5015
 
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
5016
 
      ``Branch`` now accept a ``token`` keyword argument, so that separate
5017
 
      instances of those objects can share a lock if it has the right token.
5018
 
      (Andrew Bennetts, Robert Collins)
5019
 
 
5020
 
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
5021
 
      branch references - which the smart server component needs.
5022
 
 
5023
 
    * The Repository API ``make_working_trees`` is now permitted to return
5024
 
      False when ``set_make_working_trees`` is not implemented - previously
5025
 
      an unimplemented ``set_make_working_trees`` implied the result True
5026
 
      from ``make_working_trees``. This has been changed to accomodate the
5027
 
      smart server, where it does not make sense (at this point) to ever
5028
 
      make working trees by default. (Robert Collins)
5029
 
 
5030
 
    * Command objects can now declare related help topics by having _see_also
5031
 
      set to a list of related topic. (Robert Collins)
5032
 
 
5033
 
    * ``bzrlib.help`` now delegates to the Command class for Command specific
5034
 
      help. (Robert Collins)
5035
 
 
5036
 
    * New class ``TransportListRegistry``, derived from the Registry class, which
5037
 
      simplifies tracking the available Transports. (Goffredo Baroncelli)
5038
 
 
5039
 
    * New function ``Branch.get_revision_id_to_revno_map`` which will
5040
 
      return a dictionary mapping revision ids to dotted revnos. Since
5041
 
      dotted revnos are defined in the context of the branch tip, it makes
5042
 
      sense to generate them from a ``Branch`` object.
5043
 
      (John Arbash Meinel)
5044
 
 
5045
 
    * Fix the 'Unprintable error' message display to use the repr of the
5046
 
      exception that prevented printing the error because the str value
5047
 
      for it is often not useful in debugging (e.g. KeyError('foo') has a
5048
 
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
5049
 
      useful. (Robert Collins)
5050
 
 
5051
 
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
5052
 
      (Andrew Bennetts)
5053
 
 
5054
 
  BUGFIXES:
5055
 
 
5056
 
    * Don't fail bundle selftest if email has 'two' embedded.
5057
 
      (Ian Clatworthy, #98510)
5058
 
 
5059
 
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
5060
 
      (Robert Widhopf-Fenk, #98591)
5061
 
 
5062
 
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
5063
 
      properly and is no longer beneficial.
5064
 
      (Robert Collins, #53675, #43486)
5065
 
 
5066
 
    * Don't produce encoding error when adding duplicate files.
5067
 
      (Aaron Bentley)
5068
 
 
5069
 
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
5070
 
      the file, and does it faster.
5071
 
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
5072
 
 
5073
 
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
5074
 
      an empty versioned directory, which now has files in it.
5075
 
      (John Arbash Meinel, #104257)
5076
 
 
5077
 
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
5078
 
      inside the ancestry of the other. Saves a lot of graph processing
5079
 
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
5080
 
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
5081
 
 
5082
 
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
5083
 
      and the containing directory is renamed. (The file path is different
5084
 
      in this versus base, but it isn't marked as a rename).
5085
 
      (John Arbash Meinel, #103870)
5086
 
 
5087
 
    * FTP now works even when the FTP server does not support atomic rename.
5088
 
      (Aaron Bentley, #89436)
5089
 
 
5090
 
    * Correct handling in bundles and merge directives of timezones with
5091
 
      that are not an integer number of hours offset from UTC.  Always
5092
 
      represent the epoch time in UTC to avoid problems with formatting
5093
 
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
5094
 
      Arbash Meinel)
5095
 
 
5096
 
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
5097
 
 
5098
 
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
5099
 
      with old versions of bzr. (Aaron Bentley, #107168))
5100
 
 
5101
 
    * Handle moving a directory when children have been added, removed,
5102
 
      and renamed. (John Arbash Meinel, #105479)
5103
 
 
5104
 
    * Don't preventively use basic authentication for proxy before receiving a
5105
 
      407 error. Otherwise people willing to use other authentication schemes
5106
 
      may expose their password in the clear (or nearly). This add one
5107
 
      roundtrip in case basic authentication should be used, but plug the
5108
 
      security hole.
5109
 
      (Vincent Ladeuil)
5110
 
 
5111
 
    * Handle http and proxy digest authentication.
5112
 
      (Vincent Ladeuil, #94034).
5113
 
 
5114
 
  TESTING:
5115
 
 
5116
 
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
5117
 
      return a StraceResult object which contains just the syscalls involved
5118
 
      in running it. (Robert Collins)
5119
 
 
5120
 
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
5121
 
      default time down to one suitable for tests. (Andrew Bennetts)
5122
 
 
5123
 
    * Add new ``vfs_transport_factory`` attribute on tests which provides the
5124
 
      common vfs backing for both the readonly and readwrite transports.
5125
 
      This allows the RemoteObject tests to back onto local disk or memory,
5126
 
      and use the existing ``transport_server`` attribute all tests know about
5127
 
      to be the smart server transport. This in turn allows tests to
5128
 
      differentiate between 'transport to access the branch', and
5129
 
      'transport which is a VFS' - which matters in Remote* tests.
5130
 
      (Robert Collins, Andrew Bennetts)
5131
 
 
5132
 
    * The ``make_branch_and_tree`` method for tests will now create a
5133
 
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
5134
 
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
5135
 
 
5136
 
    * Branch implementation tests have been audited to ensure that all urls
5137
 
      passed to Branch APIs use proper urls, except when local-disk paths
5138
 
      are intended. This is so that tests correctly access the test transport
5139
 
      which is often not equivalent to local disk in Remote* tests. As part
5140
 
      of this many tests were adjusted to remove dependencies on local disk
5141
 
      access.
5142
 
      (Robert Collins, Andrew Bennetts)
5143
 
 
5144
 
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
5145
 
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
5146
 
      Andrew Bennetts, Martin Pool, Jonathan Lange)
5147
 
 
5148
 
    * Refactored proxy and authentication handling to simplify the
5149
 
      implementation of new auth schemes for both http and proxy.
5150
 
      (Vincent Ladeuil)
5151
 
 
5152
 
bzr 0.15 2007-04-01
5153
 
-------------------
5154
 
 
5155
 
  BUGFIXES:
5156
 
 
5157
 
    * Handle incompatible repositories as a user issue when fetching.
5158
 
      (Aaron Bentley)
5159
 
 
5160
 
    * Don't give a recommendation to upgrade when branching or
5161
 
      checking out a branch that contains an old-format working tree.
5162
 
      (Martin Pool)
5163
 
 
5164
 
bzr 0.15rc3  2007-03-26
5165
 
-----------------------
5166
 
 
5167
 
  CHANGES:
5168
 
 
5169
 
    * A warning is now displayed when opening working trees in older
5170
 
      formats, to encourage people to upgrade to WorkingTreeFormat4.
5171
 
      (Martin Pool)
5172
 
 
5173
 
  IMPROVEMENTS:
5174
 
 
5175
 
    * HTTP redirections are now taken into account when a branch (or a
5176
 
      bundle) is accessed for the first time. A message is issued at each
5177
 
      redirection to inform the user. In the past, http redirections were
5178
 
      silently followed for each request which significantly degraded the
5179
 
      performances. The http redirections are not followed anymore by
5180
 
      default, instead a RedirectRequested exception is raised. For bzrlib
5181
 
      users needing to follow http redirections anyway,
5182
 
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
5183
 
      path.  (vila)
5184
 
 
5185
 
  INTERNALS:
5186
 
 
5187
 
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
5188
 
      lock to an OS write lock. Linux can do this without unlocking, Win32
5189
 
      needs to unlock in between. (John Arbash Meinel)
5190
 
 
5191
 
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
5192
 
      to silence (when false) warnings about opening old formats.
5193
 
      (Martin Pool)
5194
 
 
5195
 
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
5196
 
      trees. (We were reading the working inventory too many times).
5197
 
      (John Arbash Meinel)
5198
 
 
5199
 
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
5200
 
      ``revision_history``.  Branch subclasses should override
5201
 
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
5202
 
      this cache, and call ``_clear_revision_history_cache`` and
5203
 
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
5204
 
 
5205
 
  BUGFIXES:
5206
 
 
5207
 
    * Take ``smtp_server`` from user config into account.
5208
 
      (vila, #92195)
5209
 
 
5210
 
    * Restore Unicode filename handling for versioned and unversioned files.
5211
 
      (John Arbash Meinel, #92608)
5212
 
 
5213
 
    * Don't fail during ``bzr commit`` if a file is marked removed, and
5214
 
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
5215
 
 
5216
 
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
5217
 
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5218
 
      (Wouter van Heyst, John Arbash Meinel, #90819)
5219
 
 
5220
 
    * ``bzr checkout source`` should create a local branch in the same
5221
 
      format as source. (John Arbash Meinel, #93854)
5222
 
 
5223
 
    * ``bzr commit`` with a kind change was failing to update the
5224
 
      last-changed-revision for directories.  The
5225
 
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5226
 
      ignoring the fact that the kind could have changed, too.
5227
 
      (John Arbash Meinel, #90111)
5228
 
 
5229
 
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
5230
 
      the directory. So that there was a chance it would break commit,
5231
 
      etc. (John Arbash Meinel, #94037)
5232
 
 
5233
 
    * Correctly handles mutiple permanent http redirections.
5234
 
      (vila, #88780)
5235
 
 
5236
 
bzr 0.15rc2  2007-03-14
5237
 
-----------------------
5238
 
 
5239
 
  NOTES WHEN UPGRADING:
5240
 
 
5241
 
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
5242
 
      default to ``--trees`` instead of ``--no-trees``.
5243
 
      Existing shared repositories are not affected.
5244
 
 
5245
 
  IMPROVEMENTS:
5246
 
 
5247
 
    * New ``merge-directive`` command to generate machine- and human-readable
5248
 
      merge requests.  (Aaron Bentley)
5249
 
 
5250
 
    * New ``submit:`` revision specifier makes it easy to diff against the
5251
 
      common ancestor with the submit location (Aaron Bentley)
5252
 
 
5253
 
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
5254
 
 
5255
 
    * Added ``bzr status --versioned`` to report only versioned files,
5256
 
      not unknowns. (Kent Gibson)
5257
 
 
5258
 
    * Merge now autodetects the correct line-ending style for its conflict
5259
 
      markers.  (Aaron Bentley)
5260
 
 
5261
 
  INTERNALS:
5262
 
 
5263
 
    * Refactored SSH vendor registration into SSHVendorManager class.
5264
 
      (Dmitry Vasiliev)
5265
 
 
5266
 
  BUGFIXES:
5267
 
 
5268
 
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
5269
 
      numbered dirs for TestCaseInTempDir. This is default behavior
5270
 
      on Windows. Anyone can force named dirs on Windows
5271
 
      with ``--no-numbered-dirs``. (Alexander Belchenko)
5272
 
 
5273
 
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
5274
 
      from the command line. (Marien Zwart, #90501)
5275
 
 
5276
 
    * Fix ``TreeTransform._iter_changes`` when both the source and
5277
 
      destination are missing. (Aaron Bentley, #88842)
5278
 
 
5279
 
    * Fix commit of merges with symlinks in dirstate trees.
5280
 
      (Marien Zwart)
5281
 
 
5282
 
    * Switch the ``bzr init-repo`` default from --no-trees to --trees.
5283
 
      (Wouter van Heyst, #53483)
5284
 
 
5285
 
 
5286
 
bzr 0.15rc1  2007-03-07
5287
 
-----------------------
5288
 
 
5289
 
  SURPRISES:
5290
 
 
5291
 
    * The default disk format has changed. Please run 'bzr upgrade' in your
5292
 
      working trees to upgrade. This new default is compatible for network
5293
 
      operations, but not for local operations. That is, if you have two
5294
 
      versions of bzr installed locally, after upgrading you can only use the
5295
 
      bzr 0.15 version. This new default does not enable tags or nested-trees
5296
 
      as they are incompatible with bzr versions before 0.15 over the network.
5297
 
 
5298
 
    * For users of bzrlib: Two major changes have been made to the working tree
5299
 
      api in bzrlib. The first is that many methods and attributes, including
5300
 
      the inventory attribute, are no longer valid for use until one of
5301
 
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
5302
 
      and become invalid again after unlock is called. This has been done
5303
 
      to improve performance and correctness as part of the dirstate
5304
 
      development.
5305
 
      (Robert Collins, John A Meinel, Martin Pool, and others).
5306
 
 
5307
 
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
5308
 
      readonly. Previously it was possible to directly alter this attribute, or
5309
 
      its contents, and have the tree notice this. This has been made
5310
 
      unsupported - it may work in some tree formats, but in the newer dirstate
5311
 
      format such actions will have no effect and will be ignored, or even
5312
 
      cause assertions. All operations possible can still be carried out by a
5313
 
      combination of the tree API, and the bzrlib.transform API. (Robert
5314
 
      Collins, John A Meinel, Martin Pool, and others).
5315
 
 
5316
 
  IMPROVEMENTS:
5317
 
 
5318
 
    * Support for OS Windows 98. Also .bzr.log on any windows system
5319
 
      saved in My Documents folder. (Alexander Belchenko)
5320
 
 
5321
 
    * ``bzr mv`` enhanced to support already moved files.
5322
 
      In the past the mv command would have failed if the source file doesn't
5323
 
      exist. In this situation ``bzr mv`` would now detect that the file has
5324
 
      already moved and update the repository accordingly, if the target file
5325
 
      does exist.
5326
 
      A new option ``--after`` has been added so that if two files already
5327
 
      exist, you could notify Bazaar that you have moved a (versioned) file
5328
 
      and replaced it with another. Thus in this case ``bzr move --after``
5329
 
      will only update the Bazaar identifier.
5330
 
      (Steffen Eichenberg, Marius Kruger)
5331
 
 
5332
 
    * ``ls`` now works on treeless branches and remote branches.
5333
 
      (Aaron Bentley)
5334
 
 
5335
 
    * ``bzr help global-options`` describes the global options.
5336
 
      (Aaron Bentley)
5337
 
 
5338
 
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
5339
 
      (Robert Collins)
5340
 
 
5341
 
    * Files are now allowed to change kind (e.g. from file to symlink).
5342
 
      Supported by ``commit``, ``revert`` and ``status``
5343
 
      (Aaron Bentley)
5344
 
 
5345
 
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
5346
 
      (Aaron Bentley)
5347
 
 
5348
 
    * ``bzr help checkouts`` descibes what checkouts are and some possible
5349
 
      uses of them. (James Westby, Aaron Bentley)
5350
 
 
5351
 
    * A new ``-d`` option to push, pull and merge overrides the default
5352
 
      directory.  (Martin Pool)
5353
 
 
5354
 
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
5355
 
      ``append_history_only`` mode, where the log view and revnos do not change,
5356
 
      except by being added to.  Stores policy settings in
5357
 
      ".bzr/branch/branch.conf".
5358
 
 
5359
 
    * ``append_only`` branches:  Format 6 branches may be configured so that log
5360
 
      view and revnos are always consistent.  Either create the branch using
5361
 
      "bzr init --append-revisions-only" or edit the config file as descriped
5362
 
      in docs/configuration.txt.
5363
 
 
5364
 
    * rebind: Format 6 branches retain the last-used bind location, so if you
5365
 
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
5366
 
      bind location.
5367
 
 
5368
 
    * Builtin tags support, created and deleted by the ``tag`` command and
5369
 
      stored in the branch.  Tags can be accessed with the revisionspec
5370
 
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
5371
 
      at present. Tags require a network incompatible upgrade. To perform this
5372
 
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
5373
 
      repositories. (Martin Pool)
5374
 
 
5375
 
    * The ``bzr://`` transport now has a well-known port number, 4155,
5376
 
      which it will use by default.  (Andrew Bennetts, Martin Pool)
5377
 
 
5378
 
    * Bazaar now looks for user-installed plugins before looking for site-wide
5379
 
      plugins. (Jonathan Lange)
5380
 
 
5381
 
    * ``bzr resolve`` now detects and marks resolved text conflicts.
5382
 
      (Aaron Bentley)
5383
 
 
5384
 
  INTERNALS:
5385
 
 
5386
 
    * Internally revision ids and file ids are now passed around as utf-8
5387
 
      bytestrings, rather than treating them as Unicode strings. This has
5388
 
      performance benefits for Knits, since we no longer need to decode the
5389
 
      revision id for each line of content, nor for each entry in the index.
5390
 
      This will also help with the future dirstate format.
5391
 
      (John Arbash Meinel)
5392
 
 
5393
 
    * Reserved ids (any revision-id ending in a colon) are rejected by
5394
 
      versionedfiles, repositories, branches, and working trees
5395
 
      (Aaron Bentley)
5396
 
 
5397
 
    * Minor performance improvement by not creating a ProgressBar for
5398
 
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
5399
 
      (John Arbash Meinel)
5400
 
 
5401
 
    * New easier to use Branch hooks facility. There are five initial hooks,
5402
 
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
5403
 
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
5404
 
      ``'post_uncommit'``. These hooks fire after the matching operation
5405
 
      on a branch has taken place, and were originally added for the
5406
 
      branchrss plugin. (Robert Collins)
5407
 
 
5408
 
    * New method ``Branch.push()`` which should be used when pushing from a
5409
 
      branch as it makes performance and policy decisions to match the UI
5410
 
      level command ``push``. (Robert Collins).
5411
 
 
5412
 
    * Add a new method ``Tree.revision_tree`` which allows access to cached
5413
 
      trees for arbitrary revisions. This allows the in development dirstate
5414
 
      tree format to provide access to the callers to cached copies of
5415
 
      inventory data which are cheaper to access than inventories from the
5416
 
      repository.
5417
 
      (Robert Collins, Martin Pool)
5418
 
 
5419
 
    * New ``Branch.last_revision_info`` method, this is being done to allow
5420
 
      optimization of requests for both the number of revisions and the last
5421
 
      revision of a branch with smartservers and potentially future branch
5422
 
      formats. (Wouter van Heyst, Robert Collins)
5423
 
 
5424
 
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
5425
 
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
5426
 
      other for code reuse without requiring users to perform file-renaming
5427
 
      gymnastics. (Robert Collins)
5428
 
 
5429
 
    * New Repository method ``'gather_stats'`` for statistic data collection.
5430
 
      This is expected to grow to cover a number of related uses mainly
5431
 
      related to bzr info. (Robert Collins)
5432
 
 
5433
 
    * Log formatters are now managed with a registry.
5434
 
      ``log.register_formatter`` continues to work, but callers accessing
5435
 
      the FORMATTERS dictionary directly will not.
5436
 
 
5437
 
    * Allow a start message to be passed to the ``edit_commit_message``
5438
 
      function.  This will be placed in the message offered to the user
5439
 
      for editing above the separator. It allows a template commit message
5440
 
      to be used more easily. (James Westby)
5441
 
 
5442
 
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
5443
 
      you pass a Unicode string rather than an 8-bit string. Callers need
5444
 
      to be updated to encode first. (John Arbash Meinel)
5445
 
 
5446
 
    * Branch.push, pull, merge now return Result objects with information
5447
 
      about what happened, rather than a scattering of various methods.  These
5448
 
      are also passed to the post hooks.  (Martin Pool)
5449
 
 
5450
 
    * File formats and architecture is in place for managing a forest of trees
5451
 
      in bzr, and splitting up existing trees into smaller subtrees, and
5452
 
      finally joining trees to make a larger tree. This is the first iteration
5453
 
      of this support, and the user-facing aspects still require substantial
5454
 
      work.  If you wish to experiment with it, use ``bzr upgrade
5455
 
      --dirstate-with-subtree`` in your working trees and repositories.
5456
 
      You can use the hidden commands ``split`` and ``join`` and to create
5457
 
      and manipulate nested trees, but please consider using the nested-trees
5458
 
      branch, which contains substantial UI improvements, instead.
5459
 
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
5460
 
      (Aaron Bentley, Martin Pool, Robert Collins).
5461
 
 
5462
 
  BUGFIXES:
5463
 
 
5464
 
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
5465
 
      branch, rather than the last changed revision of the file.
5466
 
      (John Arbash Meinel, #82158)
5467
 
 
5468
 
    * Lock operations no longer hang if they encounter a permission problem.
5469
 
      (Aaron Bentley)
5470
 
 
5471
 
    * ``bzr push`` can resume a push that was canceled before it finished.
5472
 
      Also, it can push even if the target directory exists if you supply
5473
 
      the ``--use-existing-dir`` flag.
5474
 
      (John Arbash Meinel, #30576, #45504)
5475
 
 
5476
 
    * Fix http proxy authentication when user and an optional
5477
 
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
5478
 
      #83954).
5479
 
 
5480
 
    * ``bzr log branch/file`` works for local treeless branches
5481
 
      (Aaron Bentley, #84247)
5482
 
 
5483
 
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
5484
 
 
5485
 
    * Searching location of CA bundle for PyCurl in env variable
5486
 
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
5487
 
      (Alexander Belchenko, #82086)
5488
 
 
5489
 
    * ``bzr init`` works with unicode argument LOCATION.
5490
 
      (Alexander Belchenko, #85599)
5491
 
 
5492
 
    * Raise ``DependencyNotPresent`` if pycurl do not support https.
5493
 
      (Vincent Ladeuil, #85305)
5494
 
 
5495
 
    * Invalid proxy env variables should not cause a traceback.
5496
 
      (Vincent Ladeuil, #87765)
5497
 
 
5498
 
    * Ignore patterns normalised to use '/' path separator.
5499
 
      (Kent Gibson, #86451)
5500
 
 
5501
 
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
5502
 
 
5503
 
    * Fix bzrtools shelve command for removed lines beginning with "--"
5504
 
      (Johan Dahlberg, #75577)
5505
 
 
5506
 
  TESTING:
5507
 
 
5508
 
    * New ``--first`` option to ``bzr selftest`` to run specified tests
5509
 
      before the rest of the suite.  (Martin Pool)
5510
 
 
5511
 
 
5512
 
bzr 0.14  2007-01-23
5513
 
--------------------
5514
 
 
5515
 
  IMPROVEMENTS:
5516
 
 
5517
 
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
5518
 
 
5519
 
  BUG FIXES:
5520
 
 
5521
 
    * Skip documentation generation tests if the tools to do so are not
5522
 
      available. Fixes running selftest for installled copies of bzr.
5523
 
      (John Arbash Meinel, #80330)
5524
 
 
5525
 
    * Fix the code that discovers whether bzr is being run from it's
5526
 
      working tree to handle the case when it isn't but the directory
5527
 
      it is in is below a repository. (James Westby, #77306)
5528
 
 
5529
 
 
5530
 
bzr 0.14rc1  2007-01-16
5531
 
-----------------------
5532
 
 
5533
 
  IMPROVEMENTS:
5534
 
 
5535
 
    * New connection: ``bzr+http://`` which supports tunnelling the smart
5536
 
      protocol over an HTTP connection. If writing is enabled on the bzr
5537
 
      server, then you can write over the http connection.
5538
 
      (Andrew Bennetts, John Arbash Meinel)
5539
 
 
5540
 
    * Aliases now support quotation marks, so they can contain whitespace
5541
 
      (Marius Kruger)
5542
 
 
5543
 
    * PyCurlTransport now use a single curl object. By specifying explicitly
5544
 
      the 'Range' header, we avoid the need to use two different curl objects
5545
 
      (and two connections to the same server). (Vincent Ladeuil)
5546
 
 
5547
 
    * ``bzr commit`` does not prompt for a message until it is very likely to
5548
 
      succeed.  (Aaron Bentley)
5549
 
 
5550
 
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
5551
 
      (Aaron Bentley)
5552
 
 
5553
 
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
5554
 
      of a list while checking if a revision id was requested. Takes 10s
5555
 
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
5556
 
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
5557
 
      filtering lines with a regex rather than multiple ``str.find()``
5558
 
      calls. (saves another 300ms) (John Arbash Meinel)
5559
 
 
5560
 
    * Policy can be set for each configuration key. This allows keys to be
5561
 
      inherited properly across configuration entries. For example, this
5562
 
      should enable you to do::
5563
 
 
5564
 
        [/home/user/project]
5565
 
        push_location = sftp://host/srv/project/
5566
 
        push_location:policy = appendpath
5567
 
 
5568
 
      And then a branch like ``/home/user/project/mybranch`` should get an
5569
 
      automatic push location of ``sftp://host/srv/project/mybranch``.
5570
 
      (James Henstridge)
5571
 
 
5572
 
    * Added ``bzr status --short`` to make status report svn style flags
5573
 
      for each file.  For example::
5574
 
 
5575
 
        $ bzr status --short
5576
 
        A  foo
5577
 
        A  bar
5578
 
        D  baz
5579
 
        ?  wooley
5580
 
 
5581
 
    * 'bzr selftest --clean-output' allows easily clean temporary tests
5582
 
      directories without running tests. (Alexander Belchenko)
5583
 
 
5584
 
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
5585
 
 
5586
 
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
5587
 
      local is fully merged into remote. (Jan Hudec)
5588
 
 
5589
 
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
5590
 
 
5591
 
  INTERNALS:
5592
 
 
5593
 
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
5594
 
      help speed up processing, as well allowing to extract unannotated
5595
 
      lines. Between the two ``fileids_affected_by_revision_ids`` is
5596
 
      improved by approx 10%. (John Arbash Meinel)
5597
 
 
5598
 
    * Change Revision serialization to only write out millisecond
5599
 
      resolution. Rather than expecting floating point serialization to
5600
 
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
5601
 
 
5602
 
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
5603
 
 
5604
 
    * When ``encoding_type`` attribute of class Command is equal to 'exact',
5605
 
      force sys.stdout to be a binary stream on Windows, and therefore
5606
 
      keep exact line-endings (without LF -> CRLF conversion).
5607
 
      (Alexander Belchenko)
5608
 
 
5609
 
    * Single-letter short options are no longer globally declared.  (Martin
5610
 
      Pool)
5611
 
 
5612
 
    * Before using detected user/terminal encoding bzr should check
5613
 
      that Python has corresponding codec. (Alexander Belchenko)
5614
 
 
5615
 
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
5616
 
 
5617
 
  BUG FIXES:
5618
 
 
5619
 
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
5620
 
      direction. (John Arbash Meinel)
5621
 
 
5622
 
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
5623
 
      revisions. It cuts them off at a depth of 12 characters, but you can
5624
 
      supply ``--long`` to see the full number. You can also use
5625
 
      ``--show-ids`` to display the original revision ids, rather than
5626
 
      revision numbers and committer names. (John Arbash Meinel, #75637)
5627
 
 
5628
 
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
5629
 
      (Alexander Belchenko, #57869)
5630
 
 
5631
 
    * Win32-specific: output of cat, bundle and diff commands don't mangle
5632
 
      line-endings (Alexander Belchenko, #55276)
5633
 
 
5634
 
    * Replace broken fnmatch based ignore pattern matching with custom pattern
5635
 
      matcher.
5636
 
      (Kent Gibson, Jan Hudec #57637)
5637
 
 
5638
 
    * pycurl and urllib can detect short reads at different places. Update
5639
 
      the test suite to test more cases. Also detect http error code 416
5640
 
      which was raised for that specific bug. Also enhance the urllib
5641
 
      robustness by detecting invalid ranges (and pycurl's one by detecting
5642
 
      short reads during the initial GET). (Vincent Ladeuil, #73948)
5643
 
 
5644
 
    * The urllib connection sharing interacts badly with urllib2
5645
 
      proxy setting (the connections didn't go thru the proxy
5646
 
      anymore). Defining a proper ProxyHandler solves the
5647
 
      problem.  (Vincent Ladeuil, #74759)
5648
 
 
5649
 
    * Use urlutils to generate relative URLs, not osutils
5650
 
      (Aaron Bentley, #76229)
5651
 
 
5652
 
    * ``bzr status`` in a readonly directory should work without giving
5653
 
      lots of errors. (John Arbash Meinel, #76299)
5654
 
 
5655
 
    * Mention the revisionspec topic for the revision option help.
5656
 
      (Wouter van Heyst, #31663)
5657
 
 
5658
 
    * Allow plugins import from zip archives.
5659
 
      (Alexander Belchenko, #68124)
5660
 
 
5661
 
 
5662
 
bzr 0.13  2006-12-05
5663
 
--------------------
5664
 
 
5665
 
  No changes from 0.13rc1
5666
 
 
5667
 
bzr 0.13rc1  2006-11-27
5668
 
-----------------------
5669
 
 
5670
 
  IMPROVEMENTS:
5671
 
 
5672
 
    * New command ``bzr remove-tree`` allows the removal of the working
5673
 
      tree from a branch.
5674
 
      (Daniel Silverstone)
5675
 
 
5676
 
    * urllib uses shared keep-alive connections, so http
5677
 
      operations are substantially faster.
5678
 
      (Vincent Ladeuil, #53654)
5679
 
 
5680
 
    * ``bzr export`` allows an optional branch parameter, to export a bzr
5681
 
      tree from some other url. For example:
5682
 
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
5683
 
      (Daniel Silverstone)
5684
 
 
5685
 
    * Added ``bzr help topics`` to the bzr help system. This gives a
5686
 
      location for general information, outside of a specific command.
5687
 
      This includes updates for ``bzr help revisionspec`` the first topic
5688
 
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5689
 
 
5690
 
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
5691
 
      (Andrew Bennetts)
5692
 
 
5693
 
    * Knit files will now cache full texts only when the size of the
5694
 
      deltas is as large as the size of the fulltext. (Or after 200
5695
 
      deltas, whichever comes first). This has the most benefit on large
5696
 
      files with small changes, such as the inventory for a large project.
5697
 
      (eg For a project with 2500 files, and 7500 revisions, it changes
5698
 
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5699
 
 
5700
 
  INTERNALS:
5701
 
 
5702
 
    * New -D option given before the command line turns on debugging output
5703
 
      for particular areas.  -Derror shows tracebacks on all errors.
5704
 
      (Martin Pool)
5705
 
 
5706
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5707
 
      and remove benchmarks that take longer than 10min to run.
5708
 
      (John Arbash Meinel)
5709
 
 
5710
 
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
5711
 
      progress throttling. Because ``time.clock()`` is actually CPU time,
5712
 
      so over a high-latency connection, too many updates get throttled.
5713
 
      (John Arbash Meinel)
5714
 
 
5715
 
    * ``MemoryTransport.list_dir()`` would strip the first character for
5716
 
      files or directories in root directory. (John Arbash Meinel)
5717
 
 
5718
 
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of
5719
 
      branch references - which the smart server component needs.
5720
 
 
5721
 
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5722
 
      prefix.  It disallows any access to locations above a set URL.  (Andrew
5723
 
      Bennetts)
5724
 
 
5725
 
  BUG FIXES:
5726
 
 
5727
 
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
5728
 
      And optimize the knit index parsing code.
5729
 
      (Dmitry Vasiliev, John Arbash Meinel)
5730
 
 
5731
 
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5732
 
      without importing it. This prevented ``bzr upgrade`` from working
5733
 
      unless a plugin already imported ``bzrlib.workingtree``
5734
 
      (John Arbash Meinel, #70716)
5735
 
 
5736
 
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5737
 
 
5738
 
    * Give nicer error message when an http server returns a 403
5739
 
      error code. (Vincent Ladeuil, #57644).
5740
 
 
5741
 
    * When a multi-range http GET request fails, try a single
5742
 
      range one. If it fails too, forget about ranges. Remember that until
5743
 
      the death of the transport and propagates that to the clones.
5744
 
      (Vincent Ladeuil, #62276, #62029).
5745
 
 
5746
 
    * Handles user/passwords supplied in url from command
5747
 
      line (for the urllib implementation). Don't request already
5748
 
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5749
 
 
5750
 
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5751
 
      are added. This fixes bug where fetching remote revisions records
5752
 
      them as full references rather than integers.
5753
 
      (John Arbash Meinel, #64789)
5754
 
 
5755
 
    * ``bzr ignore`` strips trailing slashes in patterns.
5756
 
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5757
 
 
5758
 
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5759
 
 
5760
 
    * mv correctly handles paths that traverse symlinks.
5761
 
      (Aaron Bentley, #66964)
5762
 
 
5763
 
    * Give nicer looking error messages when failing to connect over ssh.
5764
 
      (John Arbash Meinel, #49172)
5765
 
 
5766
 
    * Pushing to a remote branch does not currently update the remote working
5767
 
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5768
 
      machine now show that the working tree is out of date.
5769
 
      (Cheuksan Edward Wang #48136)
5770
 
 
5771
 
    * Use patiencediff instead of difflib for determining deltas to insert
5772
 
      into knits. This avoids the O(N^3) behavior of difflib. Patience
5773
 
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5774
 
 
5775
 
    * Running ``bzr log`` on nonexistent file gives an error instead of the
5776
 
      entire log history. (Cheuksan Edward Wang #50793)
5777
 
 
5778
 
    * ``bzr cat`` can look up contents of removed or renamed files. If the
5779
 
      pathname is ambiguous, i.e. the files in the old and new trees have
5780
 
      different id's, the default is the file in the new tree. The user can
5781
 
      use "--name-from-revision" to select the file in the old tree.
5782
 
      (Cheuksan Edward Wang, #30190)
5783
 
 
5784
 
  TESTING:
5785
 
 
5786
 
    * TestingHTTPRequestHandler really handles the Range header
5787
 
      (previously it was ignoring it and returning the whole file,).
5788
 
 
5789
 
bzr 0.12  2006-10-30
5790
 
--------------------
5791
 
 
5792
 
  INTERNALS:
5793
 
 
5794
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5795
 
      and remove benchmarks that take longer than 10min to run.
5796
 
      (John Arbash Meinel)
5797
 
 
5798
 
bzr 0.12rc1  2006-10-23
5799
 
-----------------------
5800
 
 
5801
 
  IMPROVEMENTS:
5802
 
 
5803
 
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5804
 
      rather than just showing a decimal revision number for revisions on the
5805
 
      mainline. These revision numbers are not yet accepted as input into bzr
5806
 
      commands such as log, diff etc. (Robert Collins)
5807
 
 
5808
 
    * revisions can now be specified using dotted-decimal revision numbers.
5809
 
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5810
 
 
5811
 
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
5812
 
 
5813
 
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
5814
 
      a moderate effect on lots of actions, especially ones that have
5815
 
      little to do. For example ``bzr rocks`` time is down to 116ms from
5816
 
      283ms. (John Arbash Meinel)
5817
 
 
5818
 
    * New Registry class to provide name-to-object registry-like support,
5819
 
      for example for schemes where plugins can register new classes to
5820
 
      do certain tasks (e.g. log formatters). Also provides lazy registration
5821
 
      to allow modules to be loaded on request.
5822
 
      (John Arbash Meinel, Adeodato Simó)
5823
 
 
5824
 
  API INCOMPATABILITY:
5825
 
 
5826
 
    * LogFormatter subclasses show now expect the 'revno' parameter to
5827
 
      show() to be a string rather than an int. (Robert Collins)
5828
 
 
5829
 
  INTERNALS:
5830
 
 
5831
 
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5832
 
      can take a ``working_dir='foo'`` parameter, which will change directory
5833
 
      for the command. (John Arbash Meinel)
5834
 
 
5835
 
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5836
 
      around a regex, which defers compilation until first use.
5837
 
      (John Arbash Meinel)
5838
 
 
5839
 
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
5840
 
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
5841
 
      problems with system-wide installed plugins. (John Arbash Meinel)
5842
 
 
5843
 
    * Unique tree root ids are now supported. Newly created trees still
5844
 
      use the common root id for compatibility with bzr versions before 0.12.
5845
 
      (Aaron Bentley)
5846
 
 
5847
 
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5848
 
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
5849
 
      (Robert Collins, John Arbash Meinel)
5850
 
 
5851
 
    * New method ``WorkingTree.flush()`` which will write the current memory
5852
 
      inventory out to disk. At the same time, ``read_working_inventory`` will
5853
 
      no longer trash the current tree inventory if it has been modified within
5854
 
      the current lock, and the tree will now ``flush()`` automatically on
5855
 
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5856
 
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
5857
 
 
5858
 
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5859
 
      parameter will cause it to add another column to its output, which
5860
 
      contains the dotted-decimal revno for each revision, as a tuple.
5861
 
      (Robert Collins)
5862
 
 
5863
 
    * ``LogFormatter.show_merge`` is deprecated in favour of
5864
 
      ``LogFormatter.show_merge_revno``. (Robert Collins)
5865
 
 
5866
 
  BUG FIXES:
5867
 
 
5868
 
    * Avoid circular imports by creating a deprecated function for
5869
 
      ``bzrlib.tree.RevisionTree``. Callers should have been using
5870
 
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5871
 
      #63360, #66349)
5872
 
 
5873
 
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5874
 
      platforms. (Martin Pool, #66356)
5875
 
 
5876
 
    * Don't require ``Content-Type`` in range responses. Assume they are a
5877
 
      single range if ``Content-Type`` does not exist.
5878
 
      (John Arbash Meinel, #62473)
5879
 
 
5880
 
    * bzr branch/pull no longer complain about progress bar cleanup when
5881
 
      interrupted during fetch.  (Aaron Bentley, #54000)
5882
 
 
5883
 
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5884
 
      the basis inventory, rather than going through the repository. This
5885
 
      allows us to have 1 inventory read, and 2 inventory writes when
5886
 
      committing a new tree. (John Arbash Meinel)
5887
 
 
5888
 
    * When reverting, files that are not locally modified that do not exist
5889
 
      in the target are deleted, not just unversioned (Aaron Bentley)
5890
 
 
5891
 
    * When trying to acquire a lock, don't fail immediately. Instead, try
5892
 
      a few times (up to 1 hour) before timing out. Also, report why the
5893
 
      lock is unavailable (John Arbash Meinel, #43521, #49556)
5894
 
 
5895
 
    * Leave HttpTransportBase daughter classes decides how they
5896
 
      implement cloning. (Vincent Ladeuil, #61606)
5897
 
 
5898
 
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5899
 
 
5900
 
    * If a commit fails, the commit message is stored in a file at the root of
5901
 
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5902
 
      #32054)
5903
 
 
5904
 
  TESTING:
5905
 
 
5906
 
    * New test base class TestCaseWithMemoryTransport offers memory-only
5907
 
      testing facilities: its not suitable for tests that need to mutate disk
5908
 
      state, but most tests should not need that and should be converted to
5909
 
      TestCaseWithMemoryTransport. (Robert Collins)
5910
 
 
5911
 
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
5912
 
      option to set the BzrDir, Repository and Branch formats of the
5913
 
      created objects. (Robert Collins, John Arbash Meinel)
5914
 
 
5915
 
bzr 0.11  2006-10-02
5916
 
--------------------
5917
 
 
5918
 
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5919
 
 
5920
 
bzr 0.11rc2  2006-09-27
5921
 
-----------------------
5922
 
 
5923
 
  BUG FIXES:
5924
 
 
5925
 
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5926
 
 
5927
 
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5928
 
      Arbash Meinel).
5929
 
 
5930
 
bzr 0.11rc1  2006-09-25
5931
 
-----------------------
5932
 
 
5933
 
  IMPROVEMENTS:
5934
 
 
5935
 
    * Knit files now wait to create their contents until the first data is
5936
 
      added. The old code used to create an empty .knit and a .kndx with just
5937
 
      the header. However, this caused a lot of extra round trips over sftp.
5938
 
      This can change the time for ``bzr push`` to create a new remote branch
5939
 
      from 160s down to 100s. This also affects ``bzr commit`` performance when
5940
 
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5941
 
      down to 40s (John Arbash Meinel, #44692)
5942
 
 
5943
 
    * When an entire subtree has been deleted, commit will now report that
5944
 
      just the top of the subtree has been deleted, rather than reporting
5945
 
      all the individual items. (Robert Collins)
5946
 
 
5947
 
    * Commit performs one less XML parse. (Robert Collins)
5948
 
 
5949
 
    * ``bzr checkout`` now operates on readonly branches as well
5950
 
      as readwrite branches. This fixes bug #39542. (Robert Collins)
5951
 
 
5952
 
    * ``bzr bind`` no longer synchronises history with the master branch.
5953
 
      Binding should be followed by an update or push to synchronise the
5954
 
      two branches. This is closely related to the fix for bug #39542.
5955
 
      (Robert Collins)
5956
 
 
5957
 
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5958
 
      objects.  This allows all imports to stay at the global scope, but
5959
 
      modules will not actually be imported if they are not used.
5960
 
      (John Arbash Meinel)
5961
 
 
5962
 
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5963
 
      transport which will be used with the upcoming high-performance smart
5964
 
      server. The new command ``bzr serve`` will invoke bzr in server mode,
5965
 
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5966
 
      Pool)
5967
 
 
5968
 
    * New command ``bzr version-info`` which can be used to get a summary
5969
 
      of the current state of the tree. This is especially useful as part
5970
 
      of a build commands. See ``doc/version_info.txt`` for more information
5971
 
      (John Arbash Meinel)
5972
 
 
5973
 
  BUG FIXES:
5974
 
 
5975
 
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5976
 
      specific set of files. (John Arbash Meinel, #3631)
5977
 
 
5978
 
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
5979
 
 
5980
 
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5981
 
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5982
 
      reading a nested Stanza. (John Arbash Meinel)
5983
 
 
5984
 
    * Transform._set_mode() needs to stat the right file.
5985
 
      (John Arbash Meinel, #56549)
5986
 
 
5987
 
    * Raise WeaveFormatError rather than StopIteration when trying to read
5988
 
      an empty Weave file. (John Arbash Meinel, #46871)
5989
 
 
5990
 
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5991
 
      (Vincent Ladeuil, #59835)
5992
 
 
5993
 
    * Handle boundary="" lines properly to allow access through a Squid proxy.
5994
 
      (John Arbash Meinel, #57723)
5995
 
 
5996
 
    * revert now removes newly-added directories (Aaron Bentley, #54172)
5997
 
 
5998
 
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5999
 
      isn't a working tree. (David Allouche, #40679)
6000
 
 
6001
 
    * Give nicer error messages when a user supplies an invalid --revision
6002
 
      parameter. (John Arbash Meinel, #55420)
6003
 
 
6004
 
    * Handle when LANG is not recognized by python. Emit a warning, but
6005
 
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
6006
 
 
6007
 
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
6008
 
      (John Arbash Meinel)
6009
 
 
6010
 
    * Skip specific tests when the dependencies aren't met. This includes
6011
 
      some ``setup.py`` tests when ``python-dev`` is not available, and
6012
 
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
6013
 
 
6014
 
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
6015
 
      the system. (Andrew Bennetts, John Arbash Meinel)
6016
 
 
6017
 
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
6018
 
      other branch, and will not push or pull between the two branches.
6019
 
      API users will need to perform a push or pull or update operation if they
6020
 
      require branch synchronisation to take place. (Robert Collins, #47344)
6021
 
 
6022
 
    * When creating a tarball or zipfile export, export unicode names as utf-8
6023
 
      paths. This may not work perfectly on all platforms, but has the best
6024
 
      chance of working in the common case. (John Arbash Meinel, #56816)
6025
 
 
6026
 
    * When committing, only files that exist in working tree or basis tree
6027
 
      may be specified (Aaron Bentley, #50793)
6028
 
 
6029
 
  PORTABILITY:
6030
 
 
6031
 
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
6032
 
 
6033
 
  INTERNALS:
6034
 
 
6035
 
    * TestCaseInTempDir now creates a separate directory for HOME, rather
6036
 
      than having HOME set to the same location as the working directory.
6037
 
      (John Arbash Meinel)
6038
 
 
6039
 
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
6040
 
      which will update os.environ inside the spawned child. It also can
6041
 
      take a ``universal_newlines=True``, which helps when checking the output
6042
 
      of the command. (John Arbash Meinel)
6043
 
 
6044
 
    * Refactor SFTP vendors to allow easier re-use when ssh is used.
6045
 
      (Andrew Bennetts)
6046
 
 
6047
 
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
6048
 
      return urlescaped paths. This is now tested (there were bugs in a few
6049
 
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
6050
 
 
6051
 
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
6052
 
      formatted string for a callable, deprecation format pair. (Robert Collins)
6053
 
 
6054
 
    * New TestCase helper applyDeprecated. This allows you to call a callable
6055
 
      which is deprecated without it spewing to the screen, just by supplying
6056
 
      the deprecation format string issued for it. (Robert Collins)
6057
 
 
6058
 
    * Transport.append and Transport.put have been deprecated in favor of
6059
 
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
6060
 
      ``.put_file``. This removes the ambiguity in what type of object the
6061
 
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
6062
 
      been added. Which works similarly to ``Transport.append()`` except for
6063
 
      SFTP, it doesn't have a round trip when opening the file. Also, it
6064
 
      provides functionality for creating a parent directory when trying
6065
 
      to create a file, rather than raise NoSuchFile and forcing the
6066
 
      caller to repeat their request.
6067
 
      (John Arbash Meinel)
6068
 
 
6069
 
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
6070
 
      entries by their file id. (Robert Collins)
6071
 
 
6072
 
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
6073
 
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
6074
 
 
6075
 
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
6076
 
      read rather than write. This is appropriate for actions which only need
6077
 
      the branch data for reference rather than mutation. A new decorator
6078
 
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
6079
 
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
6080
 
      declaration of the locking requirements of a function to ensure that
6081
 
      a lock is taken out for casual scripts. (Robert Collins, #54107)
6082
 
 
6083
 
    * All WorkingTree methods which write to the tree, but not to the branch
6084
 
      have been converted to use ``needs_tree_write_lock`` rather than
6085
 
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
6086
 
      transform modules. This provides a modest performance improvement on
6087
 
      metadir style trees, due to the reduce lock-acquisition, and a more
6088
 
      significant performance improvement on lightweight checkouts from
6089
 
      remote branches, where trivial operations used to pay a significant
6090
 
      penalty. It also provides the basis for allowing readonly checkouts.
6091
 
      (Robert Collins)
6092
 
 
6093
 
    * Special case importing the standard library 'copy' module. This shaves
6094
 
      off 40ms of startup time, while retaining compatibility. See:
6095
 
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
6096
 
 
6097
 
    * WorkingTree has a new parent class MutableTree which represents the
6098
 
      specialisations of Tree which are able to be altered. (Robert Collins)
6099
 
 
6100
 
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
6101
 
      mutate the tree and its contents. (Robert Collins)
6102
 
 
6103
 
    * Transport behaviour at the root of the URL is now defined and tested.
6104
 
      (Andrew Bennetts, Robert Collins)
6105
 
 
6106
 
  TESTING:
6107
 
 
6108
 
    * New test helper classs MemoryTree. This is typically accessed via
6109
 
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
6110
 
 
6111
 
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
6112
 
      code to continue running concurrently with a subprocess of bzr.
6113
 
      (Andrew Bennetts, Robert Collins)
6114
 
 
6115
 
    * Add a new method ``Transport.get_smart_client()``. This is provided to
6116
 
      allow upgrades to a richer interface than the VFS one provided by
6117
 
      Transport. (Andrew Bennetts, Martin Pool)
6118
 
 
6119
 
bzr 0.10  2006-08-29
6120
 
--------------------
6121
 
 
6122
 
  IMPROVEMENTS:
6123
 
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
6124
 
      tree.  (Aaron Bentley)
6125
 
 
6126
 
    * 'bzr add --file-ids-from' can be used to specify another path to use
6127
 
      for creating file ids, rather than generating all new ones. Internally,
6128
 
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
6129
 
      will be used, rather than having bzrlib generate new ones.
6130
 
      (John Arbash Meinel, #55781)
6131
 
 
6132
 
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
6133
 
      This will cache some of the intermediate trees, and decrease the
6134
 
      setup time for benchmark tests. (John Arbash Meinel)
6135
 
 
6136
 
    * Inverse forms are provided for all boolean options.  For example,
6137
 
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
6138
 
 
6139
 
    * Serialize out Inventories directly, rather than using ElementTree.
6140
 
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
6141
 
      (Robert Collins, John Arbash Meinel)
6142
 
 
6143
 
  BUG FIXES:
6144
 
 
6145
 
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
6146
 
 
6147
 
    * Change LockDir so that if the lock directory doesn't exist when
6148
 
      ``lock_write()`` is called, an attempt will be made to create it.
6149
 
      (John Arbash Meinel, #56974)
6150
 
 
6151
 
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
6152
 
 
6153
 
    * Active FTP transport now works as intended. (ghozzy, #56472)
6154
 
 
6155
 
    * Really fix mutter() so that it won't ever raise a UnicodeError.
6156
 
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
6157
 
      But it is a debugging log, not a real user file.
6158
 
      (John Arbash Meinel, #56947, #53880)
6159
 
 
6160
 
    * Change Command handle to allow Unicode command and options.
6161
 
      At present we cannot register Unicode command names, so we will get
6162
 
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
6163
 
      But that is better than a UnicodeError + a traceback.
6164
 
      (John Arbash Meinel, #57123)
6165
 
 
6166
 
    * Handle TZ=UTC properly when reading/writing revisions.
6167
 
      (John Arbash Meinel, #55783, #56290)
6168
 
 
6169
 
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
6170
 
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
6171
 
 
6172
 
    * External diff does the right thing for binaries even in foreign
6173
 
      languages. (John Arbash Meinel, #56307)
6174
 
 
6175
 
    * Testament handles more cases when content is unicode. Specific bug was
6176
 
      in handling of revision properties.
6177
 
      (John Arbash Meinel, Holger Krekel, #54723)
6178
 
 
6179
 
    * The bzr selftest was failing on installed versions due to a bug in a new
6180
 
      test helper. (John Arbash Meinel, Robert Collins, #58057)
6181
 
 
6182
 
  INTERNALS:
6183
 
 
6184
 
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
6185
 
      which can be used to cache the conversion between utf8 and Unicode.
6186
 
      Especially helpful for some of the knit annotation code, which has to
6187
 
      convert revision ids to utf8 to annotate lines in storage.
6188
 
      (John Arbash Meinel)
6189
 
 
6190
 
    * ``setup.py`` now searches the filesystem to find all packages which
6191
 
      need to be installed. This should help make the life of packagers
6192
 
      easier. (John Arbash Meinel)
6193
 
 
6194
 
bzr 0.9.0  2006-08-11
6195
 
---------------------
6196
 
 
6197
 
  SURPRISES:
6198
 
 
6199
 
   * The hard-coded built-in ignore rules have been removed. There are
6200
 
     now two rulesets which are enforced. A user global one in
6201
 
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
6202
 
     specific one '.bzrignore'.
6203
 
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
6204
 
     a more conservative list than the old default.
6205
 
     This fixes bugs with default rules being enforced no matter what.
6206
 
     The old list of ignore rules from bzr is available by
6207
 
     running 'bzr ignore --old-default-rules'.
6208
 
     (Robert Collins, Martin Pool, John Arbash Meinel)
6209
 
 
6210
 
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
6211
 
     to more locations than just branch locations.
6212
 
     (Aaron Bentley)
6213
 
 
6214
 
  IMPROVEMENTS:
6215
 
 
6216
 
   * The revision specifier "revno:" is extended to accept the syntax
6217
 
     revno:N:branch. For example,
6218
 
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
6219
 
     bzr.dev.  (Matthieu Moy)
6220
 
 
6221
 
   * Tests updates to ensure proper URL handling, UNICODE support, and
6222
 
     proper printing when the user's terminal encoding cannot display
6223
 
     the path of a file that has been versioned.
6224
 
     ``bzr branch`` can take a target URL rather than only a local directory.
6225
 
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
6226
 
     and normalize the parent based on root, allowing access across
6227
 
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
6228
 
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
6229
 
     #42517, #42514)
6230
 
 
6231
 
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
6232
 
     Use terminal width for single-line logs from ``bzr log --line`` and
6233
 
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
6234
 
     (Malone #3507)
6235
 
 
6236
 
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
6237
 
     (Alexander Belchenko)
6238
 
 
6239
 
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
6240
 
 
6241
 
   * Show the correct number of revisions pushed when pushing a new branch.
6242
 
     (Robert Collins).
6243
 
 
6244
 
   * 'bzr selftest' now shows a progress bar with the number of tests, and
6245
 
     progress made. 'make check' shows tests in -v mode, to be more useful
6246
 
     for the PQM status window. (Robert Collins).
6247
 
     When using a progress bar, failed tests are printed out, rather than
6248
 
     being overwritten by the progress bar until the suite finishes.
6249
 
     (John Arbash Meinel)
6250
 
 
6251
 
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
6252
 
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
6253
 
     profile data for the individual profiled calls, allowing for fine
6254
 
     grained analysis of performance.
6255
 
     (Robert Collins, Martin Pool).
6256
 
 
6257
 
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
6258
 
     where commit can take an appreciable time. (Robert Collins)
6259
 
 
6260
 
   * 'bzr add' is now less verbose in telling you what ignore globs were
6261
 
     matched by files being ignored. Instead it just tells you how many
6262
 
     were ignored (because you might reasonably be expecting none to be
6263
 
     ignored). 'bzr add -v' is unchanged and will report every ignored
6264
 
     file. (Robert Collins).
6265
 
 
6266
 
   * ftp now has a test server if medusa is installed. As part of testing,
6267
 
     ftp support has been improved, including support for supplying a
6268
 
     non-standard port. (John Arbash Meinel).
6269
 
 
6270
 
   * 'bzr log --line' shows the revision number, and uses only the
6271
 
     first line of the log message (#5162, Alexander Belchenko;
6272
 
     Matthieu Moy)
6273
 
 
6274
 
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
6275
 
     should be used to retrieve all versioned files. (Robert Collins)
6276
 
 
6277
 
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
6278
 
     over email, and applied on the other end, while maintaining ancestry.
6279
 
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
6280
 
     the same way you would apply another branch.
6281
 
     (John Arbash Meinel, Aaron Bentley)
6282
 
 
6283
 
   * 'bzr whoami' can now be used to set your identity from the command line,
6284
 
     for a branch or globally.  (Robey Pointer)
6285
 
 
6286
 
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
6287
 
     (Michael Ellerman)
6288
 
 
6289
 
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
6290
 
     (Aaron Bentley)
6291
 
 
6292
 
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
6293
 
     Also updates things like 'http+pycurl://' if pycurl is not present.
6294
 
     (John Arbash Meinel) (Malone #47821, #52204)
6295
 
 
6296
 
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
6297
 
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
6298
 
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
6299
 
 
6300
 
   * Improve the help text for 'bzr diff' to explain what various options do.
6301
 
     (John Arbash Meinel, #6391)
6302
 
 
6303
 
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
6304
 
     revision 10. This makes -r10 more in line with what other commands do.
6305
 
     'bzr uncommit' also now saves the pending merges of the revisions that
6306
 
     were removed. So it is safe to uncommit after a merge, fix something,
6307
 
     and commit again. (John Arbash Meinel, #32526, #31426)
6308
 
 
6309
 
   * 'bzr init' now also works on remote locations.
6310
 
     (Wouter van Heyst, #48904)
6311
 
 
6312
 
   * HTTP support has been updated. When using pycurl we now support
6313
 
     connection keep-alive, which reduces dns requests and round trips.
6314
 
     And for both urllib and pycurl we support multi-range requests,
6315
 
     which decreases the number of round-trips. Performance results for
6316
 
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
6317
 
     http branching is now 2-3x faster, and ``bzr pull`` in an existing
6318
 
     branch is as much as 4x faster.
6319
 
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
6320
 
 
6321
 
   * Performance improvements for sftp. Branching and pulling are now up to
6322
 
     2x faster. Utilize paramiko.readv() support for async requests if it
6323
 
     is available (paramiko > 1.6) (John Arbash Meinel)
6324
 
 
6325
 
  BUG FIXES:
6326
 
 
6327
 
    * Fix shadowed definition of TestLocationConfig that caused some
6328
 
      tests not to run.
6329
 
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
6330
 
 
6331
 
    * Fix unnecessary requirement of sign-my-commits that it be run from
6332
 
      a working directory.  (Martin Pool, Robert Collins)
6333
 
 
6334
 
    * 'bzr push location' will only remember the push location if it succeeds
6335
 
      in connecting to the remote location. (John Arbash Meinel, #49742)
6336
 
 
6337
 
    * 'bzr revert' no longer toggles the executable bit on win32
6338
 
      (John Arbash Meinel, #45010)
6339
 
 
6340
 
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
6341
 
 
6342
 
    * sftp tests now work correctly on win32 if you have a newer paramiko
6343
 
      (John Arbash Meinel)
6344
 
 
6345
 
    * Cleanup win32 test suite, and general cleanup of places where
6346
 
      file handles were being held open. (John Arbash Meinel)
6347
 
 
6348
 
    * When specifying filenames for 'diff -r x..y', the name of the file in the
6349
 
      working directory can be used, even if its name is different in both x
6350
 
      and y.
6351
 
 
6352
 
    * File-ids containing single- or double-quotes are handled correctly by
6353
 
      push. (Aaron Bentley, #52227)
6354
 
 
6355
 
    * Normalize unicode filenames to ensure cross-platform consistency.
6356
 
      (John Arbash Meinel, #43689)
6357
 
 
6358
 
    * The argument parser can now handle '-' as an argument. Currently
6359
 
      no code interprets it specially (it is mostly handled as a file named
6360
 
      '-'). But plugins, and future operations can use it.
6361
 
      (John Arbash meinel, #50984)
6362
 
 
6363
 
    * Bundles can properly read binary files with a plain '\r' in them.
6364
 
      (John Arbash Meinel, #51927)
6365
 
 
6366
 
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
6367
 
 
6368
 
    * Lots of win32 fixes (the test suite passes again).
6369
 
      (John Arbash Meinel, #50155)
6370
 
 
6371
 
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
6372
 
 
6373
 
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
6374
 
 
6375
 
    * Removals are only committed if they match the filespec (or if there is
6376
 
      no filespec).  (#46635, Aaron Bentley)
6377
 
 
6378
 
    * smart-add recurses through all supplied directories
6379
 
      (John Arbash Meinel, #52578)
6380
 
 
6381
 
    * Make the bundle reader extra lines before and after the bundle text.
6382
 
      This allows you to parse an email with the bundle inline.
6383
 
      (John Arbash Meinel, #49182)
6384
 
 
6385
 
    * Change the file id generator to squash a little bit more. Helps when
6386
 
      working with long filenames on windows. (Also helps for unicode filenames
6387
 
      not generating hidden files). (John Arbash Meinel, #43801)
6388
 
 
6389
 
    * Restore terminal mode on C-c while reading sftp password.  (#48923,
6390
 
      Nicholas Allen, Martin Pool)
6391
 
 
6392
 
    * Timestamps are rounded to 1ms, and revision entries can be recreated
6393
 
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
6394
 
 
6395
 
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
6396
 
      use local paths, since it is user visible (John Arbash Meinel, #53653)
6397
 
 
6398
 
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
6399
 
      to be generated (John Arbash Meinel, #53638)
6400
 
 
6401
 
    * When reading revision properties, an empty value should be considered
6402
 
      the empty string, not None (John Arbash Meinel, #47782)
6403
 
 
6404
 
    * ``bzr diff --diff-options`` can now handle binary files being changed.
6405
 
      Also, the output is consistent when --diff-options is not supplied.
6406
 
      (John Arbash Meinel, #54651, #52930)
6407
 
 
6408
 
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
6409
 
 
6410
 
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not
6411
 
      accessible (John Arbash Meinel, #52976)
6412
 
 
6413
 
  INTERNALS:
6414
 
 
6415
 
    * Combine the ignore rules into a single regex rather than looping over
6416
 
      them to reduce the threshold where  N^2 behaviour occurs in operations
6417
 
      like status. (Jan Hudec, Robert Collins).
6418
 
 
6419
 
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
6420
 
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
6421
 
 
6422
 
    * 'bzr push' should only push the ancestry of the current revision, not
6423
 
      all of the history in the repository. This is especially important for
6424
 
      shared repositories. (John Arbash Meinel)
6425
 
 
6426
 
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
6427
 
      rather than randomly walking the inventories. (John Arbash Meinel)
6428
 
 
6429
 
    * Doctests are now run in temporary directories which are cleaned up when
6430
 
      they finish, rather than using special ScratchDir/ScratchBranch objects.
6431
 
      (Martin Pool)
6432
 
 
6433
 
    * Split ``check`` into separate methods on the branch and on the repository,
6434
 
      so that it can be specialized in ways that are useful or efficient for
6435
 
      different formats.  (Martin Pool, Robert Collins)
6436
 
 
6437
 
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
6438
 
      the global revision graph but only that part leading up to a particular
6439
 
      revision.  (Martin Pool, Robert Collins)
6440
 
 
6441
 
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
6442
 
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
6443
 
      (Robert Collins, Jelmer Vernooij).
6444
 
 
6445
 
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
6446
 
      Uses subprocess instead of spawnvp.
6447
 
      (James Henstridge, John Arbash Meinel, #4047, #48914)
6448
 
 
6449
 
    * New command line option '--profile-imports', which will install a custom
6450
 
      importer to log time to import modules and regex compilation time to
6451
 
      sys.stderr (John Arbash Meinel)
6452
 
 
6453
 
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
6454
 
      instead. (Robert Collins)
6455
 
 
6456
 
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
6457
 
 
6458
 
bzr 0.8.2  2006-05-17
6459
 
---------------------
6460
 
 
6461
 
  BUG FIXES:
6462
 
 
6463
 
    * setup.py failed to install launchpad plugin.  (Martin Pool)
6464
 
 
6465
 
bzr 0.8.1  2006-05-16
6466
 
---------------------
6467
 
 
6468
 
  BUG FIXES:
6469
 
 
6470
 
    * Fix failure to commit a merge in a checkout.  (Martin Pool,
6471
 
      Robert Collins, Erik Bågfors, #43959)
6472
 
 
6473
 
    * Nicer messages from 'commit' in the case of renames, and correct
6474
 
      messages when a merge has occured. (Robert Collins, Martin Pool)
6475
 
 
6476
 
    * Separate functionality from assert statements as they are skipped in
6477
 
      optimized mode of python. Add the same check to pending merges.
6478
 
      (Olaf Conradi, #44443)
6479
 
 
6480
 
  CHANGES:
6481
 
 
6482
 
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
6483
 
 
6484
 
    * Add info on standalone branches without a working tree.
6485
 
      (Olaf Conradi, #44155)
6486
 
 
6487
 
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
6488
 
 
6489
 
  CHANGES:
6490
 
 
6491
 
    * Make editor invocation comply with Debian Policy. First check
6492
 
      environment variables VISUAL and EDITOR, then try editor from
6493
 
      alternatives system. If that all fails, fall back to the pre-defined
6494
 
      list of editors. (Olaf Conradi, #42904)
6495
 
 
6496
 
  NEW FEATURES:
6497
 
 
6498
 
    * New 'register-branch' command registers a public branch into
6499
 
      Launchpad.net, where it can be associated with bugs, etc.
6500
 
      (Martin Pool, Bjorn Tillenius, Robert Collins)
6501
 
 
6502
 
  INTERNALS:
6503
 
 
6504
 
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
6505
 
      provides a human description of the changes between two old and
6506
 
      new. (Robert Collins, Martin Pool)
6507
 
 
6508
 
  TESTING:
6509
 
 
6510
 
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
6511
 
      uses bzrlib api now. (Olaf Conradi)
6512
 
 
6513
 
bzr 0.8  2006-05-08
6514
 
-------------------
6515
 
 
6516
 
  NOTES WHEN UPGRADING:
6517
 
 
6518
 
    Release 0.8 of bzr introduces a new format for history storage, called
6519
 
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local
6520
 
    and remote operations are faster using knits than weaves.  Several
6521
 
    operations including 'init', 'init-repo', and 'upgrade' take a
6522
 
    --format option that controls this.  Branching from an existing branch
6523
 
    will keep the same format.
6524
 
 
6525
 
    It is possible to merge, pull and push between branches of different
6526
 
    formats but this is slower than moving data between homogenous
6527
 
    branches.  It is therefore recommended (but not required) that you
6528
 
    upgrade all branches for a project at the same time.  Information on
6529
 
    formats is shown by 'bzr info'.
6530
 
 
6531
 
    bzr 0.8 now allows creation of 'repositories', which hold the history
6532
 
    of files and revisions for several branches.  Previously bzr kept all
6533
 
    the history for a branch within the .bzr directory at the root of the
6534
 
    branch, and this is still the default.  To create a repository, use
6535
 
    the new 'bzr init-repo' command.  Branches exist as directories under
6536
 
    the repository and contain just a small amount of information
6537
 
    indicating the current revision of the branch.
6538
 
 
6539
 
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
6540
 
    subversion.  Checkouts are associated with a branch (optionally in a
6541
 
    repository), which contains all the historical information.  The
6542
 
    result is that a checkout can be deleted without losing any
6543
 
    already-committed revisions.  A new 'update' command is also available.
6544
 
 
6545
 
    Repositories and checkouts are not supported with the 0.7 storage
6546
 
    format.  To use them you must upgrad to either knits, or to the
6547
 
    'metaweave' format, which uses weaves but changes the .bzr directory
6548
 
    arrangement.
6549
 
 
6550
 
 
6551
 
  IMPROVEMENTS:
6552
 
 
6553
 
    * Sftp paths can now be relative, or local, according to the lftp
6554
 
      convention. Paths now take the form::
6555
 
 
6556
 
          sftp://user:pass@host:port/~/relative/path
6557
 
          or
6558
 
          sftp://user:pass@host:port/absolute/path
6559
 
 
6560
 
    * The FTP transport now tries to reconnect after a temporary
6561
 
      failure. ftp put is made atomic. (Matthieu Moy)
6562
 
 
6563
 
    * The FTP transport now maintains a pool of connections, and
6564
 
      reuses them to avoid multiple connections to the same host (like
6565
 
      sftp did). (Daniel Silverstone)
6566
 
 
6567
 
    * The ``bzr_man.py`` file has been removed. To create the man page now,
6568
 
      use ``./generate_docs.py man``. The new program can also create other files.
6569
 
      Run ``python generate_docs.py --help`` for usage information.
6570
 
      (Hans Ulrich Niedermann & James Blackwell).
6571
 
 
6572
 
    * Man Page now gives full help (James Blackwell).
6573
 
      Help also updated to reflect user config now being stored in .bazaar
6574
 
      (Hans Ulrich Niedermann)
6575
 
 
6576
 
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
6577
 
 
6578
 
    * Pull now accepts a --revision argument (Erik Bågfors)
6579
 
 
6580
 
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
6581
 
      line. You can now use the following command to sign all of your old
6582
 
      commits::
6583
 
 
6584
 
        find .bzr/revision-store// -name my@email-* \
6585
 
          | sed 's/.*\/\/..\///' \
6586
 
          | xargs bzr re-sign
6587
 
 
6588
 
    * Upgrade can now upgrade over the network. (Robert Collins)
6589
 
 
6590
 
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
6591
 
      behaviour.  By default they will cache history in the checkout, but
6592
 
      with --lightweight almost all data is kept in the master branch.
6593
 
      (Robert Collins)
6594
 
 
6595
 
    * 'revert' unversions newly-versioned files, instead of deleting them.
6596
 
 
6597
 
    * 'merge' is more robust.  Conflict messages have changed.
6598
 
 
6599
 
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
6600
 
      '.moved'.
6601
 
 
6602
 
    * Default log format can be set in configuration and plugins can register
6603
 
      their own formatters. (Erik Bågfors)
6604
 
 
6605
 
    * New 'reconcile' command will check branch consistency and repair indexes
6606
 
      that can become out of sync in pre 0.8 formats. (Robert Collins,
6607
 
      Daniel Silverstone)
6608
 
 
6609
 
    * New 'bzr init --format' and 'bzr upgrade --format' option to control
6610
 
      what storage format is created or produced.  (Robert Collins,
6611
 
      Martin Pool)
6612
 
 
6613
 
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
6614
 
 
6615
 
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
6616
 
 
6617
 
    * New 'init-repository' command, plus support for repositories in 'init'
6618
 
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
6619
 
 
6620
 
    * Improve output of 'info' command. Show all relevant locations related to
6621
 
      working tree, branch and repository. Use kibibytes for binary quantities.
6622
 
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
6623
 
      work on branches, repositories and remote locations.  Show locations
6624
 
      relative to the shared repository, if applicable.  Show locking status
6625
 
      of locations.  (Olaf Conradi)
6626
 
 
6627
 
    * Diff and merge now safely handle binary files. (Aaron Bentley)
6628
 
 
6629
 
    * 'pull' and 'push' now normalise the revision history, so that any two
6630
 
      branches with the same tip revision will have the same output from 'log'.
6631
 
      (Robert Collins)
6632
 
 
6633
 
    * 'merge' accepts --remember option to store parent location, like 'push'
6634
 
      and 'pull'. (Olaf Conradi)
6635
 
 
6636
 
    * bzr status and diff when files given as arguments do not exist
6637
 
      in the relevant trees.  (Martin Pool, #3619)
6638
 
 
6639
 
    * Add '.hg' to the default ignore list.  (Martin Pool)
6640
 
 
6641
 
    * 'knit' is now the default disk format. This improves disk performance and
6642
 
      utilization, increases incremental pull performance, robustness with SFTP
6643
 
      and allows checkouts over SFTP to perform acceptably.
6644
 
      The initial Knit code was contributed by Johan Rydberg based on a
6645
 
      specification by Martin Pool.
6646
 
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
6647
 
 
6648
 
    * New tool to generate all-in-one html version of the manual.  (Alexander
6649
 
      Belchenko)
6650
 
 
6651
 
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
6652
 
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
6653
 
 
6654
 
    * New option 'diff --prefix' to control how files are named in diff
6655
 
      output, with shortcuts '-p0' and '-p1' corresponding to the options for
6656
 
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
6657
 
 
6658
 
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
6659
 
 
6660
 
    * If bzr shows an unexpected revision-history after pulling (perhaps due
6661
 
      to a reweave) it can now be corrected by 'bzr reconcile'.
6662
 
      (Robert Collins)
6663
 
 
6664
 
  CHANGES:
6665
 
 
6666
 
    * Commit is now verbose by default, and shows changed filenames and the
6667
 
      new revision number.  (Robert Collins, Martin Pool)
6668
 
 
6669
 
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
6670
 
 
6671
 
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
6672
 
 
6673
 
    * Make 'pull' and 'push' remember location on failure using --remember.
6674
 
      (Olaf Conradi)
6675
 
 
6676
 
    * For compatibility, make old format for using weaves inside metadir
6677
 
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
6678
 
      Clean up help for option --format in commands 'init', 'init-repo' and
6679
 
      'upgrade'.  (Olaf Conradi)
6680
 
 
6681
 
  INTERNALS:
6682
 
 
6683
 
    * The internal storage of history, and logical branch identity have now
6684
 
      been split into Branch, and Repository. The common locking and file
6685
 
      management routines are now in bzrlib.lockablefiles.
6686
 
      (Aaron Bentley, Robert Collins, Martin Pool)
6687
 
 
6688
 
    * Transports can now raise DependencyNotPresent if they need a library
6689
 
      which is not installed, and then another implementation will be
6690
 
      tried.  (Martin Pool)
6691
 
 
6692
 
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
6693
 
      (Martin Pool)
6694
 
 
6695
 
    * Using Tree Transform for merge, revert, tree-building
6696
 
 
6697
 
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
6698
 
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
6699
 
      replacement API's. (Robert Collins)
6700
 
 
6701
 
    * New BzrDir class represents the .bzr control directory and manages
6702
 
      formatting issues. (Robert Collins)
6703
 
 
6704
 
    * New repository.InterRepository class encapsulates Repository to
6705
 
      Repository actions and allows for clean selection of optimised code
6706
 
      paths. (Robert Collins)
6707
 
 
6708
 
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
6709
 
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
6710
 
      depending on your needs. (Robert Collins)
6711
 
 
6712
 
    * deprecated methods now have a ``is_deprecated`` flag on them that can
6713
 
      be checked, if you need to determine whether a given callable is
6714
 
      deprecated at runtime. (Robert Collins)
6715
 
 
6716
 
    * Progress bars are now nested - see
6717
 
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
6718
 
      (Robert Collins, Robey Pointer)
6719
 
 
6720
 
    * New API call ``get_format_description()`` for each type of format.
6721
 
      (Olaf Conradi)
6722
 
 
6723
 
    * Changed ``branch.set_parent()`` to accept None to remove parent.
6724
 
      (Olaf Conradi)
6725
 
 
6726
 
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
6727
 
 
6728
 
    * WorkingTree.branch is now a read only property.  (Robert Collins)
6729
 
 
6730
 
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
6731
 
      can be None or a factory that will create a progress bar. This is
6732
 
      useful for testing or for overriding the bzrlib.progress heuristic.
6733
 
      (Robert Collins)
6734
 
 
6735
 
    * New API method ``get_physical_lock_status()`` to query locks present on a
6736
 
      transport.  (Olaf Conradi)
6737
 
 
6738
 
    * Repository.reconcile now takes a thorough keyword parameter to allow
6739
 
      requesting an indepth reconciliation, rather than just a data-loss
6740
 
      check. (Robert Collins)
6741
 
 
6742
 
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
6743
 
      the user for yes/no style input. (Robert Collins)
6744
 
 
6745
 
  TESTING:
6746
 
 
6747
 
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
6748
 
      for testing SFTP protocol support. (Robey Pointer)
6749
 
 
6750
 
    * Branch formats are now tested once per implementation (see ``bzrlib.
6751
 
      tests.branch_implementations``. This is analagous to the transport
6752
 
      interface tests, and has been followed up with working tree,
6753
 
      repository and BzrDir tests. (Robert Collins)
6754
 
 
6755
 
    * New test base class TestCaseWithTransport provides a transport aware
6756
 
      test environment, useful for testing any transport-interface using
6757
 
      code. The test suite option --transport controls the transport used
6758
 
      by this class (when its not being used as part of implementation
6759
 
      contract testing). (Robert Collins)
6760
 
 
6761
 
    * Close logging handler on disabling the test log. This will remove the
6762
 
      handler from the internal list inside python's logging module,
6763
 
      preventing shutdown from closing it twice.  (Olaf Conradi)
6764
 
 
6765
 
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
6766
 
 
6767
 
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
6768
 
      parameter which will provide String("foo") to the command as its stdin.
6769
 
 
6770
 
bzr 0.7 2006-01-09
6771
 
------------------
6772
 
 
6773
 
  CHANGES:
6774
 
 
6775
 
    * .bzrignore is excluded from exports, on the grounds that it's a bzr
6776
 
      internal-use file and may not be wanted.  (Jamie Wilkinson)
6777
 
 
6778
 
    * The "bzr directories" command were removed in favor of the new
6779
 
      --kind option to the "bzr inventory" command.  To list all
6780
 
      versioned directories, now use "bzr inventory --kind directory".
6781
 
      (Johan Rydberg)
6782
 
 
6783
 
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
6784
 
      by default. (John Arbash Meinel)
6785
 
 
6786
 
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
6787
 
      environment variable. Now the path for it is searched in ``BZR_HOME``,
6788
 
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
6789
 
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
6790
 
      ``HOME``. (John Arbash Meinel)
6791
 
 
6792
 
    * Plugins with the same name in different directories in the bzr plugin
6793
 
      path are no longer loaded: only the first successfully loaded one is
6794
 
      used. (Robert Collins)
6795
 
 
6796
 
    * Use systems' external ssh command to open connections if possible.
6797
 
      This gives better integration with user settings such as ProxyCommand.
6798
 
      (James Henstridge)
6799
 
 
6800
 
    * Permissions on files underneath .bzr/ are inherited from the .bzr
6801
 
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
6802
 
      will mean that future file will be created with group write permissions.
6803
 
 
6804
 
    * configure.in and config.guess are no longer in the builtin default
6805
 
      ignore list.
6806
 
 
6807
 
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
6808
 
      files.  (John Arbash Meinel, Martin Pool)
6809
 
 
6810
 
  IMPROVEMENTS:
6811
 
 
6812
 
    * "bzr INIT dir" now initializes the specified directory, and creates
6813
 
      it if it does not exist.  (John Arbash Meinel)
6814
 
 
6815
 
    * New remerge command (Aaron Bentley)
6816
 
 
6817
 
    * Better zsh completion script.  (Steve Borho)
6818
 
 
6819
 
    * 'bzr diff' now returns 1 when there are changes in the working
6820
 
      tree. (Robert Collins)
6821
 
 
6822
 
    * 'bzr push' now exists and can push changes to a remote location.
6823
 
      This uses the transport infrastructure, and can store the remote
6824
 
      location in the ~/.bazaar/branches.conf configuration file.
6825
 
      (Robert Collins)
6826
 
 
6827
 
    * Test directories are only kept if the test fails and the user requests
6828
 
      that they be kept.
6829
 
 
6830
 
    * Tweaks to short log printing
6831
 
 
6832
 
    * Added branch nicks, new nick command, printing them in log output.
6833
 
      (Aaron Bentley)
6834
 
 
6835
 
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
6836
 
      occurs.  (Martin Pool)
6837
 
 
6838
 
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
6839
 
      the same as Subversion.  (Martin Pool)
6840
 
 
6841
 
    * New ftp transport support (on ftplib), for ftp:// and aftp://
6842
 
      URLs.  (Daniel Silverstone)
6843
 
 
6844
 
    * Commit editor temporary files now start with ``bzr_log.``, to allow
6845
 
      text editors to match the file name and set up appropriate modes or
6846
 
      settings.  (Magnus Therning)
6847
 
 
6848
 
    * Improved performance when integrating changes from a remote weave.
6849
 
      (Goffredo Baroncelli)
6850
 
 
6851
 
    * Sftp will attempt to cache the connection, so it is more likely that
6852
 
      a connection will be reused, rather than requiring multiple password
6853
 
      requests.
6854
 
 
6855
 
    * bzr revno now takes an optional argument indicating the branch whose
6856
 
      revno should be printed.  (Michael Ellerman)
6857
 
 
6858
 
    * bzr cat defaults to printing the last version of the file.
6859
 
      (Matthieu Moy, #3632)
6860
 
 
6861
 
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
6862
 
      profiler.  (Denys Duchier)
6863
 
 
6864
 
    * Faster commits by reading only the headers of affected weave files.
6865
 
      (Denys Duchier)
6866
 
 
6867
 
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
6868
 
      added, but doesn't actually add anything. (Michael Ellerman)
6869
 
 
6870
 
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
6871
 
      lists the specific files.  (Aaron Bentley)
6872
 
 
6873
 
    * 'bzr missing' now supports displaying changes in diverged trees and can
6874
 
      be limited to show what either end of the comparison is missing.
6875
 
      (Aaron Bently, with a little prompting from Daniel Silverstone)
6876
 
 
6877
 
  BUG FIXES:
6878
 
 
6879
 
    * SFTP can walk up to the root path without index errors. (Robert Collins)
6880
 
 
6881
 
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
6882
 
 
6883
 
    * Error when run with -OO
6884
 
 
6885
 
    * Fix bug in reporting http errors that don't have an http error code.
6886
 
      (Martin Pool)
6887
 
 
6888
 
    * Handle more cases of pipe errors in display commands
6889
 
 
6890
 
    * Change status to 3 for all errors
6891
 
 
6892
 
    * Files that are added and unlinked before committing are completely
6893
 
      ignored by diff and status
6894
 
 
6895
 
    * Stores with some compressed texts and some uncompressed texts are now
6896
 
      able to be used. (John A Meinel)
6897
 
 
6898
 
    * Fix for bzr pull failing sometimes under windows
6899
 
 
6900
 
    * Fix for sftp transport under windows when using interactive auth
6901
 
 
6902
 
    * Show files which are both renamed and modified as such in 'bzr
6903
 
      status' output.  (Daniel Silverstone, #4503)
6904
 
 
6905
 
    * Make annotate cope better with revisions committed without a valid
6906
 
      email address.  (Marien Zwart)
6907
 
 
6908
 
    * Fix representation of tab characters in commit messages.
6909
 
      (Harald Meland)
6910
 
 
6911
 
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
6912
 
      now parsed properly under Windows. (Alexander Belchenko)
6913
 
 
6914
 
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
6915
 
 
6916
 
    * Keep a cached copy of the basis inventory to speed up operations
6917
 
      that need to refer to it.  (Johan Rydberg, Martin Pool)
6918
 
 
6919
 
    * Fix bugs in bzr status display of non-ascii characters.
6920
 
      (Martin Pool)
6921
 
 
6922
 
    * Remove Makefile.in from default ignore list.
6923
 
      (Tollef Fog Heen, Martin Pool, #6413)
6924
 
 
6925
 
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
6926
 
 
6927
 
  TESTING:
6928
 
 
6929
 
    * Fix selftest asking for passwords when there are no SFTP keys.
6930
 
      (Robey Pointer, Jelmer Vernooij)
6931
 
 
6932
 
    * Fix selftest run with 'python -O'.  (Martin Pool)
6933
 
 
6934
 
    * Fix HTTP tests under Windows. (John Arbash Meinel)
6935
 
 
6936
 
    * Make tests work even if HOME is not set (Aaron Bentley)
6937
 
 
6938
 
    * Updated ``build_tree`` to use fixed line-endings for tests which read
6939
 
      the file cotents and compare. Make some tests use this to pass under
6940
 
      Windows. (John Arbash Meinel)
6941
 
 
6942
 
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
6943
 
 
6944
 
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
6945
 
      (John Arbash Meinel)
6946
 
 
6947
 
    * Use terminal width to align verbose test output.  (Martin Pool)
6948
 
 
6949
 
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
6950
 
      If adding a new test script please add that to
6951
 
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
6952
 
 
6953
 
    * Much better error message if one of the test suites can't be
6954
 
      imported.  (Martin Pool)
6955
 
 
6956
 
    * Make check now runs the test suite twice - once with the default locale,
6957
 
      and once with all locales forced to C, to expose bugs. This is not
6958
 
      trivially done within python, so for now its only triggered by running
6959
 
      Make check. Integrators and packagers who wish to check for full
6960
 
      platform support should run 'make check' to test the source.
6961
 
      (Robert Collins)
6962
 
 
6963
 
    * Tests can now run TestSkipped if they can't execute for any reason.
6964
 
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
6965
 
      reasons - see the wiki spec ImprovingBzrTestSuite).
6966
 
 
6967
 
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
6968
 
      paths for the transport tests. Introduce blackbox remote sftp tests that
6969
 
      test the same permutations. (Robert Collins, Robey Pointer)
6970
 
 
6971
 
    * Transport implementation tests are now independent of the local file
6972
 
      system, which allows tests for esoteric transports, and for features
6973
 
      not available in the local file system. They also repeat for variations
6974
 
      on the URL scheme that can introduce issues in the transport code,
6975
 
      see bzrlib.transport.TransportTestProviderAdapter() for this.
6976
 
      (Robert Collins).
6977
 
 
6978
 
    * ``TestCase.build_tree`` uses the transport interface to build trees,
6979
 
      pass in a transport parameter to give it an existing connection.
6980
 
      (Robert Collins).
6981
 
 
6982
 
  INTERNALS:
6983
 
 
6984
 
    * WorkingTree.pull has been split across Branch and WorkingTree,
6985
 
      to allow Branch only pulls. (Robert Collins)
6986
 
 
6987
 
    * ``commands.display_command`` now returns the result of the decorated
6988
 
      function. (Robert Collins)
6989
 
 
6990
 
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
6991
 
      a setting in its matching location section (a new one is created
6992
 
      if needed). (Robert Collins)
6993
 
 
6994
 
    * Branch has two new methods, ``get_push_location`` and
6995
 
      ``set_push_location`` to respectively, get and set the push location.
6996
 
      (Robert Collins)
6997
 
 
6998
 
    * ``commands.register_command`` now takes an optional flag to signal that
6999
 
      the registrant is planning to decorate an existing command. When
7000
 
      given multiple plugins registering a command is not an error, and
7001
 
      the original command class (whether built in or a plugin based one) is
7002
 
      returned to the caller. There is a new error 'MustUseDecorated' for
7003
 
      signalling when a wrapping command should switch to the original
7004
 
      version. (Robert Collins)
7005
 
 
7006
 
    * Some option parsing errors will raise 'BzrOptionError', allowing
7007
 
      granular detection for decorating commands. (Robert Collins).
7008
 
 
7009
 
    * ``Branch.read_working_inventory`` has moved to
7010
 
      ``WorkingTree.read_working_inventory``. This necessitated changes to
7011
 
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
7012
 
      WorkingTree as well. To make it clear that a WorkingTree cannot always
7013
 
      be obtained ``Branch.working_tree()`` will raise
7014
 
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
7015
 
 
7016
 
    * All pending merges operations from Branch are now on WorkingTree.
7017
 
      (Robert Collins)
7018
 
 
7019
 
    * The follow operations from Branch have moved to WorkingTree::
7020
 
 
7021
 
          add()
7022
 
          commit()
7023
 
          move()
7024
 
          rename_one()
7025
 
          unknowns()
7026
 
 
7027
 
      (Robert Collins)
7028
 
 
7029
 
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
7030
 
 
7031
 
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
7032
 
 
7033
 
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
7034
 
      Pool)
7035
 
 
7036
 
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
7037
 
      query method. (Robert Collins)
7038
 
 
7039
 
    * New options to read only the table-of-contents of a weave.
7040
 
      (Denys Duchier)
7041
 
 
7042
 
    * Raise NoSuchFile when someone tries to add a non-existant file.
7043
 
      (Michael Ellerman)
7044
 
 
7045
 
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
7046
 
      (Michael Ellerman)
7047
 
 
7048
 
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
7049
 
      is exposed as ``Branch().control_files``. Also this has been altered with the
7050
 
      controlfile pre/suffix replaced by simple method names like 'get' and
7051
 
      'put'. (Aaron Bentley, Robert Collins).
7052
 
 
7053
 
    * Deprecated functions and methods can now be marked as such using the
7054
 
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
7055
 
      updated and will issue a DeprecationWarning using the warnings module
7056
 
      when they are used. (Robert Collins)
7057
 
 
7058
 
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7059
 
      for functions that need unicode strings. (Robert Collins)
7060
 
 
7061
 
bzr 0.6 2005-10-28
7062
 
------------------
7063
 
 
7064
 
  IMPROVEMENTS:
7065
 
 
7066
 
    * pull now takes --verbose to show you what revisions are added or removed
7067
 
      (John A Meinel)
7068
 
 
7069
 
    * merge now takes a --show-base option to include the base text in
7070
 
      conflicts.
7071
 
      (Aaron Bentley)
7072
 
 
7073
 
    * The config files are now read using ConfigObj, so '=' should be used as
7074
 
      a separator, not ':'.
7075
 
      (Aaron Bentley)
7076
 
 
7077
 
    * New 'bzr commit --strict' option refuses to commit if there are
7078
 
      any unknown files in the tree.  To commit, make sure all files are
7079
 
      either ignored, added, or deleted.  (Michael Ellerman)
7080
 
 
7081
 
    * The config directory is now ~/.bazaar, and there is a single file
7082
 
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
7083
 
      (Robert Collins)
7084
 
 
7085
 
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
7086
 
      has been added that suppresses all output.
7087
 
 
7088
 
    * Improved zsh completion support in contrib/zsh, from Clint
7089
 
      Adams.
7090
 
 
7091
 
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from
7092
 
      Goffredo Baroncelli.
7093
 
 
7094
 
    * 'bzr check' now accepts -v for verbose reporting, and checks for
7095
 
      ghosts in the branch. (Robert Collins)
7096
 
 
7097
 
    * New command 're-sign' which will regenerate the gpg signature for
7098
 
      a revision. (Robert Collins)
7099
 
 
7100
 
    * If you set ``check_signatures=require`` for a path in
7101
 
      ``~/.bazaar/branches.conf`` then bzr will invoke your
7102
 
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
7103
 
      of your commit. (Robert Collins)
7104
 
 
7105
 
    * New sftp transport, based on Paramiko.  (Robey Pointer)
7106
 
 
7107
 
    * 'bzr pull' now accepts '--clobber' which will discard local changes
7108
 
      and make this branch identical to the source branch. (Robert Collins)
7109
 
 
7110
 
    * Just give a quieter warning if a plugin can't be loaded, and
7111
 
      put the details in .bzr.log.  (Martin Pool)
7112
 
 
7113
 
    * 'bzr branch' will now set the branch-name to the last component of the
7114
 
      output directory, if one was supplied.
7115
 
 
7116
 
    * If the option ``post_commit`` is set to one (or more) python function
7117
 
      names (must be in the bzrlib namespace), then they will be invoked
7118
 
      after the commit has completed, with the branch and ``revision_id`` as
7119
 
      parameters. (Robert Collins)
7120
 
 
7121
 
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
7122
 
 
7123
 
    * --merge-type weave is now supported for file contents.  Tree-shape
7124
 
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
7125
 
 
7126
 
    * 'bzr check' allows the first revision on revision-history to have
7127
 
      parents - something that is expected for cheap checkouts, and occurs
7128
 
      when conversions from baz do not have all history.  (Robert Collins).
7129
 
 
7130
 
   * 'bzr merge' can now graft unrelated trees together, if your specify
7131
 
     0 as a base. (Aaron Bentley)
7132
 
 
7133
 
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
7134
 
     (Aaron Bentley)
7135
 
 
7136
 
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
7137
 
 
7138
 
   * 'bzr merge --reprocess' minimizes conflicts
7139
 
 
7140
 
  TESTING:
7141
 
 
7142
 
    * The 'bzr selftest --pattern' option for has been removed, now
7143
 
      test specifiers on the command line can be simple strings, or
7144
 
      regexps, or both. (Robert Collins)
7145
 
 
7146
 
    * Passing -v to selftest will now show the time each test took to
7147
 
      complete, which will aid in analysing performance regressions and
7148
 
      related questions. (Robert Collins)
7149
 
 
7150
 
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
7151
 
      is given. (Martin Pool)
7152
 
 
7153
 
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
7154
 
      will check that a given content is equal to the content of the named
7155
 
      file. (Robert Collins)
7156
 
 
7157
 
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
7158
 
      (Martin Pool)
7159
 
 
7160
 
  INTERNALS:
7161
 
 
7162
 
    * New 'testament' command and concept for making gpg-signatures
7163
 
      of revisions that are not tied to a particular internal
7164
 
      representation.  (Martin Pool).
7165
 
 
7166
 
    * Per-revision properties ('revprops') as key-value associated
7167
 
      strings on each revision created when the revision is committed.
7168
 
      Intended mainly for the use of external tools.  (Martin Pool).
7169
 
 
7170
 
    * Config options have moved from bzrlib.osutils to bzrlib.config.
7171
 
      (Robert Collins)
7172
 
 
7173
 
    * Improved command line option definitions allowing explanations
7174
 
      for individual options, among other things.  Contributed by
7175
 
      Magnus Therning.
7176
 
 
7177
 
    * Config options have moved from bzrlib.osutils to bzrlib.config.
7178
 
      Configuration is now done via the config.Config interface:
7179
 
      Depending on whether you have a Branch, a Location or no information
7180
 
      available, construct a ``*Config``, and use its ``signature_checking``,
7181
 
      ``username`` and ``user_email`` methods. (Robert Collins)
7182
 
 
7183
 
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
7184
 
      they are made available for other plugins to use. You should not
7185
 
      import other plugins during the ``__init__`` of your plugin though, as
7186
 
      no ordering is guaranteed, and the plugins directory is not on the
7187
 
      python path. (Robert Collins)
7188
 
 
7189
 
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
7190
 
      no longer takes an inventory, rather it takes an option branch
7191
 
      parameter, and if None is given will open the branch at basedir
7192
 
      implicitly. (Robert Collins)
7193
 
 
7194
 
    * Cleaner exception structure and error reporting.  Suggested by
7195
 
      Scott James Remnant.  (Martin Pool)
7196
 
 
7197
 
    * Branch.remove has been moved to WorkingTree, which has also gained
7198
 
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
7199
 
      (Robert Collins)
7200
 
 
7201
 
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
7202
 
      added to the branch module. Use these to cause a function to run in a
7203
 
      read or write lock respectively. (Robert Collins)
7204
 
 
7205
 
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
7206
 
      which allows direct access to the common case of 'get me this file
7207
 
      from its branch'. (Robert Collins)
7208
 
 
7209
 
    * Transports can register using ``register_lazy_transport``, and they
7210
 
      will be loaded when first used.  (Martin Pool)
7211
 
 
7212
 
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
7213
 
      A new option to WorkingTree.pull has been added, clobber, which will
7214
 
      ignore diverged history and pull anyway.
7215
 
      (Robert Collins)
7216
 
 
7217
 
    * config.Config has a ``get_user_option`` call that accepts an option name.
7218
 
      This will be looked up in branches.conf and bazaar.conf as normal.
7219
 
      It is intended that this be used by plugins to support options -
7220
 
      options of built in programs should have specific methods on the config.
7221
 
      (Robert Collins)
7222
 
 
7223
 
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
7224
 
      (Robert Collins)
7225
 
 
7226
 
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
7227
 
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
7228
 
      (Robert Collins)
7229
 
 
7230
 
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not
7231
 
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
7232
 
      about future directions. (Robert Collins/Martin Pool)
7233
 
 
7234
 
    * bzrlib.transport.http has been modified so that only 404 urllib errors
7235
 
      are returned as NoSuchFile. Other exceptions will propogate as normal.
7236
 
      This allows debuging of actual errors. (Robert Collins)
7237
 
 
7238
 
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
7239
 
      to apis like 'put', 'get' and 'has'. This is to provide consistent
7240
 
      behaviour - it operates on url's only. (Robert Collins)
7241
 
 
7242
 
    * Transports can register using ``register_lazy_transport``, and they
7243
 
      will be loaded when first used.  (Martin Pool)
7244
 
 
7245
 
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
7246
 
      is called by ``merge_inner``. This is so that the conflict count can be
7247
 
      retrieved (and potentially manipulated) before returning to the caller
7248
 
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
7249
 
      caller. (Robert Collins)
7250
 
 
7251
 
    * ``revision.revision_graph`` can handle having only partial history for
7252
 
      a revision - that is no revisions in the graph with no parents.
7253
 
      (Robert Collins).
7254
 
 
7255
 
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
7256
 
      produce a branch and a list of paths, relative to that branch
7257
 
      (Aaron Bentley)
7258
 
 
7259
 
    * New TestCase.addCleanup facility.
7260
 
 
7261
 
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
7262
 
      which can be used by programs importing bzrlib.
7263
 
 
7264
 
  BUG FIXES:
7265
 
 
7266
 
    * Better handling of branches in directories with non-ascii names.
7267
 
      (Joel Rosdahl, Panagiotis Papadakos)
7268
 
 
7269
 
    * Upgrades of trees with no commits will not fail due to accessing
7270
 
      [-1] in the revision-history. (Andres Salomon)
7271
 
 
7272
 
 
7273
 
bzr 0.1.1 2005-10-12
7274
 
--------------------
7275
 
 
7276
 
  BUG FIXES:
7277
 
 
7278
 
    * Fix problem in pulling over http from machines that do not
7279
 
      allow directories to be listed.
7280
 
 
7281
 
    * Avoid harmless warning about invalid hash cache after
7282
 
      upgrading branch format.
7283
 
 
7284
 
  PERFORMANCE:
7285
 
 
7286
 
    * Avoid some unnecessary http operations in branch and pull.
7287
 
 
7288
 
 
7289
 
bzr 0.1 2005-10-11
7290
 
------------------
7291
 
 
7292
 
  NOTES:
7293
 
 
7294
 
    * 'bzr branch' over http initially gives a very high estimate
7295
 
      of completion time but it should fall as the first few
7296
 
      revisions are pulled in.  branch is still slow on
7297
 
      high-latency connections.
7298
 
 
7299
 
  BUG FIXES:
7300
 
 
7301
 
    * bzr-man.py has been updated to work again. Contributed by
7302
 
      Rob Weir.
7303
 
 
7304
 
    * Locking is now done with fcntl.lockf which works with NFS
7305
 
      file systems. Contributed by Harald Meland.
7306
 
 
7307
 
    * When a merge encounters a file that has been deleted on
7308
 
      one side and modified on the other, the old contents are
7309
 
      written out to foo.BASE and foo.SIDE, where SIDE is this
7310
 
      or OTHER. Contributed by Aaron Bentley.
7311
 
 
7312
 
    * Export was choosing incorrect file paths for the content of
7313
 
      the tarball, this has been fixed by Aaron Bentley.
7314
 
 
7315
 
    * Commit will no longer commit without a log message, an
7316
 
      error is returned instead. Contributed by Jelmer Vernooij.
7317
 
 
7318
 
    * If you commit a specific file in a sub directory, any of its
7319
 
      parent directories that are added but not listed will be
7320
 
      automatically included. Suggested by Michael Ellerman.
7321
 
 
7322
 
    * bzr commit and upgrade did not correctly record new revisions
7323
 
      for files with only a change to their executable status.
7324
 
      bzr will correct this when it encounters it. Fixed by
7325
 
      Robert Collins
7326
 
 
7327
 
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
7328
 
      Contributed by Gustavo Niemeyer.
7329
 
 
7330
 
    * Fix problems in merging weave-based branches that have
7331
 
      different partial views of history.
7332
 
 
7333
 
    * Symlink support: working with symlinks when not in the root of a
7334
 
      bzr tree was broken, patch from Scott James Remnant.
7335
 
 
7336
 
  IMPROVEMENTS:
7337
 
 
7338
 
    * 'branch' now accepts a --basis parameter which will take advantage
7339
 
      of local history when making a new branch. This allows faster
7340
 
      branching of remote branches. Contributed by Aaron Bentley.
7341
 
 
7342
 
    * New tree format based on weave files, called version 5.
7343
 
      Existing branches can be upgraded to this format using
7344
 
      'bzr upgrade'.
7345
 
 
7346
 
    * Symlinks are now versionable. Initial patch by
7347
 
      Erik Toubro Nielsen, updated to head by Robert Collins.
7348
 
 
7349
 
    * Executable bits are tracked on files. Patch from Gustavo
7350
 
      Niemeyer.
7351
 
 
7352
 
    * 'bzr status' now shows unknown files inside a selected directory.
7353
 
      Patch from Heikki Paajanen.
7354
 
 
7355
 
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
7356
 
      and 'resolve' have needed added, which list and remove those
7357
 
      merge conflicts respectively. A conflicted tree cannot be committed
7358
 
      in. Contributed by Aaron Bentley.
7359
 
 
7360
 
    * 'rm' is now an alias for 'remove'.
7361
 
 
7362
 
    * Stores now split out their content in a single byte prefixed hash,
7363
 
      dropping the density of files per directory by 256. Contributed by
7364
 
      Gustavo Niemeyer.
7365
 
 
7366
 
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
7367
 
      Contributed by Robert Collins.
7368
 
 
7369
 
    * 'bzr log' with the default formatter will show merged revisions,
7370
 
      indented to the right. Initial implementation contributed by Gustavo
7371
 
      Niemeyer, made incremental by Robert Collins.
7372
 
 
7373
 
 
7374
 
  INTERNALS:
7375
 
 
7376
 
    * Test case failures have the exception printed after the log
7377
 
      for your viewing pleasure.
7378
 
 
7379
 
    * InventoryEntry is now an abstract base class, use one of the
7380
 
      concrete InventoryDirectory etc classes instead.
7381
 
 
7382
 
    * Branch raises an UnsupportedFormatError when it detects a
7383
 
      bzr branch it cannot understand. This allows for precise
7384
 
      handling of such circumstances.
7385
 
 
7386
 
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
7387
 
      list of their ids and ``parent_sha1s`` is a list of their corresponding
7388
 
      sha1s (for old branches only at the moment.)
7389
 
 
7390
 
    * New method-object style interface for Commit() and Fetch().
7391
 
 
7392
 
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
7393
 
      we call them revisions not patches.
7394
 
 
7395
 
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
7396
 
      directory is created if it doesn't exist.
7397
 
 
7398
 
    * Inventories now identify the files which were present by
7399
 
      giving the revision *of that file*.
7400
 
 
7401
 
    * Inventory and Revision XML contains a version identifier.
7402
 
      This must be consistent with the overall branch version
7403
 
      but allows for more flexibility in future upgrades.
7404
 
 
7405
 
  TESTING:
7406
 
 
7407
 
    * Removed testsweet module so that tests can be run after
7408
 
      bzr installed by 'bzr selftest'.
7409
 
 
7410
 
    * 'bzr selftest' command-line arguments can now be partial ids
7411
 
      of tests to run, e.g. ``bzr selftest test_weave``
7412
 
 
7413
 
 
7414
 
bzr 0.0.9 2005-09-23
7415
 
--------------------
7416
 
 
7417
 
  BUG FIXES:
7418
 
 
7419
 
    * Fixed "branch -r" option.
7420
 
 
7421
 
    * Fix remote access to branches containing non-compressed history.
7422
 
      (Robert Collins).
7423
 
 
7424
 
    * Better reliability of http server tests.  (John Arbash-Meinel)
7425
 
 
7426
 
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
7427
 
 
7428
 
    * Various minor bug in windows support have been fixed, largely in the
7429
 
      test suite. Contributed by Alexander Belchenko.
7430
 
 
7431
 
  IMPROVEMENTS:
7432
 
 
7433
 
    * Status now accepts a -r argument to give status between chosen
7434
 
      revisions. Contributed by Heikki Paajanen.
7435
 
 
7436
 
    * Revision arguments no longer use +/-/= to control ranges, instead
7437
 
      there is a 'before' namespace, which limits the successive namespace.
7438
 
      For example '$ bzr log -r date:yesterday..before:date:today' will
7439
 
      select everything from yesterday and before today. Contributed by
7440
 
      Robey Pointer
7441
 
 
7442
 
    * There is now a bzr.bat file created by distutils when building on
7443
 
      Windows. Contributed by Alexander Belchenko.
7444
 
 
7445
 
  INTERNALS:
7446
 
 
7447
 
    * Removed uuid() as it was unused.
7448
 
 
7449
 
    * Improved 'fetch' code for pulling revisions from one branch into
7450
 
      another (used by pull, merged, etc.)
7451
 
 
7452
 
 
7453
 
bzr 0.0.8 2005-09-20
7454
 
--------------------
7455
 
 
7456
 
  IMPROVEMENTS:
7457
 
 
7458
 
    * Adding a file whose parent directory is not versioned will
7459
 
      implicitly add the parent, and so on up to the root. This means
7460
 
      you should never need to explictly add a directory, they'll just
7461
 
      get added when you add a file in the directory.  Contributed by
7462
 
      Michael Ellerman.
7463
 
 
7464
 
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
7465
 
      (Nir Soffer)
7466
 
 
7467
 
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
7468
 
      preference to EDITOR and the config file for the interactive commit
7469
 
      editing program. Related to this is a bugfix where a missing program
7470
 
      set in EDITOR would cause editing to fail, now the fallback program
7471
 
      for the operating system is still tried.
7472
 
 
7473
 
    * Files that are not directories/symlinks/regular files will no longer
7474
 
      cause bzr to fail, it will just ignore them by default. You cannot add
7475
 
      them to the tree though - they are not versionable.
7476
 
 
7477
 
 
7478
 
  INTERNALS:
7479
 
 
7480
 
    * Refactor xml packing/unpacking.
7481
 
 
7482
 
  BUG FIXES:
7483
 
 
7484
 
    * Fixed 'bzr mv' by Ollie Rutherfurd.
7485
 
 
7486
 
    * Fixed strange error when trying to access a nonexistent http
7487
 
      branch.
7488
 
 
7489
 
    * Make sure that the hashcache gets written out if it can't be
7490
 
      read.
7491
 
 
7492
 
 
7493
 
  PORTABILITY:
7494
 
 
7495
 
    * Various Windows fixes from Ollie Rutherfurd.
7496
 
 
7497
 
    * Quieten warnings about locking; patch from Matt Lavin.
7498
 
 
7499
 
 
7500
 
bzr-0.0.7 2005-09-02
7501
 
--------------------
7502
 
 
7503
 
  NEW FEATURES:
7504
 
 
7505
 
    * ``bzr shell-complete`` command contributed by Clint Adams to
7506
 
      help with intelligent shell completion.
7507
 
 
7508
 
    * New expert command ``bzr find-merge-base`` for debugging merges.
7509
 
 
7510
 
 
7511
 
  ENHANCEMENTS:
7512
 
 
7513
 
    * Much better merge support.
7514
 
 
7515
 
    * merge3 conflicts are now reported with markers like '<<<<<<<'
7516
 
      (seven characters) which is the same as CVS and pleases things
7517
 
      like emacs smerge.
7518
 
 
7519
 
 
7520
 
  BUG FIXES:
7521
 
 
7522
 
    * ``bzr upgrade`` no longer fails when trying to fix trees that
7523
 
      mention revisions that are not present.
7524
 
 
7525
 
    * Fixed bugs in listing plugins from ``bzr plugins``.
7526
 
 
7527
 
    * Fix case of $EDITOR containing options for the editor.
7528
 
 
7529
 
    * Fix log -r refusing to show the last revision.
7530
 
      (Patch from Goffredo Baroncelli.)
7531
 
 
7532
 
 
7533
 
  CHANGES:
7534
 
 
7535
 
    * ``bzr log --show-ids`` shows the revision ids of all parents.
7536
 
 
7537
 
    * Externally provided commands on your $BZRPATH no longer need
7538
 
      to recognize --bzr-usage to work properly, and can just handle
7539
 
      --help themselves.
7540
 
 
7541
 
 
7542
 
  LIBRARY:
7543
 
 
7544
 
    * Changed trace messages to go through the standard logging
7545
 
      framework, so that they can more easily be redirected by
7546
 
      libraries.
7547
 
 
7548
 
 
7549
 
 
7550
 
bzr-0.0.6 2005-08-18
7551
 
--------------------
7552
 
 
7553
 
  NEW FEATURES:
7554
 
 
7555
 
    * Python plugins, automatically loaded from the directories on
7556
 
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
7557
 
 
7558
 
    * New 'bzr mkdir' command.
7559
 
 
7560
 
    * Commit mesage is fetched from an editor if not given on the
7561
 
      command line; patch from Torsten Marek.
7562
 
 
7563
 
    * ``bzr log -m FOO`` displays commits whose message matches regexp
7564
 
      FOO.
7565
 
 
7566
 
    * ``bzr add`` with no arguments adds everything under the current directory.
7567
 
 
7568
 
    * ``bzr mv`` does move or rename depending on its arguments, like
7569
 
      the Unix command.
7570
 
 
7571
 
    * ``bzr missing`` command shows a summary of the differences
7572
 
      between two trees.  (Merged from John Arbash-Meinel.)
7573
 
 
7574
 
    * An email address for commits to a particular tree can be
7575
 
      specified by putting it into .bzr/email within a branch.  (Based
7576
 
      on a patch from Heikki Paajanen.)
7577
 
 
7578
 
 
7579
 
  ENHANCEMENTS:
7580
 
 
7581
 
    * Faster working tree operations.
7582
 
 
7583
 
 
7584
 
  CHANGES:
7585
 
 
7586
 
    * 3rd-party modules shipped with bzr are copied within the bzrlib
7587
 
      python package, so that they can be installed by the setup
7588
 
      script without clashing with anything already existing on the
7589
 
      system.  (Contributed by Gustavo Niemeyer.)
7590
 
 
7591
 
    * Moved plugins directory to bzrlib/, so that there's a standard
7592
 
      plugin directory which is not only installed with bzr itself but
7593
 
      is also available when using bzr from the development tree.
7594
 
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
7595
 
      standard plugins directory.
7596
 
 
7597
 
    * When exporting to a tarball with ``bzr export --format tgz``, put
7598
 
      everything under a top directory rather than dumping it into the
7599
 
      current directory.   This can be overridden with the ``--root``
7600
 
      option.  Patch from William Dodé and John Meinel.
7601
 
 
7602
 
    * New ``bzr upgrade`` command to upgrade the format of a branch,
7603
 
      replacing ``bzr check --update``.
7604
 
 
7605
 
    * Files within store directories are no longer marked readonly on
7606
 
      disk.
7607
 
 
7608
 
    * Changed ``bzr log`` output to a more compact form suggested by
7609
 
      John A Meinel.  Old format is available with the ``--long`` or
7610
 
      ``-l`` option, patched by William Dodé.
7611
 
 
7612
 
    * By default the commit command refuses to record a revision with
7613
 
      no changes unless the ``--unchanged`` option is given.
7614
 
 
7615
 
    * The ``--no-plugins``, ``--profile`` and ``--builtin`` command
7616
 
      line options must come before the command name because they
7617
 
      affect what commands are available; all other options must come
7618
 
      after the command name because their interpretation depends on
7619
 
      it.
7620
 
 
7621
 
    * ``branch`` and ``clone`` added as aliases for ``branch``.
7622
 
 
7623
 
    * Default log format is back to the long format; the compact one
7624
 
      is available with ``--short``.
7625
 
 
7626
 
 
7627
 
  BUG FIXES:
7628
 
 
7629
 
    * Fix bugs in committing only selected files or within a subdirectory.
7630
 
 
7631
 
 
7632
 
bzr-0.0.5  2005-06-15
7633
 
---------------------
7634
 
 
7635
 
  CHANGES:
7636
 
 
7637
 
    * ``bzr`` with no command now shows help rather than giving an
7638
 
      error.  Suggested by Michael Ellerman.
7639
 
 
7640
 
    * ``bzr status`` output format changed, because svn-style output
7641
 
      doesn't really match the model of bzr.  Now files are grouped by
7642
 
      status and can be shown with their IDs.  ``bzr status --all``
7643
 
      shows all versioned files and unknown files but not ignored files.
7644
 
 
7645
 
    * ``bzr log`` runs from most-recent to least-recent, the reverse
7646
 
      of the previous order.  The previous behaviour can be obtained
7647
 
      with the ``--forward`` option.
7648
 
 
7649
 
    * ``bzr inventory`` by default shows only filenames, and also ids
7650
 
      if ``--show-ids`` is given, in which case the id is the second
7651
 
      field.
7652
 
 
7653
 
 
7654
 
  ENHANCEMENTS:
7655
 
 
7656
 
    * New 'bzr whoami --email' option shows only the email component
7657
 
      of the user identification, from Jo Vermeulen.
7658
 
 
7659
 
    * New ``bzr ignore PATTERN`` command.
7660
 
 
7661
 
    * Nicer error message for broken pipe, interrupt and similar
7662
 
      conditions that don't indicate an internal error.
7663
 
 
7664
 
    * Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
7665
 
 
7666
 
    * Per-branch locks keyed on ``.bzr/branch-lock``, available in
7667
 
      either read or write mode.
7668
 
 
7669
 
    * New option ``bzr log --show-ids`` shows revision and file ids.
7670
 
 
7671
 
    * New usage ``bzr log FILENAME`` shows only revisions that
7672
 
      affected that file.
7673
 
 
7674
 
    * Changed format for describing changes in ``bzr log -v``.
7675
 
 
7676
 
    * New option ``bzr commit --file`` to take a message from a file,
7677
 
      suggested by LarstiQ.
7678
 
 
7679
 
    * New syntax ``bzr status [FILE...]`` contributed by Bartosz
7680
 
      Oler.  File may be in a branch other than the working directory.
7681
 
 
7682
 
    * ``bzr log`` and ``bzr root`` can be given an http URL instead of
7683
 
      a filename.
7684
 
 
7685
 
    * Commands can now be defined by external programs or scripts
7686
 
      in a directory on $BZRPATH.
7687
 
 
7688
 
    * New "stat cache" avoids reading the contents of files if they
7689
 
      haven't changed since the previous time.
7690
 
 
7691
 
    * If the Python interpreter is too old, try to find a better one
7692
 
      or give an error.  Based on a patch from Fredrik Lundh.
7693
 
 
7694
 
    * New optional parameter ``bzr info [BRANCH]``.
7695
 
 
7696
 
    * New form ``bzr commit SELECTED`` to commit only selected files.
7697
 
 
7698
 
    * New form ``bzr log -r FROM:TO`` shows changes in selected
7699
 
      range; contributed by John A Meinel.
7700
 
 
7701
 
    * New option ``bzr diff --diff-options 'OPTS'`` allows passing
7702
 
      options through to an external GNU diff.
7703
 
 
7704
 
    * New option ``bzr add --no-recurse`` to add a directory but not
7705
 
      their contents.
7706
 
 
7707
 
    * ``bzr --version`` now shows more information if bzr is being run
7708
 
      from a branch.
7709
 
 
7710
 
 
7711
 
  BUG FIXES:
7712
 
 
7713
 
    * Fixed diff format so that added and removed files will be
7714
 
      handled properly by patch.  Fix from Lalo Martins.
7715
 
 
7716
 
    * Various fixes for files whose names contain spaces or other
7717
 
      metacharacters.
7718
 
 
7719
 
 
7720
 
  TESTING:
7721
 
 
7722
 
    * Converted black-box test suites from Bourne shell into Python;
7723
 
      now run using ``./testbzr``.  Various structural improvements to
7724
 
      the tests.
7725
 
 
7726
 
    * testbzr by default runs the version of bzr found in the same
7727
 
      directory as the tests, or the one given as the first parameter.
7728
 
 
7729
 
    * testbzr also runs the internal tests, so the only command
7730
 
      required to check is just ``./testbzr``.
7731
 
 
7732
 
    * testbzr requires python2.4, but can be used to test bzr running
7733
 
      under a different version.
7734
 
 
7735
 
    * Tests added for many other changes in this release.
7736
 
 
7737
 
 
7738
 
  INTERNAL:
7739
 
 
7740
 
    * Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
7741
 
 
7742
 
    * Refactor command functions into Command objects based on HCT by
7743
 
      Scott James Remnant.
7744
 
 
7745
 
    * Better help messages for many commands.
7746
 
 
7747
 
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
7748
 
      this is called trace messages are just discarded.
7749
 
 
7750
 
    * New internal function ``find_touching_revisions()`` and hidden
7751
 
      command touching-revisions trace the changes to a given file.
7752
 
 
7753
 
    * Simpler and faster ``compare_inventories()`` function.
7754
 
 
7755
 
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
7756
 
 
7757
 
    * New AtomicFile class.
7758
 
 
7759
 
    * New developer commands ``added``, ``modified``.
7760
 
 
7761
 
 
7762
 
  PORTABILITY:
7763
 
 
7764
 
    * Cope on Windows on python2.3 by using the weaker random seed.
7765
 
      2.4 is now only recommended.
7766
 
 
7767
 
 
7768
 
bzr-0.0.4  2005-04-22
7769
 
---------------------
7770
 
 
7771
 
  ENHANCEMENTS:
7772
 
 
7773
 
    * 'bzr diff' optionally takes a list of files to diff.  Still a bit
7774
 
      basic.  Patch from QuantumG.
7775
 
 
7776
 
    * More default ignore patterns.
7777
 
 
7778
 
    * New 'bzr log --verbose' shows a list of files changed in the
7779
 
      changeset.  Patch from Sebastian Cote.
7780
 
 
7781
 
    * Roll over ~/.bzr.log if it gets too large.
7782
 
 
7783
 
    * Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
7784
 
      by Jason Diamon.
7785
 
 
7786
 
    * New 'bzr help commands' based on a patch from Denys Duchier.
7787
 
 
7788
 
 
7789
 
  CHANGES:
7790
 
 
7791
 
    * User email is determined by looking at $BZREMAIL or ~/.bzr.email
7792
 
      or $EMAIL.  All are decoded by the locale preferred encoding.
7793
 
      If none of these are present user@hostname is used.  The host's
7794
 
      fully-qualified name is not used because that tends to fail when
7795
 
      there are DNS problems.
7796
 
 
7797
 
    * New 'bzr whoami' command instead of username user-email.
7798
 
 
7799
 
 
7800
 
  BUG FIXES:
7801
 
 
7802
 
    * Make commit safe for hardlinked bzr trees.
7803
 
 
7804
 
    * Some Unicode/locale fixes.
7805
 
 
7806
 
    * Partial workaround for ``difflib.unified_diff`` not handling
7807
 
      trailing newlines properly.
7808
 
 
7809
 
 
7810
 
  INTERNAL:
7811
 
 
7812
 
    * Allow docstrings for help to be in PEP0257 format.  Patch from
7813
 
      Matt Brubeck.
7814
 
 
7815
 
    * More tests in test.sh.
7816
 
 
7817
 
    * Write profile data to a temporary file not into working
7818
 
      directory and delete it when done.
7819
 
 
7820
 
    * Smaller .bzr.log with process ids.
7821
 
 
7822
 
 
7823
 
  PORTABILITY:
7824
 
 
7825
 
    * Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
7826
 
      Bennetts.
7827
 
 
7828
 
    * Some improvements in handling paths on Windows, based on a patch
7829
 
      from QuantumG.
7830
 
 
7831
 
 
7832
 
bzr-0.0.3  2005-04-06
7833
 
---------------------
7834
 
 
7835
 
  ENHANCEMENTS:
7836
 
 
7837
 
    * New "directories" internal command lists versioned directories
7838
 
      in the tree.
7839
 
 
7840
 
    * Can now say "bzr commit --help".
7841
 
 
7842
 
    * New "rename" command to rename one file to a different name
7843
 
      and/or directory.
7844
 
 
7845
 
    * New "move" command to move one or more files into a different
7846
 
      directory.
7847
 
 
7848
 
    * New "renames" command lists files renamed since base revision.
7849
 
 
7850
 
    * New cat command contributed by janmar.
7851
 
 
7852
 
  CHANGES:
7853
 
 
7854
 
    * .bzr.log is placed in $HOME (not pwd) and is always written in
7855
 
      UTF-8.  (Probably not a completely good long-term solution, but
7856
 
      will do for now.)
7857
 
 
7858
 
  PORTABILITY:
7859
 
 
7860
 
    * Workaround for difflib bug in Python 2.3 that causes an
7861
 
      exception when comparing empty files.  Reported by Erik Toubro
7862
 
      Nielsen.
7863
 
 
7864
 
  INTERNAL:
7865
 
 
7866
 
    * Refactored inventory storage to insert a root entry at the top.
7867
 
 
7868
 
  TESTING:
7869
 
 
7870
 
    * Start of shell-based black-box testing in test.sh.
 
6918
bzr 0.92rc1
 
6919
###########
 
6920
 
 
6921
:Released: 2007-10-29
 
6922
 
 
6923
Changes
 
6924
*******
 
6925
 
 
6926
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
6927
  3 if a normal error occurred.  (Martin Pool)
 
6928
 
 
6929
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
6930
  repository index errors that occured as a result of the Weave disk format.
 
6931
  Instead the ``reconcile`` command needs to be run to correct those
 
6932
  problems if they exist (and it has been able to fix most such problems
 
6933
  since bzr 0.8). Some new problems have been identified during this release
 
6934
  and you should run ``bzr check`` once on every repository to see if you
 
6935
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
6936
  repository due to mismatched parent errors - a symptom of index errors -
 
6937
  you should simply take a full copy of that remote repository to a clean
 
6938
  directory outside any local repositories, then run reconcile on it, and
 
6939
  finally pull from it locally. (And naturally email the repositories owner
 
6940
  to ask them to upgrade and run reconcile).
 
6941
  (Robert Collins)
 
6942
 
 
6943
Features
 
6944
********
 
6945
 
 
6946
* New ``knitpack-experimental`` repository format. This is interoperable with
 
6947
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
6948
  speeds up many operations, both local and remote. This new format can be
 
6949
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
6950
  commands. (Robert Collins)
 
6951
 
 
6952
* For users of bzr-svn (and those testing the prototype subtree support) that
 
6953
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
6954
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
6955
  (Robert Collins)
 
6956
 
 
6957
* New ``reconfigure`` command. (Aaron Bentley)
 
6958
 
 
6959
* New ``revert --forget-merges`` command, which removes the record of a pending
 
6960
  merge without affecting the working tree contents.  (Martin Pool)
 
6961
 
 
6962
* New ``bzr_remote_path`` configuration variable allows finer control of
 
6963
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
6964
  (Aaron Bentley)
 
6965
 
 
6966
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
6967
  user ID.  This can then be used by other functions of the
 
6968
  Launchpad plugin. (James Henstridge)
 
6969
 
 
6970
Performance
 
6971
***********
 
6972
 
 
6973
* Commit in quiet mode is now slightly faster as the information to
 
6974
  output is no longer calculated. (Ian Clatworthy)
 
6975
 
 
6976
* Commit no longer checks for new text keys during insertion when the
 
6977
  revision id was deterministically unique. (Robert Collins)
 
6978
 
 
6979
* Committing a change which is not a merge and does not change the number of
 
6980
  files in the tree is faster by utilising the data about whether files are
 
6981
  changed to determine if the tree is unchanged rather than recalculating
 
6982
  it at the end of the commit process. (Robert Collins)
 
6983
 
 
6984
* Inventory serialisation no longer double-sha's the content.
 
6985
  (Robert Collins)
 
6986
 
 
6987
* Knit text reconstruction now avoids making copies of the lines list for
 
6988
  interim texts when building a single text. The new ``apply_delta`` method
 
6989
  on ``KnitContent`` aids this by allowing modification of the revision id
 
6990
  such objects represent. (Robert Collins)
 
6991
 
 
6992
* Pack indices are now partially parsed for specific key lookup using a
 
6993
  bisection approach. (Robert Collins)
 
6994
 
 
6995
* Partial commits are now approximately 40% faster by walking over the
 
6996
  unselected current tree more efficiently. (Robert Collins)
 
6997
 
 
6998
* XML inventory serialisation takes 20% less time while being stricter about
 
6999
  the contents. (Robert Collins)
 
7000
 
 
7001
* Graph ``heads()`` queries have been fixed to no longer access all history
 
7002
  unnecessarily. (Robert Collins)
 
7003
 
 
7004
Improvements
 
7005
************
 
7006
 
 
7007
* ``bzr+https://`` smart server across https now supported.
 
7008
  (John Ferlito, Martin Pool, #128456)
 
7009
 
 
7010
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
7011
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
7012
 
 
7013
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
7014
  changes from one revision. (Alexander Belchenko, #141368)
 
7015
 
 
7016
* Show encodings, locale and list of plugins in the traceback message.
 
7017
  (Martin Pool, #63894)
 
7018
 
 
7019
* Experimental directory formats can now be marked with
 
7020
  ``experimental = True`` during registration. (Ian Clatworthy)
 
7021
 
 
7022
Documentation
 
7023
*************
 
7024
 
 
7025
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
7026
 
 
7027
* The hooks reference documentation is now converted to html as expected.
 
7028
  (Ian Clatworthy)
 
7029
 
 
7030
Bug Fixes
 
7031
*********
 
7032
 
 
7033
* Connection error reporting for the smart server has been fixed to
 
7034
  display a user friendly message instead of a traceback.
 
7035
  (Ian Clatworthy, #115601)
 
7036
 
 
7037
* Make sure to use ``O_BINARY`` when opening files to check their
 
7038
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
7039
 
 
7040
* Fix a problem with Win32 handling of the executable bit.
 
7041
  (John Arbash Meinel, #149113)
 
7042
 
 
7043
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
7044
  no longer assume that means port 22.  This allows people using OpenSSH to
 
7045
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
7046
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
7047
 
 
7048
* Commands reporting exceptions can now be profiled and still have their
 
7049
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
7050
  no changes still reports the operation as pointless but doing so no
 
7051
  longer throws away the profiling data if this command is run with
 
7052
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
7053
 
 
7054
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
7055
  ``tests/commands`` so that the test suite is still usable without
 
7056
  paramiko.
 
7057
  (Vincent Ladeuil, #59150)
 
7058
 
 
7059
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
7060
 
 
7061
* Fix long standing bug in partial commit when there are renames
 
7062
  left in tree. (Robert Collins, #140419)
 
7063
 
 
7064
* Fix selftest semi-random noise during http related tests.
 
7065
  (Vincent Ladeuil, #140614)
 
7066
 
 
7067
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
7068
  (Vincent Ladeuil, #154259)
 
7069
 
 
7070
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
7071
  contains a symbolic link.
 
7072
  (Vincent Ladeuil, #141382).
 
7073
 
 
7074
* Fix log against smart server branches that don't support tags.
 
7075
  (James Westby, #140615)
 
7076
 
 
7077
* Fix pycurl http implementation by defining error codes from
 
7078
  pycurl instead of relying on an old curl definition.
 
7079
  (Vincent Ladeuil, #147530)
 
7080
 
 
7081
* Fix 'unprintable error' message when displaying BzrCheckError and
 
7082
  some other exceptions on Python 2.5.
 
7083
  (Martin Pool, #144633)
 
7084
 
 
7085
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
7086
 
 
7087
* Handles default value for ListOption in cmd_commit.
 
7088
  (Vincent Ladeuil, #140432)
 
7089
 
 
7090
* HttpServer and FtpServer need to be closed properly or a listening socket
 
7091
  will remain opened.
 
7092
  (Vincent Ladeuil, #140055)
 
7093
 
 
7094
* Monitor the .bzr directory created in the top level test
 
7095
  directory to detect leaking tests.
 
7096
  (Vincent Ladeuil, #147986)
 
7097
 
 
7098
* The basename, not the full path, is now used when checking whether
 
7099
  the profiling dump file begins with ``callgrind.out`` or not. This
 
7100
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
7101
 
 
7102
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
7103
  (Rob Weir, #141629)
 
7104
 
 
7105
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
7106
  new path causes bzr to be unable to access the file. (Robert Collins)
 
7107
 
 
7108
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
7109
  Merwe)
 
7110
 
 
7111
API Breaks
 
7112
**********
 
7113
 
 
7114
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
7115
  constructor, for enabling bisection searches. (Robert Collins)
 
7116
 
 
7117
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
7118
  tree be supplied to it, previously failing to do so would trigger a
 
7119
  deprecation warning. (Robert Collins)
 
7120
 
 
7121
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
7122
  enable_cache() has been called - the caching feature is now exclusively for
 
7123
  reading existing data. (Robert Collins)
 
7124
 
 
7125
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
7126
  appropriate.  (Martin Pool)
 
7127
 
 
7128
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
7129
  ``trace+`` transport instead. (Robert Collins)
 
7130
 
 
7131
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
7132
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
7133
  (Martin Pool)
 
7134
 
 
7135
* Removed previous deprecated ``basis_knit`` parameter to the
 
7136
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
7137
 
 
7138
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
7139
  class that needs it.
 
7140
  (Martin Pool)
 
7141
 
 
7142
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
7143
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
7144
 
 
7145
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
7146
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
7147
  cost to store a version of a file. (Robert Collins)
 
7148
 
 
7149
* Tree's with bad state such as files with no length or sha will no longer
 
7150
  be silently accepted by the repository XML serialiser. To serialise
 
7151
  inventories without such data, pass working=True to write_inventory.
 
7152
  (Robert Collins)
 
7153
 
 
7154
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
7155
  ``VersionedFile.join`` will no longer accept different parents on either
 
7156
  side of a join - it will either ignore them, or error, depending on the
 
7157
  implementation. See notes when upgrading for more information.
 
7158
  (Robert Collins)
 
7159
 
 
7160
Internals
 
7161
*********
 
7162
 
 
7163
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
7164
  put by the method call, to allow avoiding stat-after-write or
 
7165
  housekeeping in callers. (Robert Collins)
 
7166
 
 
7167
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
7168
  mandatory attributes are present on serialisation and deserialisation.
 
7169
  This fixes some holes in API usage and allows better separation between
 
7170
  physical storage and object serialisation. (Robert Collins)
 
7171
 
 
7172
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
7173
  shorthand for deriving from BzrError and setting internal_error = True.
 
7174
  (Robert Collins)
 
7175
 
 
7176
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
7177
  moving the state of a parent tree to a new version via a delta rather than
 
7178
  a complete replacement tree. (Robert Collins)
 
7179
 
 
7180
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
7181
  duplication from user input, when a user mentions both a path and an item
 
7182
  contained within that path. (Robert Collins)
 
7183
 
 
7184
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
7185
  determining if a repository is write locked. (Robert Collins)
 
7186
 
 
7187
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
7188
  tuple containing the key information about a path for commit processing
 
7189
  to complete. (Robert Collins)
 
7190
 
 
7191
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
7192
  API used by knits for adding content. (Robert Collins)
 
7193
 
 
7194
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
7195
  logic, currently only available for byte-based lookup
 
7196
  (``bisect_multi_bytes``). (Robert Collins)
 
7197
 
 
7198
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
7199
  and returns a gzipped version of the same. This is used to avoid a bunch
 
7200
  of api friction during adding of knit hunks. (Robert Collins)
 
7201
 
 
7202
* New parameter on ``bzrlib.transport.Transport.readv``
 
7203
  ``adjust_for_latency`` which changes readv from returning strictly the
 
7204
  requested data to inserted return larger ranges and in forward read order
 
7205
  to reduce the effect of network latency. (Robert Collins)
 
7206
 
 
7207
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
7208
  causes the parents of a selected id to be returned recursively, so all the
 
7209
  paths from the root down to each element of selected_file_ids are
 
7210
  returned. (Robert Collins)
 
7211
 
 
7212
* Knit joining has been enhanced to support plain to annotated conversion
 
7213
  and annotated to plain conversion. (Ian Clatworthy)
 
7214
 
 
7215
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
7216
  information about the effect of the commit on the repository. This tuple
 
7217
  contains an inventory delta item if the entry changed from the basis, and a
 
7218
  boolean indicating whether a new file graph node was recorded.
 
7219
  (Robert Collins)
 
7220
 
 
7221
* The python path used in the Makefile can now be overridden.
 
7222
  (Andrew Bennetts, Ian Clatworthy)
 
7223
 
 
7224
Testing
 
7225
*******
 
7226
 
 
7227
* New transport implementation ``trace+`` which is useful for testing,
 
7228
  logging activity taken to its _activity attribute. (Robert Collins)
 
7229
 
 
7230
* When running bzr commands within the test suite, internal exceptions are
 
7231
  not caught and reported in the usual way, but rather allowed to propagate
 
7232
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
7233
  makes this behavior available to other users.
 
7234
  (Martin Pool)
 
7235
 
 
7236
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
7237
  raises a Python warning.  (Martin Pool)
 
7238
 
 
7239
 
 
7240
bzr 0.91
 
7241
########
 
7242
 
 
7243
:Released: 2007-09-26
 
7244
 
 
7245
Bug Fixes
 
7246
*********
 
7247
 
 
7248
* Print a warning instead of aborting the ``python setup.py install``
 
7249
  process if building of a C extension is not possible.
 
7250
  (Lukáš Lalinský, Alexander Belchenko)
 
7251
 
 
7252
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7253
 
 
7254
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
7255
  an implicit port.  We were incorrectly raising PathNotChild due to
 
7256
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
7257
  (Andrew Bennetts, #133965)
 
7258
 
 
7259
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
7260
  support the ``Repository.tarball`` request.
 
7261
  (Andrew Bennetts)
 
7262
 
 
7263
 
 
7264
bzr 0.91rc2
 
7265
###########
 
7266
 
 
7267
:Released: 2007-09-11
 
7268
 
 
7269
* Replaced incorrect tarball for previous release; a debug statement was left
 
7270
  in bzrlib/remote.py.
 
7271
 
 
7272
 
 
7273
bzr 0.91rc1
 
7274
###########
 
7275
 
 
7276
:Released: 2007-09-11
 
7277
 
 
7278
Changes
 
7279
*******
 
7280
 
 
7281
* The default branch and repository format has changed to
 
7282
  ``dirstate-tags``, so tag commands are active by default.
 
7283
  This format is compatible with Bazaar 0.15 and later.
 
7284
  This incidentally fixes bug #126141.
 
7285
  (Martin Pool)
 
7286
 
 
7287
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
7288
  must now appear after the command name. Scripts doing things like
 
7289
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
7290
  (Ian Clatworthy)
 
7291
 
 
7292
Features
 
7293
********
 
7294
 
 
7295
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
7296
  change, if it's different from the committer. ``bzr log`` and
 
7297
  ``bzr annotate`` display the author instead of the committer.
 
7298
  (Lukáš Lalinský)
 
7299
 
 
7300
* In addition to global options and command specific options, a set of
 
7301
  standard options are now supported. Standard options are legal for
 
7302
  all commands. The initial set of standard options are:
 
7303
 
 
7304
  * ``--help`` or ``-h`` - display help message
 
7305
  * ``--verbose`` or ``-v`` - display additional information
 
7306
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
7307
 
 
7308
  Unlike global options, standard options can be used in aliases and
 
7309
  may have command-specific help. (Ian Clatworthy)
 
7310
 
 
7311
* Verbosity level processing has now been unified. If ``--verbose``
 
7312
  or ``-v`` is specified on the command line multiple times, the
 
7313
  verbosity level is made positive the first time then increased.
 
7314
  If ``--quiet`` or ``-q`` is specified on the command line
 
7315
  multiple times, the verbosity level is made negative the first
 
7316
  time then decreased. To get the default verbosity level of zero,
 
7317
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
7318
  Note that most commands currently ignore the magnitude of the
 
7319
  verbosity level but do respect *quiet vs normal vs verbose* when
 
7320
  generating output. (Ian Clatworthy)
 
7321
 
 
7322
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
7323
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
7324
 
 
7325
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
7326
  network protocol for greatly reduced roundtrips when retrieving a set of
 
7327
  revisions. (Andrew Bennetts)
 
7328
 
 
7329
Bug Fixes
 
7330
*********
 
7331
 
 
7332
* ``bzr plugins`` now lists the version number for each plugin in square
 
7333
  brackets after the path. (Robert Collins, #125421)
 
7334
 
 
7335
* Pushing, pulling and branching branches with subtree references was not
 
7336
  copying the subtree weave, preventing the file graph from being accessed
 
7337
  and causing errors in commits in clones. (Robert Collins)
 
7338
 
 
7339
* Suppress warning "integer argument expected, got float" from Paramiko,
 
7340
  which sometimes caused false test failures.  (Martin Pool)
 
7341
 
 
7342
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
7343
  versionedfile.  (Aaron Bentley)
 
7344
 
 
7345
* Diffs generated using "diff -p" no longer break the patch parser.
 
7346
  (Aaron Bentley)
 
7347
 
 
7348
* get_transport treats an empty possible_transports list the same as a non-
 
7349
  empty one.  (Aaron Bentley)
 
7350
 
 
7351
* patch verification for merge directives is reactivated, and works with
 
7352
  CRLF and CR files.  (Aaron Bentley)
 
7353
 
 
7354
* Accept ..\ as a path in revision specifiers. This fixes for example
 
7355
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
7356
 
 
7357
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
7358
  (Blake Winton, #129299)
 
7359
 
 
7360
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
7361
 
 
7362
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
7363
  Watkins, #106726)
 
7364
 
 
7365
* Error messages are now better formatted with parameters (such as
 
7366
  filenames) quoted when necessary. This avoids confusion when directory
 
7367
  names ending in a '.' at the end of messages were confused with a
 
7368
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
7369
 
 
7370
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
7371
 
 
7372
* If a particular command is an alias, ``help`` will show the alias
 
7373
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
7374
  #133548)
 
7375
 
 
7376
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
7377
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
7378
 
 
7379
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
7380
  current encoding is used in the commit message.  (Daniel Watkins,
 
7381
  #116143)
 
7382
 
 
7383
* bzr send uses default values for ranges when only half of an elipsis
 
7384
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
7385
 
 
7386
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
7387
  binary is present.  (Martin Albisetti, #107155)
 
7388
 
 
7389
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
7390
  needing ``--force``) subtrees that contain no files with text changes or
 
7391
  modified files.  With ``--force`` it removes the subtree regardless of
 
7392
  text changes or unknown files. Directories with renames in or out (but
 
7393
  not changed otherwise) will now be removed without needing ``--force``.
 
7394
  Unknown ignored files will be deleted without needing ``--force``.
 
7395
  (Marius Kruger, #111665)
 
7396
 
 
7397
* When two plugins conflict, the source of both the losing and now the
 
7398
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
7399
 
 
7400
* When committing to a branch, the location being committed to is
 
7401
  displayed.  (Daniel Watkins, #52479)
 
7402
 
 
7403
* ``bzr --version`` takes care about encoding of stdout, especially
 
7404
  when output is redirected. (Alexander Belchenko, #131100)
 
7405
 
 
7406
* Prompt for an ftp password if none is provided.
 
7407
  (Vincent Ladeuil, #137044)
 
7408
 
 
7409
* Reuse bound branch associated transport to avoid multiple
 
7410
  connections.
 
7411
  (Vincent Ladeuil, #128076, #131396)
 
7412
 
 
7413
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
7414
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
7415
 
 
7416
* In checkouts, tags are copied into the master branch when created,
 
7417
  changed or deleted, and are copied into the checkout when it is
 
7418
  updated.  (Martin Pool, #93856, #93860)
 
7419
 
 
7420
* Print a warning instead of aborting the ``python setup.py install``
 
7421
  process if building of a C extension is not possible.
 
7422
  (Lukáš Lalinský, Alexander Belchenko)
 
7423
 
 
7424
Improvements
 
7425
************
 
7426
 
 
7427
* Add the option "--show-diff" to the commit command in order to display
 
7428
  the diff during the commit log creation. (Goffredo Baroncelli)
 
7429
 
 
7430
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
7431
  (Aaron Bentley)
 
7432
 
 
7433
* ``pull -v`` no longer includes deltas, making it much faster.
 
7434
  (Aaron Bentley)
 
7435
 
 
7436
* ``send`` now sends the directive as an attachment by default.
 
7437
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
7438
 
 
7439
* Documentation updates (Martin Albisetti)
 
7440
 
 
7441
* Help on debug flags is now included in ``help global-options``.
 
7442
  (Daniel Watkins, #124853)
 
7443
 
 
7444
* Parameters passed on the command line are checked to ensure they are
 
7445
  supported by the encoding in use. (Daniel Watkins)
 
7446
 
 
7447
* The compression used within the bzr repository has changed from zlib
 
7448
  level 9 to the zlib default level. This improves commit performance with
 
7449
  only a small increase in space used (and in some cases a reduction in
 
7450
  space). (Robert Collins)
 
7451
 
 
7452
* Initial commit no longer SHAs files twice and now reuses the path
 
7453
  rather than looking it up again, making it faster.
 
7454
  (Ian Clatworthy)
 
7455
 
 
7456
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
7457
  changes in one revision.  (Lukáš Lalinský)
 
7458
 
 
7459
* If versioned files match a given ignore pattern, a warning is now
 
7460
  given. (Daniel Watkins, #48623)
 
7461
 
 
7462
* ``bzr status`` now has -S as a short name for --short and -V as a
 
7463
  short name for --versioned. These have been added to assist users
 
7464
  migrating from Subversion: ``bzr status -SV`` is now like
 
7465
  ``svn status -q``.  (Daniel Watkins, #115990)
 
7466
 
 
7467
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
7468
  10x faster than the Python version. This speeds up commands that
 
7469
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
7470
  (Lukáš Lalinský)
 
7471
 
 
7472
* HACKING has been extended with a large section on core developer tasks.
 
7473
  (Ian Clatworthy)
 
7474
 
 
7475
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
7476
  include them as Concepts within the User Reference.
 
7477
  (Paul Moore, Ian Clatworthy)
 
7478
 
 
7479
* ``check`` can detect versionedfile parent references that are
 
7480
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
7481
  them.  These faulty references were generated by 0.8-era releases,
 
7482
  so repositories which were manipulated by old bzrs should be
 
7483
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
7484
 
 
7485
API Breaks
 
7486
**********
 
7487
 
 
7488
* ``Branch.append_revision`` is removed altogether; please use
 
7489
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
7490
 
 
7491
* CommitBuilder now advertises itself as requiring the root entry to be
 
7492
  supplied. This only affects foreign repository implementations which reuse
 
7493
  CommitBuilder directly and have changed record_entry_contents to require
 
7494
  that the root not be supplied. This should be precisely zero plugins
 
7495
  affected. (Robert Collins)
 
7496
 
 
7497
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
7498
  its return value to include the sha1 and length of the inserted text. This
 
7499
  allows the avoidance of double-sha1 calculations during commit.
 
7500
  (Robert Collins)
 
7501
 
 
7502
* ``Transport.should_cache`` has been removed.  It was not called in the
 
7503
  previous release.  (Martin Pool)
 
7504
 
 
7505
Testing
 
7506
*******
 
7507
 
 
7508
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
7509
  run in a particular scenario.  (Martin Pool)
 
7510
 
 
7511
* New function multiply_tests_from_modules to give a simpler interface
 
7512
  to test parameterization.  (Martin Pool, Robert Collins)
 
7513
 
 
7514
* ``Transport.should_cache`` has been removed.  It was not called in the
 
7515
  previous release.  (Martin Pool)
 
7516
 
 
7517
* NULL_REVISION is returned to indicate the null revision, not None.
 
7518
  (Aaron Bentley)
 
7519
 
 
7520
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
7521
  non-ASCII committer names.  (Lukáš Lalinský)
 
7522
 
 
7523
Internals
 
7524
*********
 
7525
 
 
7526
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
7527
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
7528
  useful functionality for determining the path of a plugin, its tests, and
 
7529
  its version information. (Robert Collins)
 
7530
 
 
7531
* Add the option user_encoding to the function 'show_diff_trees()'
 
7532
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
7533
 
 
7534
* Add the function make_commit_message_template_encoded() and the function
 
7535
  edit_commit_message_encoded() which handle encoded strings.
 
7536
  This is done in order to mix the commit messages (which is a unicode
 
7537
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
7538
 
 
7539
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
7540
  overhead on non-weave repositories which don't require all parents to be
 
7541
  present. (Robert Collins)
 
7542
 
 
7543
* Deprecated method ``find_previous_heads`` on
 
7544
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
7545
  of ``parent_candidates`` and a separate heads check via the repository
 
7546
  API. (Robert Collins)
 
7547
 
 
7548
* New trace function ``mutter_callsite`` will print out a subset of the
 
7549
  stack to the log, which can be useful for gathering debug details.
 
7550
  (Robert Collins)
 
7551
 
 
7552
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
7553
  added via a public attribute records_written. (Robert Collins)
 
7554
 
 
7555
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
7556
  This provides a hint to users of transports as to the reasonable
 
7557
  minimum data to read. In principle this can take latency and
 
7558
  bandwidth into account on a per-connection basis, but for now it
 
7559
  just has hard coded values based on the url. (e.g. http:// has a large
 
7560
  page size, file:// has a small one.) (Robert Collins)
 
7561
 
 
7562
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
7563
  incremental addition of data to a file without requiring that all the
 
7564
  data be buffered in memory. (Robert Collins)
 
7565
 
 
7566
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
7567
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
7568
  ``get_format_signature()``.  These provide some infrastructure for
 
7569
  efficiently streaming the knit data for a set of versions over the smart
 
7570
  protocol.
 
7571
 
 
7572
* Knits with no annotation cache still produce correct annotations.
 
7573
  (Aaron Bentley)
 
7574
 
 
7575
* Three new methods have been added to ``bzrlib.trace``:
 
7576
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
7577
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
7578
  zero for normal, positive for verbose. The size of the number can be
 
7579
  used to determine just how quiet or verbose the application should be.
 
7580
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
7581
  integrated into this new scheme. (Ian Clatworthy)
 
7582
 
 
7583
* Options can now be delcared with a ``custom_callback`` parameter. If
 
7584
  set, this routine is called after the option is processed. This feature
 
7585
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
7586
  setting one implicitly resets the other. (Ian Clatworthy)
 
7587
 
 
7588
* Rather than declaring a new option from scratch in order to provide
 
7589
  custom help, a centrally registered option can be decorated using the
 
7590
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
7591
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
7592
  standard options as the base definition of these is now more complex
 
7593
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
7594
 
 
7595
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
7596
  instead of iterating through all files.  None is used to iterate through
 
7597
  all files.  (Aaron Bentley)
 
7598
 
 
7599
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
7600
  [] to revert all files is deprecated.  (Aaron Bentley)
 
7601
 
 
7602
 
 
7603
bzr 0.90
 
7604
########
 
7605
 
 
7606
:Released: 2007-08-28
 
7607
 
 
7608
Improvements
 
7609
************
 
7610
 
 
7611
* Documentation is now organized into multiple directories with a level
 
7612
  added for different languages or locales. Added the Mini Tutorial
 
7613
  and Quick Start Summary (en) documents from the Wiki, improving the
 
7614
  content and readability of the former. Formatted NEWS as Release Notes
 
7615
  complete with a Table of Conents, one heading per release. Moved the
 
7616
  Developer Guide into the main document catalog and provided a link
 
7617
  from the developer document catalog back to the main one.
 
7618
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
7619
 
 
7620
 
 
7621
API Changes
 
7622
***********
 
7623
 
 
7624
* The static convenience method ``BzrDir.create_repository``
 
7625
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
7626
  and call ``create_repository`` on that.  (Martin Pool)
 
7627
 
 
7628
 
 
7629
bzr 0.90rc1
 
7630
###########
 
7631
 
 
7632
:Released: 2007-08-14
 
7633
 
 
7634
Bugfixes
 
7635
********
 
7636
 
 
7637
* ``bzr init`` should connect to the remote location one time only.  We
 
7638
  have been connecting several times because we forget to pass around the
 
7639
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
7640
  so that we can give it the Transport we already have.
 
7641
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
7642
 
 
7643
* Get rid of sftp connection cache (get rid of the FTP one too).
 
7644
  (Vincent Ladeuil, #43731)
 
7645
 
 
7646
* bzr branch {local|remote} remote don't try to create a working tree
 
7647
  anymore.
 
7648
  (Vincent Ladeuil, #112173)
 
7649
 
 
7650
* All identified multiple connections for a single bzr command have been
 
7651
  fixed. See bzrlib/tests/commands directory.
 
7652
  (Vincent Ladeuil)
 
7653
 
 
7654
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
7655
  have been renamed but not otherwise modified.  (Marius Kruger,
 
7656
  #111664)
 
7657
 
 
7658
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
7659
  (Lukáš Lalinský)
 
7660
 
 
7661
* ``bzr status`` now honours FILE parameters for conflict lists
 
7662
  (Aaron Bentley, #127606)
 
7663
 
 
7664
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
7665
  It also honours -r 0.  (Aaron Bentley, #127708)
 
7666
 
 
7667
* ``bzr add *`` no more fails on Windows if working tree contains
 
7668
  non-ascii file names. (Kuno Meyer, #127361)
 
7669
 
 
7670
* allow ``easy_install bzr`` runs without fatal errors.
 
7671
  (Alexander Belchenko, #125521)
 
7672
 
 
7673
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
7674
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
7675
 
 
7676
* SMTP connection failures produce a nice message, not a traceback.
 
7677
  (Aaron Bentley)
 
7678
 
 
7679
Improvements
 
7680
************
 
7681
 
 
7682
* Don't show "dots" progress indicators when run non-interactively, such
 
7683
  as from cron.  (Martin Pool)
 
7684
 
 
7685
* ``info`` now formats locations more nicely and lists "submit" and
 
7686
  "public" branches (Aaron Bentley)
 
7687
 
 
7688
* New ``pack`` command that will trigger database compression within
 
7689
  the repository (Robert Collins)
 
7690
 
 
7691
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
7692
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
7693
  Which yields a measurable improvement for commands which have to
 
7694
  read from the repository, such as a 1s => 0.75s improvement in
 
7695
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
7696
 
 
7697
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
7698
  faster. (Aaron Bentley)
 
7699
 
 
7700
* Give a clearer warning, and allow ``python setup.py install`` to
 
7701
  succeed even if pyrex is not available.
 
7702
  (John Arbash Meinel)
 
7703
 
 
7704
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
7705
  implementation. This improves the speed of any command that has to
 
7706
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
7707
  about 10%).
 
7708
  ``bisect_dirblocks`` has also been improved, which helps all
 
7709
  ``_get_entry`` type calls (whenever we are searching for a
 
7710
  particular entry in the in-memory DirState).
 
7711
  (John Arbash Meinel)
 
7712
 
 
7713
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
7714
  branch revision history for ui display unless -v is supplied.
 
7715
  (Robert Collins)
 
7716
 
 
7717
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
7718
  contains merge revisions. (Kent Gibson)
 
7719
 
 
7720
* The ``plugins`` command is now public with improved help.
 
7721
  (Ian Clatworthy)
 
7722
 
 
7723
* New bundle and merge directive formats are faster to generate, and
 
7724
 
 
7725
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
7726
 
 
7727
* Commit now only shows the progress in terms of directories instead of
 
7728
  entries. (Ian Clatworthy)
 
7729
 
 
7730
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
7731
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
7732
  Meinel)
 
7733
 
 
7734
* Fix ``VersionedFile.get_graph()`` to avoid using
 
7735
  ``set.difference_update(other)``, which has bad scaling when
 
7736
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
7737
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
7738
 
 
7739
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
7740
  the file starts with ``callgrind.out``. This matches the default file
 
7741
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
7742
 
 
7743
* Fix ``bzr update`` to avoid an unnecessary
 
7744
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
7745
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
7746
 
 
7747
* Log errors from the smart server in the trace file, to make debugging
 
7748
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
7749
 
 
7750
* The HTML version of the man page has been superceded by a more
 
7751
  comprehensive manual called the Bazaar User Reference. This manual
 
7752
  is completed generated from the online help topics. As part of this
 
7753
  change, limited reStructuredText is now explicitly supported in help
 
7754
  topics and command help with 'unnatural' markup being removed prior
 
7755
  to display by the online help or inclusion in the man page.
 
7756
  (Ian Clatworthy)
 
7757
 
 
7758
* HTML documentation now use files extension ``*.html``
 
7759
  (Alexander Belchenko)
 
7760
 
 
7761
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
7762
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
7763
 
 
7764
* ``bzr selftest --strict`` fails if there are any missing features or
 
7765
  expected test failures. (Daniel Watkins, #111914)
 
7766
 
 
7767
* Link to registration survey added to README. (Ian Clatworthy)
 
7768
 
 
7769
* Windows standalone installer show link to registration survey
 
7770
  when installation finished. (Alexander Belchenko)
 
7771
 
 
7772
Library API Breaks
 
7773
******************
 
7774
 
 
7775
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
7776
  Options are now required to provide a help string and it must
 
7777
  comply with the style guide by being one or more sentences with an
 
7778
  initial capital and final period. (Martin Pool)
 
7779
 
 
7780
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
7781
 
 
7782
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
7783
  (Robert Collins)
 
7784
 
 
7785
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
7786
  rather than just bytestrings, making it easier to represent multiple
 
7787
  element names. As this interface was not used by any internal facilities
 
7788
  since it was introduced in 0.18 no API compatibility is being preserved.
 
7789
  The serialised form of these packs is identical with 0.18 when a single
 
7790
  element tuple is in use. (Robert Collins)
 
7791
 
 
7792
Internals
 
7793
*********
 
7794
 
 
7795
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
7796
  future performance increases.  It is also more consistent with other
 
7797
  operations that perform comparisons, and reduces reliance on
 
7798
  Tree.inventory.  (Aaron Bentley)
 
7799
 
 
7800
* Refactoring of transport classes connected to a remote server.
 
7801
  ConnectedTransport is a new class that serves as a basis for all
 
7802
  transports needing to connect to a remote server.  transport.split_url
 
7803
  have been deprecated, use the static method on the object instead. URL
 
7804
  tests have been refactored too.
 
7805
  (Vincent Ladeuil)
 
7806
 
 
7807
* Better connection sharing for ConnectedTransport objects.
 
7808
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
7809
  If a newly requested transport can share a connection with one of the
 
7810
  list, it will.
 
7811
  (Vincent Ladeuil)
 
7812
 
 
7813
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
7814
  the null revision, and consider using ``None`` for this purpose
 
7815
  deprecated.  (Aaron Bentley)
 
7816
 
 
7817
* New ``index`` module with abstract index functionality. This will be
 
7818
  used during the planned changes in the repository layer. Currently the
 
7819
  index layer provides a graph aware immutable index, a builder for the
 
7820
  same index type to allow creating them, and finally a composer for
 
7821
  such indices to allow the use of many indices in a single query. The
 
7822
  index performance is not optimised, however the API is stable to allow
 
7823
  development on top of the index. (Robert Collins)
 
7824
 
 
7825
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
7826
  their directory sections. This is equivalent to comparing
 
7827
  ``path.split('/')``, only without having to split the paths.
 
7828
  This has a Pyrex implementation available.
 
7829
  (John Arbash Meinel)
 
7830
 
 
7831
* New transport decorator 'unlistable+' which disables the list_dir
 
7832
  functionality for testing.
 
7833
 
 
7834
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
7835
 
 
7836
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
7837
  for performing annotate-merge.  (Aaron Bentley)
 
7838
 
 
7839
* New EmailMessage class to create email messages. (Adeodato Simó)
 
7840
 
 
7841
* Unused functions on the private interface KnitIndex have been removed.
 
7842
  (Robert Collins)
 
7843
 
 
7844
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
7845
  of a ``index.GraphIndex``. (Robert Collins)
 
7846
 
 
7847
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
7848
  the parents of many knit nodes at once, reducing round trips to the
 
7849
  underlying index. (Robert Collins)
 
7850
 
 
7851
* Graph now has an is_ancestor method, various bits use it.
 
7852
  (Aaron Bentley)
 
7853
 
 
7854
* The ``-Dhpss`` flag now includes timing information. As well as
 
7855
  logging when a new connection is opened. (John Arbash Meinel)
 
7856
 
 
7857
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
7858
  callers when inserting data, allowing generation of readv style access
 
7859
  during pack creation, without needing a separate pass across the output
 
7860
  pack to gather such details. (Robert Collins)
 
7861
 
 
7862
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
7863
  files that are stored on a transport. (Robert Collins)
 
7864
 
 
7865
* New ``Repository.has_same_location`` method that reports if two
 
7866
  repository objects refer to the same repository (although with some risk
 
7867
  of false negatives).  (Andrew Bennetts)
 
7868
 
 
7869
* InterTree.compare now passes require_versioned on correctly.
 
7870
  (Marius Kruger)
 
7871
 
 
7872
* New methods on Repository - ``start_write_group``,
 
7873
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
7874
  which provide a clean hook point for transactional Repositories - ones
 
7875
  where all the data for a fetch or commit needs to be made atomically
 
7876
  available in one step. This allows the write lock to remain while making
 
7877
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
7878
 
 
7879
* In ``bzrlib.knit`` the internal interface has been altered to use
 
7880
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
7881
  describe where data in a knit is, allowing knits to be split into
 
7882
  many files. (Robert Collins)
 
7883
 
 
7884
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
7885
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
7886
  The former provides access into a .pack file, and the latter provides the
 
7887
  current production repository form of .knit files. (Robert Collins)
 
7888
 
 
7889
Testing
 
7890
*******
 
7891
 
 
7892
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
7893
  ``--keep-output`` options, which are obsolete now that tests
 
7894
  are done within directories in $TMPDIR.  (Martin Pool)
 
7895
 
 
7896
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
7897
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
7898
 
 
7899
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
7900
  either a string or a list of strings should be passed as the first
 
7901
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
7902
 
 
7903
 
 
7904
bzr 0.18
 
7905
########
 
7906
 
 
7907
:Released:  2007-07-17
 
7908
 
 
7909
Bugfixes
 
7910
********
 
7911
 
 
7912
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
7913
 
 
7914
 
 
7915
bzr 0.18rc1
 
7916
###########
 
7917
 
 
7918
:Released:  2007-07-10
 
7919
 
 
7920
Bugfixes
 
7921
********
 
7922
 
 
7923
* Do not suppress pipe errors, etc. in non-display commands
 
7924
  (Alexander Belchenko, #87178)
 
7925
 
 
7926
* Display a useful error message when the user requests to annotate
 
7927
  a file that is not present in the specified revision.
 
7928
  (James Westby, #122656)
 
7929
 
 
7930
* Commands that use status flags now have a reference to 'help
 
7931
  status-flags'.  (Daniel Watkins, #113436)
 
7932
 
 
7933
* Work around python-2.4.1 inhability to correctly parse the
 
7934
  authentication header.
 
7935
  (Vincent Ladeuil, #121889)
 
7936
 
 
7937
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
7938
 
 
7939
* Fix tempfile permissions error in smart server tar bundling under
 
7940
  Windows. (Martin _, #119330)
 
7941
 
 
7942
* Fix detection of directory entries in the inventory. (James Westby)
 
7943
 
 
7944
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
7945
  (Vincent Ladeuil, #115209)
 
7946
 
 
7947
* Issue a CONNECT request when connecting to an https server
 
7948
  via a proxy to enable SSL tunneling.
 
7949
  (Vincent Ladeuil, #120678)
 
7950
 
 
7951
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
7952
  individually and as part of revision ranges.
 
7953
  (Kent Gibson, #4663)
 
7954
 
 
7955
* Don't leave cruft behind when failing to acquire a lockdir.
 
7956
  (Martin Pool, #109169)
 
7957
 
 
7958
* Don't use the '-f' strace option during tests.
 
7959
  (Vincent Ladeuil, #102019).
 
7960
 
 
7961
* Warn when setting ``push_location`` to a value that will be masked by
 
7962
  locations.conf.  (Aaron Bentley, #122286)
 
7963
 
 
7964
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7965
 
 
7966
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
7967
 
 
7968
Improvements
 
7969
************
 
7970
 
 
7971
* The --lsprof-file option now dumps a text rendering of the profiling
 
7972
  information if the filename ends in ".txt". It will also convert the
 
7973
  profiling information to a format suitable for KCacheGrind if the
 
7974
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
7975
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
7976
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
7977
 
 
7978
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
7979
  abbreviated format info.  ``info -v`` displays all the information
 
7980
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
7981
 
 
7982
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
7983
  (Elliot Murphy)
 
7984
 
 
7985
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
7986
  and now lists knits as well as weaves.  (Aaron Bentley)
 
7987
 
 
7988
* Automatic merge base selection uses a faster algorithm that chooses
 
7989
  better bases in criss-cross merge situations (Aaron Bentley)
 
7990
 
 
7991
* Progress reporting in ``commit`` has been improved. The various logical
 
7992
  stages are now reported on as follows, namely:
 
7993
 
 
7994
  * Collecting changes [Entry x/y] - Stage n/m
 
7995
  * Saving data locally - Stage n/m
 
7996
  * Uploading data to master branch - Stage n/m
 
7997
  * Updating the working tree - Stage n/m
 
7998
  * Running post commit hooks - Stage n/m
 
7999
 
 
8000
  If there is no master branch, the 3rd stage is omitted and the total
 
8001
  number of stages is adjusted accordingly.
 
8002
 
 
8003
  Each hook that is run after commit is listed with a name (as hooks
 
8004
  can be slow it is useful feedback).
 
8005
  (Ian Clatworthy, Robert Collins)
 
8006
 
 
8007
* Various operations that are now faster due to avoiding unnecessary
 
8008
  topological sorts. (Aaron Bentley)
 
8009
 
 
8010
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
8011
 
 
8012
* The lsprof filename note is emitted via trace.note(), not standard
 
8013
  output.  (Aaron Bentley)
 
8014
 
 
8015
* ``bzrlib`` now exports explicit API compatibility information to assist
 
8016
  library users and plugins. See the ``bzrlib.api`` module for details.
 
8017
  (Robert Collins)
 
8018
 
 
8019
* Remove unnecessary lock probes when acquiring a lockdir.
 
8020
  (Martin Pool)
 
8021
 
 
8022
* ``bzr --version`` now shows the location of the bzr log file, which
 
8023
  is especially useful on Windows.  (Martin Pool)
 
8024
 
 
8025
* -D now supports hooks to get debug tracing of hooks (though its currently
 
8026
  minimal in nature). (Robert Collins)
 
8027
 
 
8028
* Long log format reports deltas on merge revisions.
 
8029
  (John Arbash Meinel, Kent Gibson)
 
8030
 
 
8031
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
8032
 
 
8033
* Print a summary of changes for update just like pull does.
 
8034
  (Daniel Watkins, #113990)
 
8035
 
 
8036
* Add a -Dhpss option to trace smart protocol requests and responses.
 
8037
  (Andrew Bennetts)
 
8038
 
 
8039
Library API Breaks
 
8040
******************
 
8041
 
 
8042
* Testing cleanups -
 
8043
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
8044
  to ``bzrlib.tests.repository_implementations``;
 
8045
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
8046
  to ``bzrlib.tests.interrepository_implementations``;
 
8047
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
8048
  ``bzrlib.tests.test_transport_implementations``.
 
8049
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
8050
  ``bzrlib.tests.branch_implementations``.
 
8051
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
8052
  ``bzrlib.tests.bzrdir_implementations``.
 
8053
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
8054
  to ``bzrlib.tests.interversionedfile_implementations``.
 
8055
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
8056
  ``bzrlib.tests.revisionstore_implementations``.
 
8057
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
8058
  ``bzrlib.tests.workingtree_implementations``.
 
8059
  These changes are an API break in the testing infrastructure only.
 
8060
  (Robert Collins)
 
8061
 
 
8062
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
8063
 
 
8064
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
8065
  win32. Callers of the function should do this and use the new
 
8066
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
8067
 
 
8068
* ``bzrlib.add.glob_expand_for_win32`` is now
 
8069
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
8070
 
 
8071
* ``bzrlib.add.FastPath`` is now private and moved to
 
8072
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
8073
 
 
8074
* ``LockDir.wait`` removed.  (Martin Pool)
 
8075
 
 
8076
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
8077
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
8078
  backing URLs rather than a single URL. This is to reflect that many
 
8079
  URLs may map to the external URL of the server. E.g. the server interally
 
8080
  may have a chrooted URL but also the local file:// URL will be at the
 
8081
  same location. (Robert Collins)
 
8082
 
 
8083
Internals
 
8084
*********
 
8085
 
 
8086
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
8087
 
 
8088
* Fix documentation of BzrError. (Adeodato Simó)
 
8089
 
 
8090
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
8091
 
 
8092
* Remove use of 'assert False' to raise an exception unconditionally.
 
8093
  (Martin Pool)
 
8094
 
 
8095
* Give a cleaner error when failing to decode knit index entry.
 
8096
  (Martin Pool)
 
8097
 
 
8098
* TreeConfig would mistakenly search the top level when asked for options
 
8099
  from a section. It now respects the section argument and only
 
8100
  searches the specified section. (James Westby)
 
8101
 
 
8102
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
8103
 
 
8104
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
8105
  osutils.make_writeable. This makes the difftools plugin more
 
8106
  robust when dangling symlinks are found. (Elliot Murphy)
 
8107
 
 
8108
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
8109
  lockdirs are taken or released.  (Martin Pool)
 
8110
 
 
8111
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
8112
  allows a nicer UI when hooks are running as the current hook can
 
8113
  be displayed. (Robert Collins)
 
8114
 
 
8115
* ``Transport.get`` has had its interface made more clear for ease of use.
 
8116
  Retrieval of a directory must now fail with either 'PathError' at open
 
8117
  time, or raise 'ReadError' on a read. (Robert Collins)
 
8118
 
 
8119
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
8120
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
8121
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
8122
 
 
8123
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
8124
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
8125
  Martin Pool)
 
8126
 
 
8127
* New method ``external_url`` on Transport for obtaining the url to
 
8128
  hand to external processes. (Robert Collins)
 
8129
 
 
8130
* Teach windows installers to build pyrex/C extensions.
 
8131
  (Alexander Belchenko)
 
8132
 
 
8133
Testing
 
8134
*******
 
8135
 
 
8136
* Removed the ``--keep-output`` option from selftest and clean up test
 
8137
  directories as they're used.  This reduces the IO load from
 
8138
  running the test suite and cuts the time by about half.
 
8139
  (Andrew Bennetts, Martin Pool)
 
8140
 
 
8141
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
8142
  modification of the generated scenarios before adaption and easier
 
8143
  testing. (Robert Collins)
 
8144
 
 
8145
* New testing support class ``TestScenarioApplier`` which multiplies
 
8146
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
8147
 
 
8148
* Setting ``repository_to_test_repository`` on a repository_implementations
 
8149
  test will cause it to be called during repository creation, allowing the
 
8150
  testing of repository classes which are not based around the Format
 
8151
  concept. For example a repository adapter can be tested in this manner,
 
8152
  by altering the repository scenarios to include a scenario that sets this
 
8153
  attribute during the test parameterisation in
 
8154
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
8155
 
 
8156
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
8157
  interface is now self.run_bzr.  The command to run can be passed as
 
8158
  either a list of parameters, a string containing the command line, or
 
8159
  (deprecated) varargs parameters.  (Martin Pool)
 
8160
 
 
8161
* The base TestCase now isolates tests from -D parameters by clearing
 
8162
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
8163
 
 
8164
* Add a relpath parameter to get_transport methods in test framework to
 
8165
  avoid useless cloning.
 
8166
  (Vincent Ladeuil, #110448)
 
8167
 
 
8168
 
 
8169
bzr 0.17
 
8170
########
 
8171
 
 
8172
:Released:  2007-06-18
 
8173
 
 
8174
Bugfixes
 
8175
********
 
8176
 
 
8177
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
8178
  (Colin Watson, #120647)
 
8179
 
 
8180
* Revert logging just to stderr in commit as broke unicode filenames.
 
8181
  (Aaron Bentley, Ian Clatworthy, #120930)
 
8182
 
 
8183
 
 
8184
bzr 0.17rc1
 
8185
###########
 
8186
 
 
8187
:Released:  2007-06-12
 
8188
 
 
8189
Notes When Upgrading
 
8190
********************
 
8191
 
 
8192
* The kind() and is_executable() APIs on the WorkingTree interface no
 
8193
  longer implicitly (read) locks and unlocks the tree. This *might*
 
8194
  impact some plug-ins and tools using this part of the API. If you find
 
8195
  an issue that may be caused by this change, please let us know,
 
8196
  particularly the plug-in/tool maintainer. If encountered, the API
 
8197
  fix is to surround kind() and is_executable() calls with lock_read()
 
8198
  and unlock() like so::
 
8199
 
 
8200
    work_tree.lock_read()
 
8201
    try:
 
8202
        kind = work_tree.kind(...)
 
8203
    finally:
 
8204
        work_tree.unlock()
 
8205
 
 
8206
Internals
 
8207
*********
 
8208
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
8209
  encapsulate the details of the revision to be logged in a LogRevision
 
8210
  object.
 
8211
  In long log formats, merge revision ids are only shown when --show-ids
 
8212
  is specified, and are labelled "revision-id:", as per mainline
 
8213
  revisions, instead of "merged:". (Kent Gibson)
 
8214
 
 
8215
* New ``BranchBuilder`` API which allows the construction of particular
 
8216
  histories quickly. Useful for testing and potentially other applications
 
8217
  too. (Robert Collins)
 
8218
 
 
8219
Improvements
 
8220
************
 
8221
 
 
8222
* There are two new help topics, working-trees and repositories that
 
8223
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
8224
  Aaron Bentley)
 
8225
 
 
8226
* Added ``bzr log --limit`` to report a limited number of revisions.
 
8227
  (Kent Gibson, #3659)
 
8228
 
 
8229
* Revert does not try to preserve file contents that were originally
 
8230
  produced by reverting to a historical revision.  (Aaron Bentley)
 
8231
 
 
8232
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
8233
  have more than one parent. This is a small improvement to help
 
8234
  understanding what changes have occurred
 
8235
  (John Arbash Meinel, #83887)
 
8236
 
 
8237
* TreeTransform avoids many renames when contructing large trees,
 
8238
  improving speed.  3.25x speedups have been observed for construction of
 
8239
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
8240
 
 
8241
* Commit on large trees is now faster. In my environment, a commit of
 
8242
  a small change to the Mozilla tree (55k files) has dropped from
 
8243
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
8244
  small change is 33% faster. (Ian Clatworthy)
 
8245
 
 
8246
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
8247
  #56322)
 
8248
 
 
8249
Bugfixes
 
8250
********
 
8251
 
 
8252
* ``bzr push`` should only connect to the remote location one time.
 
8253
  We have been connecting 3 times because we forget to pass around
 
8254
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
8255
  that we can pass in the Transport that we already have.
 
8256
  (John Arbash Meinel, #75721)
 
8257
 
 
8258
* ``DirState.set_state_from_inventory()`` needs to properly order
 
8259
  based on split paths, not just string paths.
 
8260
  (John Arbash Meinel, #115947)
 
8261
 
 
8262
* Let TestUIFactoy encode the password prompt with its own stdout.
 
8263
  (Vincent Ladeuil, #110204)
 
8264
 
 
8265
* pycurl should take use the range header that takes the range hint
 
8266
  into account.
 
8267
  (Vincent Ladeuil, #112719)
 
8268
 
 
8269
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
8270
  on a missing file.  (Aaron Bentley, #118186)
 
8271
 
 
8272
* WorkingTree.remove works correctly with tree references, and when pwd is
 
8273
  not the tree root. (Aaron Bentley)
 
8274
 
 
8275
* Merge no longer fails when a file is renamed in one tree and deleted
 
8276
  in the other. (Aaron Bentley, #110279)
 
8277
 
 
8278
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
8279
  and defaults to the last revision (Matthew Fuller, #90048)
 
8280
 
 
8281
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
8282
  (Daniel Watkins, #111958)
 
8283
 
 
8284
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
8285
  your repository. (Previously Branch6 only supported revisions in your
 
8286
  mainline). (John Arbash Meinel, #115343)
 
8287
 
 
8288
bzr 0.16
 
8289
########
 
8290
 
 
8291
:Released:  2007-05-07
 
8292
 
 
8293
Bugfixes
 
8294
********
 
8295
 
 
8296
* Handle when you have 2 directories with similar names, but one has a
 
8297
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
8298
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
8299
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
8300
  (John Arbash Meinel, #111227)
 
8301
 
 
8302
* Handle when someone renames a file on disk without telling bzr.
 
8303
  Previously we would report the first file as missing, but not show
 
8304
  the new unknown file. (John Arbash Meinel, #111288)
 
8305
 
 
8306
* Avoid error when running hooks after pulling into or pushing from
 
8307
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
8308
 
 
8309
Improvements
 
8310
************
 
8311
 
 
8312
* Move developer documentation to doc/developers/. This reduces clutter in
 
8313
  the root of the source tree and allows HACKING to be split into multiple
 
8314
  files. (Robert Collins, Alexander Belchenko)
 
8315
 
 
8316
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
8317
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
8318
  diff`` and ``bzr status`` significantly improving the speed of
 
8319
  both. (John Arbash Meinel)
 
8320
 
 
8321
bzr 0.16rc2
 
8322
###########
 
8323
 
 
8324
:Released:  2007-04-30
 
8325
 
 
8326
Bugfixes
 
8327
********
 
8328
 
 
8329
* Handle the case when you delete a file, and then rename another file
 
8330
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
8331
  status`` should show the removed file and an unknown file in its
 
8332
  place. (John Arbash Meinel, #109993)
 
8333
 
 
8334
* Bundles properly read and write revision properties that have an
 
8335
  empty value. And when the value is not ASCII.
 
8336
  (John Arbash Meinel, #109613)
 
8337
 
 
8338
* Fix the bzr commit message to be in text mode.
 
8339
  (Alexander Belchenko, #110901)
 
8340
 
 
8341
* Also handle when you rename a file and create a file where it used
 
8342
  to be. (John Arbash Meinel, #110256)
 
8343
 
 
8344
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
8345
  directories. (John Arbash Meinel, #110399)
 
8346
 
 
8347
bzr 0.16rc1
 
8348
###########
 
8349
 
 
8350
:Released:  2007-04-26
 
8351
 
 
8352
Notes When Upgrading
 
8353
********************
 
8354
 
 
8355
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
8356
  it could be recovered again.
 
8357
  This has been done for consistency with svn and the unix rm command.
 
8358
  The old ``remove`` behaviour has been retained in the new option
 
8359
  ``bzr remove --keep``, which will just stop versioning the file,
 
8360
  but not delete it.
 
8361
  ``bzr remove --force`` have been added which will always delete the
 
8362
  files.
 
8363
  ``bzr remove`` is also more verbose.
 
8364
  (Marius Kruger, #82602)
 
8365
 
 
8366
Improvements
 
8367
************
 
8368
 
 
8369
* Merge directives can now be supplied as input to `merge` and `pull`,
 
8370
  like bundles can.  (Aaron Bentley)
 
8371
 
 
8372
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
8373
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
8374
  to continue.  This can be disabled by setting the environment variable
 
8375
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
8376
 
 
8377
* selftest now supports --list-only to list tests instead of running
 
8378
  them. (Ian Clatworthy)
 
8379
 
 
8380
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
8381
  tests with names that match that regular expression.
 
8382
  (Ian Clatworthy, #102679)
 
8383
 
 
8384
* selftest now supports --randomize SEED to run tests in a random order.
 
8385
  SEED is typically the value 'now' meaning 'use the current time'.
 
8386
  (Ian Clatworthy, #102686)
 
8387
 
 
8388
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
8389
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
8390
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
8391
 
 
8392
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
8393
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
8394
  Robert Collins)
 
8395
 
 
8396
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
8397
  Pool)
 
8398
 
 
8399
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
8400
  into using local variables instead of going through ``self._var``.
 
8401
  Improves the time to ``merge_sort`` a 10k revision graph by
 
8402
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
8403
 
 
8404
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
8405
  (Robert Collins)
 
8406
 
 
8407
* ``bzr help`` now provides cross references to other help topics using
 
8408
  the _see_also facility on command classes. Likewise the bzr_man
 
8409
  documentation, and the bzr.1 man page also include this information.
 
8410
  (Robert Collins)
 
8411
 
 
8412
* Tags are now included in logs, that use the long log formatter.
 
8413
  (Erik Bågfors, Alexander Belchenko)
 
8414
 
 
8415
* ``bzr help`` provides a clearer message when a help topic cannot be
 
8416
  found. (Robert Collins, #107656)
 
8417
 
 
8418
* ``bzr help`` now accepts optional prefixes for command help. The help
 
8419
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
8420
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
8421
  where the name is not the same as a more general help topic).
 
8422
  (Robert Collins)
 
8423
 
 
8424
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
8425
  plugin PLUGINNAME. (Robert Collins, #50408)
 
8426
 
 
8427
* New help topic ``urlspec`` which lists the availables transports.
 
8428
  (Goffredo Baroncelli)
 
8429
 
 
8430
* doc/server.txt updated to document the default bzr:// port
 
8431
  and also update the blurb about the hpss' current status.
 
8432
  (Robert Collins, #107125).
 
8433
 
 
8434
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
8435
  serve out to the local LAN (and anyone in the world that can reach the
 
8436
  machine running ``bzr serve``. (Robert Collins, #98918)
 
8437
 
 
8438
* A new smart server protocol version has been added.  It prefixes requests
 
8439
  and responses with an explicit version identifier so that future protocol
 
8440
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
8441
 
 
8442
* The bzr protocol version 2 indicates success or failure in every response
 
8443
  without depending on particular commands encoding that consistently,
 
8444
  allowing future client refactorings to be much more robust about error
 
8445
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
8446
 
 
8447
* The smart protocol over HTTP client has been changed to always post to the
 
8448
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
8449
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
8450
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
8451
 
 
8452
* digest authentication is now supported for proxies and HTTP by the urllib
 
8453
  based http implementation. Tested against Apache 2.0.55 and Squid
 
8454
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
8455
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
8456
  proxy environment variables for proxies), the password is prompted for
 
8457
  (only once). If the password is provided, it is taken into account. Once
 
8458
  the first authentication is successful, all further authentication
 
8459
  roundtrips are avoided by preventively setting the right authentication
 
8460
  header(s).
 
8461
  (Vincent Ladeuil).
 
8462
 
 
8463
Internals
 
8464
*********
 
8465
 
 
8466
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
8467
  code paths. (Robert Collins)
 
8468
 
 
8469
* Change the format of chroot urls so that they can be safely manipulated
 
8470
  by generic url utilities without causing the resulting urls to have
 
8471
  escaped the chroot. A side effect of this is that creating a chroot
 
8472
  requires an explicit action using a ChrootServer.
 
8473
  (Robert Collins, Andrew Bennetts)
 
8474
 
 
8475
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
8476
  rather than fixing bug #96847.  (Aaron Bentley)
 
8477
 
 
8478
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
8479
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
8480
 
 
8481
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
8482
  do not silently pass.  (Aaron Bentley)
 
8483
 
 
8484
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
8485
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
8486
 
 
8487
* New SmartServer hooks facility. There are two initial hooks documented
 
8488
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
8489
  plugins to execute code upon server startup and shutdown.
 
8490
  (Robert Collins).
 
8491
 
 
8492
* SmartServer in standalone mode will now close its listening socket
 
8493
  when it stops, rather than waiting for garbage collection. This primarily
 
8494
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
8495
  It may also help improve behaviour when dealing with a server running
 
8496
  on a specific port (rather than dynamically assigned ports).
 
8497
  (Robert Collins)
 
8498
 
 
8499
* Move most SmartServer code into a new package, bzrlib/smart.
 
8500
  bzrlib/transport/remote.py contains just the Transport classes that used
 
8501
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
8502
 
 
8503
* urllib http implementation avoid roundtrips associated with
 
8504
  401 (and 407) errors once the authentication succeeds.
 
8505
  (Vincent Ladeuil).
 
8506
 
 
8507
* urlib http now supports querying the user for a proxy password if
 
8508
  needed. Realm is shown in the prompt for both HTTP and proxy
 
8509
  authentication when the user is required to type a password.
 
8510
  (Vincent Ladeuil).
 
8511
 
 
8512
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
8513
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
8514
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
8515
  it's not really a "smart" transport, just one that does file operations
 
8516
  via remote procedure calls.  (Andrew Bennetts)
 
8517
 
 
8518
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
8519
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
8520
  instances of those objects can share a lock if it has the right token.
 
8521
  (Andrew Bennetts, Robert Collins)
 
8522
 
 
8523
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
8524
  branch references - which the smart server component needs.
 
8525
 
 
8526
* The Repository API ``make_working_trees`` is now permitted to return
 
8527
  False when ``set_make_working_trees`` is not implemented - previously
 
8528
  an unimplemented ``set_make_working_trees`` implied the result True
 
8529
  from ``make_working_trees``. This has been changed to accomodate the
 
8530
  smart server, where it does not make sense (at this point) to ever
 
8531
  make working trees by default. (Robert Collins)
 
8532
 
 
8533
* Command objects can now declare related help topics by having _see_also
 
8534
  set to a list of related topic. (Robert Collins)
 
8535
 
 
8536
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
8537
  help. (Robert Collins)
 
8538
 
 
8539
* New class ``TransportListRegistry``, derived from the Registry class, which
 
8540
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
8541
 
 
8542
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
8543
  return a dictionary mapping revision ids to dotted revnos. Since
 
8544
  dotted revnos are defined in the context of the branch tip, it makes
 
8545
  sense to generate them from a ``Branch`` object.
 
8546
  (John Arbash Meinel)
 
8547
 
 
8548
* Fix the 'Unprintable error' message display to use the repr of the
 
8549
  exception that prevented printing the error because the str value
 
8550
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
8551
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
8552
  useful. (Robert Collins)
 
8553
 
 
8554
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
8555
  (Andrew Bennetts)
 
8556
 
 
8557
Bugfixes
 
8558
********
 
8559
 
 
8560
* Don't fail bundle selftest if email has 'two' embedded.
 
8561
  (Ian Clatworthy, #98510)
 
8562
 
 
8563
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
8564
  (Robert Widhopf-Fenk, #98591)
 
8565
 
 
8566
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
8567
  properly and is no longer beneficial.
 
8568
  (Robert Collins, #53675, #43486)
 
8569
 
 
8570
* Don't produce encoding error when adding duplicate files.
 
8571
  (Aaron Bentley)
 
8572
 
 
8573
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
8574
  the file, and does it faster.
 
8575
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
8576
 
 
8577
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
8578
  an empty versioned directory, which now has files in it.
 
8579
  (John Arbash Meinel, #104257)
 
8580
 
 
8581
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
8582
  inside the ancestry of the other. Saves a lot of graph processing
 
8583
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
8584
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
8585
 
 
8586
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
8587
  and the containing directory is renamed. (The file path is different
 
8588
  in this versus base, but it isn't marked as a rename).
 
8589
  (John Arbash Meinel, #103870)
 
8590
 
 
8591
* FTP now works even when the FTP server does not support atomic rename.
 
8592
  (Aaron Bentley, #89436)
 
8593
 
 
8594
* Correct handling in bundles and merge directives of timezones with
 
8595
  that are not an integer number of hours offset from UTC.  Always
 
8596
  represent the epoch time in UTC to avoid problems with formatting
 
8597
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
8598
  Arbash Meinel)
 
8599
 
 
8600
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
8601
 
 
8602
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
8603
  with old versions of bzr. (Aaron Bentley, #107168))
 
8604
 
 
8605
* Handle moving a directory when children have been added, removed,
 
8606
  and renamed. (John Arbash Meinel, #105479)
 
8607
 
 
8608
* Don't preventively use basic authentication for proxy before receiving a
 
8609
  407 error. Otherwise people willing to use other authentication schemes
 
8610
  may expose their password in the clear (or nearly). This add one
 
8611
  roundtrip in case basic authentication should be used, but plug the
 
8612
  security hole.
 
8613
  (Vincent Ladeuil)
 
8614
 
 
8615
* Handle http and proxy digest authentication.
 
8616
  (Vincent Ladeuil, #94034).
 
8617
 
 
8618
Testing
 
8619
*******
 
8620
 
 
8621
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
8622
  return a StraceResult object which contains just the syscalls involved
 
8623
  in running it. (Robert Collins)
 
8624
 
 
8625
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
8626
  default time down to one suitable for tests. (Andrew Bennetts)
 
8627
 
 
8628
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
8629
  common vfs backing for both the readonly and readwrite transports.
 
8630
  This allows the RemoteObject tests to back onto local disk or memory,
 
8631
  and use the existing ``transport_server`` attribute all tests know about
 
8632
  to be the smart server transport. This in turn allows tests to
 
8633
  differentiate between 'transport to access the branch', and
 
8634
  'transport which is a VFS' - which matters in Remote* tests.
 
8635
  (Robert Collins, Andrew Bennetts)
 
8636
 
 
8637
* The ``make_branch_and_tree`` method for tests will now create a
 
8638
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
8639
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
8640
 
 
8641
* Branch implementation tests have been audited to ensure that all urls
 
8642
  passed to Branch APIs use proper urls, except when local-disk paths
 
8643
  are intended. This is so that tests correctly access the test transport
 
8644
  which is often not equivalent to local disk in Remote* tests. As part
 
8645
  of this many tests were adjusted to remove dependencies on local disk
 
8646
  access.
 
8647
  (Robert Collins, Andrew Bennetts)
 
8648
 
 
8649
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
8650
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
8651
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
8652
 
 
8653
* Refactored proxy and authentication handling to simplify the
 
8654
  implementation of new auth schemes for both http and proxy.
 
8655
  (Vincent Ladeuil)
 
8656
 
 
8657
bzr 0.15
 
8658
########
 
8659
 
 
8660
:Released: 2007-04-01
 
8661
 
 
8662
Bugfixes
 
8663
********
 
8664
 
 
8665
* Handle incompatible repositories as a user issue when fetching.
 
8666
  (Aaron Bentley)
 
8667
 
 
8668
* Don't give a recommendation to upgrade when branching or
 
8669
  checking out a branch that contains an old-format working tree.
 
8670
  (Martin Pool)
 
8671
 
 
8672
bzr 0.15rc3
 
8673
###########
 
8674
 
 
8675
:Released:  2007-03-26
 
8676
 
 
8677
Changes
 
8678
*******
 
8679
 
 
8680
* A warning is now displayed when opening working trees in older
 
8681
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
8682
  (Martin Pool)
 
8683
 
 
8684
Improvements
 
8685
************
 
8686
 
 
8687
* HTTP redirections are now taken into account when a branch (or a
 
8688
  bundle) is accessed for the first time. A message is issued at each
 
8689
  redirection to inform the user. In the past, http redirections were
 
8690
  silently followed for each request which significantly degraded the
 
8691
  performances. The http redirections are not followed anymore by
 
8692
  default, instead a RedirectRequested exception is raised. For bzrlib
 
8693
  users needing to follow http redirections anyway,
 
8694
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
8695
  path.  (vila)
 
8696
 
 
8697
Internals
 
8698
*********
 
8699
 
 
8700
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
8701
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
8702
  needs to unlock in between. (John Arbash Meinel)
 
8703
 
 
8704
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
8705
  to silence (when false) warnings about opening old formats.
 
8706
  (Martin Pool)
 
8707
 
 
8708
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
8709
  trees. (We were reading the working inventory too many times).
 
8710
  (John Arbash Meinel)
 
8711
 
 
8712
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
8713
  ``revision_history``.  Branch subclasses should override
 
8714
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
8715
  this cache, and call ``_clear_revision_history_cache`` and
 
8716
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
8717
 
 
8718
Bugfixes
 
8719
********
 
8720
 
 
8721
* Take ``smtp_server`` from user config into account.
 
8722
  (vila, #92195)
 
8723
 
 
8724
* Restore Unicode filename handling for versioned and unversioned files.
 
8725
  (John Arbash Meinel, #92608)
 
8726
 
 
8727
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
8728
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
8729
 
 
8730
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
8731
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
8732
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
8733
 
 
8734
* ``bzr checkout source`` should create a local branch in the same
 
8735
  format as source. (John Arbash Meinel, #93854)
 
8736
 
 
8737
* ``bzr commit`` with a kind change was failing to update the
 
8738
  last-changed-revision for directories.  The
 
8739
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
8740
  ignoring the fact that the kind could have changed, too.
 
8741
  (John Arbash Meinel, #90111)
 
8742
 
 
8743
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
8744
  the directory. So that there was a chance it would break commit,
 
8745
  etc. (John Arbash Meinel, #94037)
 
8746
 
 
8747
* Correctly handles mutiple permanent http redirections.
 
8748
  (vila, #88780)
 
8749
 
 
8750
bzr 0.15rc2
 
8751
###########
 
8752
 
 
8753
:Released:  2007-03-14
 
8754
 
 
8755
Notes When Upgrading
 
8756
********************
 
8757
 
 
8758
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
8759
  default to ``--trees`` instead of ``--no-trees``.
 
8760
  Existing shared repositories are not affected.
 
8761
 
 
8762
Improvements
 
8763
************
 
8764
 
 
8765
* New ``merge-directive`` command to generate machine- and human-readable
 
8766
  merge requests.  (Aaron Bentley)
 
8767
 
 
8768
* New ``submit:`` revision specifier makes it easy to diff against the
 
8769
  common ancestor with the submit location (Aaron Bentley)
 
8770
 
 
8771
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
8772
 
 
8773
* Added ``bzr status --versioned`` to report only versioned files,
 
8774
  not unknowns. (Kent Gibson)
 
8775
 
 
8776
* Merge now autodetects the correct line-ending style for its conflict
 
8777
  markers.  (Aaron Bentley)
 
8778
 
 
8779
Internals
 
8780
*********
 
8781
 
 
8782
* Refactored SSH vendor registration into SSHVendorManager class.
 
8783
  (Dmitry Vasiliev)
 
8784
 
 
8785
Bugfixes
 
8786
********
 
8787
 
 
8788
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
8789
  numbered dirs for TestCaseInTempDir. This is default behavior
 
8790
  on Windows. Anyone can force named dirs on Windows
 
8791
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
8792
 
 
8793
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
8794
  from the command line. (Marien Zwart, #90501)
 
8795
 
 
8796
* Fix ``TreeTransform._iter_changes`` when both the source and
 
8797
  destination are missing. (Aaron Bentley, #88842)
 
8798
 
 
8799
* Fix commit of merges with symlinks in dirstate trees.
 
8800
  (Marien Zwart)
 
8801
 
 
8802
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
8803
  (Wouter van Heyst, #53483)
 
8804
 
 
8805
 
 
8806
bzr 0.15rc1
 
8807
###########
 
8808
 
 
8809
:Released:  2007-03-07
 
8810
 
 
8811
Surprises
 
8812
*********
 
8813
 
 
8814
* The default disk format has changed. Please run 'bzr upgrade' in your
 
8815
  working trees to upgrade. This new default is compatible for network
 
8816
  operations, but not for local operations. That is, if you have two
 
8817
  versions of bzr installed locally, after upgrading you can only use the
 
8818
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
8819
  as they are incompatible with bzr versions before 0.15 over the network.
 
8820
 
 
8821
* For users of bzrlib: Two major changes have been made to the working tree
 
8822
  api in bzrlib. The first is that many methods and attributes, including
 
8823
  the inventory attribute, are no longer valid for use until one of
 
8824
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
8825
  and become invalid again after unlock is called. This has been done
 
8826
  to improve performance and correctness as part of the dirstate
 
8827
  development.
 
8828
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
8829
 
 
8830
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
8831
  readonly. Previously it was possible to directly alter this attribute, or
 
8832
  its contents, and have the tree notice this. This has been made
 
8833
  unsupported - it may work in some tree formats, but in the newer dirstate
 
8834
  format such actions will have no effect and will be ignored, or even
 
8835
  cause assertions. All operations possible can still be carried out by a
 
8836
  combination of the tree API, and the bzrlib.transform API. (Robert
 
8837
  Collins, John A Meinel, Martin Pool, and others).
 
8838
 
 
8839
Improvements
 
8840
************
 
8841
 
 
8842
* Support for OS Windows 98. Also .bzr.log on any windows system
 
8843
  saved in My Documents folder. (Alexander Belchenko)
 
8844
 
 
8845
* ``bzr mv`` enhanced to support already moved files.
 
8846
  In the past the mv command would have failed if the source file doesn't
 
8847
  exist. In this situation ``bzr mv`` would now detect that the file has
 
8848
  already moved and update the repository accordingly, if the target file
 
8849
  does exist.
 
8850
  A new option ``--after`` has been added so that if two files already
 
8851
  exist, you could notify Bazaar that you have moved a (versioned) file
 
8852
  and replaced it with another. Thus in this case ``bzr move --after``
 
8853
  will only update the Bazaar identifier.
 
8854
  (Steffen Eichenberg, Marius Kruger)
 
8855
 
 
8856
* ``ls`` now works on treeless branches and remote branches.
 
8857
  (Aaron Bentley)
 
8858
 
 
8859
* ``bzr help global-options`` describes the global options.
 
8860
  (Aaron Bentley)
 
8861
 
 
8862
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
8863
  (Robert Collins)
 
8864
 
 
8865
* Files are now allowed to change kind (e.g. from file to symlink).
 
8866
  Supported by ``commit``, ``revert`` and ``status``
 
8867
  (Aaron Bentley)
 
8868
 
 
8869
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
8870
  (Aaron Bentley)
 
8871
 
 
8872
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
8873
  uses of them. (James Westby, Aaron Bentley)
 
8874
 
 
8875
* A new ``-d`` option to push, pull and merge overrides the default
 
8876
  directory.  (Martin Pool)
 
8877
 
 
8878
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
8879
  ``append_history_only`` mode, where the log view and revnos do not change,
 
8880
  except by being added to.  Stores policy settings in
 
8881
  ".bzr/branch/branch.conf".
 
8882
 
 
8883
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
8884
  view and revnos are always consistent.  Either create the branch using
 
8885
  "bzr init --append-revisions-only" or edit the config file as descriped
 
8886
  in docs/configuration.txt.
 
8887
 
 
8888
* rebind: Format 6 branches retain the last-used bind location, so if you
 
8889
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
8890
  bind location.
 
8891
 
 
8892
* Builtin tags support, created and deleted by the ``tag`` command and
 
8893
  stored in the branch.  Tags can be accessed with the revisionspec
 
8894
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
8895
  at present. Tags require a network incompatible upgrade. To perform this
 
8896
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
8897
  repositories. (Martin Pool)
 
8898
 
 
8899
* The ``bzr://`` transport now has a well-known port number, 4155,
 
8900
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
8901
 
 
8902
* Bazaar now looks for user-installed plugins before looking for site-wide
 
8903
  plugins. (Jonathan Lange)
 
8904
 
 
8905
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
8906
  (Aaron Bentley)
 
8907
 
 
8908
Internals
 
8909
*********
 
8910
 
 
8911
* Internally revision ids and file ids are now passed around as utf-8
 
8912
  bytestrings, rather than treating them as Unicode strings. This has
 
8913
  performance benefits for Knits, since we no longer need to decode the
 
8914
  revision id for each line of content, nor for each entry in the index.
 
8915
  This will also help with the future dirstate format.
 
8916
  (John Arbash Meinel)
 
8917
 
 
8918
* Reserved ids (any revision-id ending in a colon) are rejected by
 
8919
  versionedfiles, repositories, branches, and working trees
 
8920
  (Aaron Bentley)
 
8921
 
 
8922
* Minor performance improvement by not creating a ProgressBar for
 
8923
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
8924
  (John Arbash Meinel)
 
8925
 
 
8926
* New easier to use Branch hooks facility. There are five initial hooks,
 
8927
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
8928
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
8929
  ``'post_uncommit'``. These hooks fire after the matching operation
 
8930
  on a branch has taken place, and were originally added for the
 
8931
  branchrss plugin. (Robert Collins)
 
8932
 
 
8933
* New method ``Branch.push()`` which should be used when pushing from a
 
8934
  branch as it makes performance and policy decisions to match the UI
 
8935
  level command ``push``. (Robert Collins).
 
8936
 
 
8937
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
8938
  trees for arbitrary revisions. This allows the in development dirstate
 
8939
  tree format to provide access to the callers to cached copies of
 
8940
  inventory data which are cheaper to access than inventories from the
 
8941
  repository.
 
8942
  (Robert Collins, Martin Pool)
 
8943
 
 
8944
* New ``Branch.last_revision_info`` method, this is being done to allow
 
8945
  optimization of requests for both the number of revisions and the last
 
8946
  revision of a branch with smartservers and potentially future branch
 
8947
  formats. (Wouter van Heyst, Robert Collins)
 
8948
 
 
8949
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
8950
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
8951
  other for code reuse without requiring users to perform file-renaming
 
8952
  gymnastics. (Robert Collins)
 
8953
 
 
8954
* New Repository method ``'gather_stats'`` for statistic data collection.
 
8955
  This is expected to grow to cover a number of related uses mainly
 
8956
  related to bzr info. (Robert Collins)
 
8957
 
 
8958
* Log formatters are now managed with a registry.
 
8959
  ``log.register_formatter`` continues to work, but callers accessing
 
8960
  the FORMATTERS dictionary directly will not.
 
8961
 
 
8962
* Allow a start message to be passed to the ``edit_commit_message``
 
8963
  function.  This will be placed in the message offered to the user
 
8964
  for editing above the separator. It allows a template commit message
 
8965
  to be used more easily. (James Westby)
 
8966
 
 
8967
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
8968
  you pass a Unicode string rather than an 8-bit string. Callers need
 
8969
  to be updated to encode first. (John Arbash Meinel)
 
8970
 
 
8971
* Branch.push, pull, merge now return Result objects with information
 
8972
  about what happened, rather than a scattering of various methods.  These
 
8973
  are also passed to the post hooks.  (Martin Pool)
 
8974
 
 
8975
* File formats and architecture is in place for managing a forest of trees
 
8976
  in bzr, and splitting up existing trees into smaller subtrees, and
 
8977
  finally joining trees to make a larger tree. This is the first iteration
 
8978
  of this support, and the user-facing aspects still require substantial
 
8979
  work.  If you wish to experiment with it, use ``bzr upgrade
 
8980
  --dirstate-with-subtree`` in your working trees and repositories.
 
8981
  You can use the hidden commands ``split`` and ``join`` and to create
 
8982
  and manipulate nested trees, but please consider using the nested-trees
 
8983
  branch, which contains substantial UI improvements, instead.
 
8984
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
8985
  (Aaron Bentley, Martin Pool, Robert Collins).
 
8986
 
 
8987
Bugfixes
 
8988
********
 
8989
 
 
8990
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
8991
  branch, rather than the last changed revision of the file.
 
8992
  (John Arbash Meinel, #82158)
 
8993
 
 
8994
* Lock operations no longer hang if they encounter a permission problem.
 
8995
  (Aaron Bentley)
 
8996
 
 
8997
* ``bzr push`` can resume a push that was canceled before it finished.
 
8998
  Also, it can push even if the target directory exists if you supply
 
8999
  the ``--use-existing-dir`` flag.
 
9000
  (John Arbash Meinel, #30576, #45504)
 
9001
 
 
9002
* Fix http proxy authentication when user and an optional
 
9003
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
9004
  #83954).
 
9005
 
 
9006
* ``bzr log branch/file`` works for local treeless branches
 
9007
  (Aaron Bentley, #84247)
 
9008
 
 
9009
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
9010
 
 
9011
* Searching location of CA bundle for PyCurl in env variable
 
9012
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
9013
  (Alexander Belchenko, #82086)
 
9014
 
 
9015
* ``bzr init`` works with unicode argument LOCATION.
 
9016
  (Alexander Belchenko, #85599)
 
9017
 
 
9018
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
9019
  (Vincent Ladeuil, #85305)
 
9020
 
 
9021
* Invalid proxy env variables should not cause a traceback.
 
9022
  (Vincent Ladeuil, #87765)
 
9023
 
 
9024
* Ignore patterns normalised to use '/' path separator.
 
9025
  (Kent Gibson, #86451)
 
9026
 
 
9027
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
9028
 
 
9029
* Fix bzrtools shelve command for removed lines beginning with "--"
 
9030
  (Johan Dahlberg, #75577)
 
9031
 
 
9032
Testing
 
9033
*******
 
9034
 
 
9035
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
9036
  before the rest of the suite.  (Martin Pool)
 
9037
 
 
9038
 
 
9039
bzr 0.14
 
9040
########
 
9041
 
 
9042
:Released:  2007-01-23
 
9043
 
 
9044
Improvements
 
9045
************
 
9046
 
 
9047
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
9048
 
 
9049
Bug Fixes
 
9050
*********
 
9051
 
 
9052
* Skip documentation generation tests if the tools to do so are not
 
9053
  available. Fixes running selftest for installled copies of bzr.
 
9054
  (John Arbash Meinel, #80330)
 
9055
 
 
9056
* Fix the code that discovers whether bzr is being run from it's
 
9057
  working tree to handle the case when it isn't but the directory
 
9058
  it is in is below a repository. (James Westby, #77306)
 
9059
 
 
9060
 
 
9061
bzr 0.14rc1
 
9062
###########
 
9063
 
 
9064
:Released:  2007-01-16
 
9065
 
 
9066
Improvements
 
9067
************
 
9068
 
 
9069
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
9070
  protocol over an HTTP connection. If writing is enabled on the bzr
 
9071
  server, then you can write over the http connection.
 
9072
  (Andrew Bennetts, John Arbash Meinel)
 
9073
 
 
9074
* Aliases now support quotation marks, so they can contain whitespace
 
9075
  (Marius Kruger)
 
9076
 
 
9077
* PyCurlTransport now use a single curl object. By specifying explicitly
 
9078
  the 'Range' header, we avoid the need to use two different curl objects
 
9079
  (and two connections to the same server). (Vincent Ladeuil)
 
9080
 
 
9081
* ``bzr commit`` does not prompt for a message until it is very likely to
 
9082
  succeed.  (Aaron Bentley)
 
9083
 
 
9084
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
9085
  (Aaron Bentley)
 
9086
 
 
9087
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
9088
  of a list while checking if a revision id was requested. Takes 10s
 
9089
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
9090
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
9091
  filtering lines with a regex rather than multiple ``str.find()``
 
9092
  calls. (saves another 300ms) (John Arbash Meinel)
 
9093
 
 
9094
* Policy can be set for each configuration key. This allows keys to be
 
9095
  inherited properly across configuration entries. For example, this
 
9096
  should enable you to do::
 
9097
 
 
9098
    [/home/user/project]
 
9099
    push_location = sftp://host/srv/project/
 
9100
    push_location:policy = appendpath
 
9101
 
 
9102
  And then a branch like ``/home/user/project/mybranch`` should get an
 
9103
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
9104
  (James Henstridge)
 
9105
 
 
9106
* Added ``bzr status --short`` to make status report svn style flags
 
9107
  for each file.  For example::
 
9108
 
 
9109
    $ bzr status --short
 
9110
    A  foo
 
9111
    A  bar
 
9112
    D  baz
 
9113
    ?  wooley
 
9114
 
 
9115
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
9116
  directories without running tests. (Alexander Belchenko)
 
9117
 
 
9118
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
9119
 
 
9120
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
9121
  local is fully merged into remote. (Jan Hudec)
 
9122
 
 
9123
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
9124
 
 
9125
Internals
 
9126
*********
 
9127
 
 
9128
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
9129
  help speed up processing, as well allowing to extract unannotated
 
9130
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
9131
  improved by approx 10%. (John Arbash Meinel)
 
9132
 
 
9133
* Change Revision serialization to only write out millisecond
 
9134
  resolution. Rather than expecting floating point serialization to
 
9135
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
9136
 
 
9137
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
9138
 
 
9139
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
9140
  force sys.stdout to be a binary stream on Windows, and therefore
 
9141
  keep exact line-endings (without LF -> CRLF conversion).
 
9142
  (Alexander Belchenko)
 
9143
 
 
9144
* Single-letter short options are no longer globally declared.  (Martin
 
9145
  Pool)
 
9146
 
 
9147
* Before using detected user/terminal encoding bzr should check
 
9148
  that Python has corresponding codec. (Alexander Belchenko)
 
9149
 
 
9150
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
9151
 
 
9152
Bug Fixes
 
9153
*********
 
9154
 
 
9155
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
9156
  direction. (John Arbash Meinel)
 
9157
 
 
9158
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
9159
  revisions. It cuts them off at a depth of 12 characters, but you can
 
9160
  supply ``--long`` to see the full number. You can also use
 
9161
  ``--show-ids`` to display the original revision ids, rather than
 
9162
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
9163
 
 
9164
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
9165
  (Alexander Belchenko, #57869)
 
9166
 
 
9167
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
9168
  line-endings (Alexander Belchenko, #55276)
 
9169
 
 
9170
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
9171
  matcher.
 
9172
  (Kent Gibson, Jan Hudec #57637)
 
9173
 
 
9174
* pycurl and urllib can detect short reads at different places. Update
 
9175
  the test suite to test more cases. Also detect http error code 416
 
9176
  which was raised for that specific bug. Also enhance the urllib
 
9177
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
9178
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
9179
 
 
9180
* The urllib connection sharing interacts badly with urllib2
 
9181
  proxy setting (the connections didn't go thru the proxy
 
9182
  anymore). Defining a proper ProxyHandler solves the
 
9183
  problem.  (Vincent Ladeuil, #74759)
 
9184
 
 
9185
* Use urlutils to generate relative URLs, not osutils
 
9186
  (Aaron Bentley, #76229)
 
9187
 
 
9188
* ``bzr status`` in a readonly directory should work without giving
 
9189
  lots of errors. (John Arbash Meinel, #76299)
 
9190
 
 
9191
* Mention the revisionspec topic for the revision option help.
 
9192
  (Wouter van Heyst, #31663)
 
9193
 
 
9194
* Allow plugins import from zip archives.
 
9195
  (Alexander Belchenko, #68124)
 
9196
 
 
9197
 
 
9198
bzr 0.13
 
9199
########
 
9200
 
 
9201
:Released:  2006-12-05
 
9202
 
 
9203
No changes from 0.13rc
 
9204
 
 
9205
 
 
9206
bzr 0.13rc1
 
9207
###########
 
9208
 
 
9209
:Released:  2006-11-27
 
9210
 
 
9211
Improvements
 
9212
************
 
9213
 
 
9214
* New command ``bzr remove-tree`` allows the removal of the working
 
9215
  tree from a branch.
 
9216
  (Daniel Silverstone)
 
9217
 
 
9218
* urllib uses shared keep-alive connections, so http
 
9219
  operations are substantially faster.
 
9220
  (Vincent Ladeuil, #53654)
 
9221
 
 
9222
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
9223
  tree from some other url. For example:
 
9224
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
9225
  (Daniel Silverstone)
 
9226
 
 
9227
* Added ``bzr help topics`` to the bzr help system. This gives a
 
9228
  location for general information, outside of a specific command.
 
9229
  This includes updates for ``bzr help revisionspec`` the first topic
 
9230
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
9231
 
 
9232
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
9233
  (Andrew Bennetts)
 
9234
 
 
9235
* Knit files will now cache full texts only when the size of the
 
9236
  deltas is as large as the size of the fulltext. (Or after 200
 
9237
  deltas, whichever comes first). This has the most benefit on large
 
9238
  files with small changes, such as the inventory for a large project.
 
9239
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
9240
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
9241
 
 
9242
Internals
 
9243
*********
 
9244
 
 
9245
* New -D option given before the command line turns on debugging output
 
9246
  for particular areas.  -Derror shows tracebacks on all errors.
 
9247
  (Martin Pool)
 
9248
 
 
9249
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
9250
  and remove benchmarks that take longer than 10min to run.
 
9251
  (John Arbash Meinel)
 
9252
 
 
9253
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
9254
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
9255
  so over a high-latency connection, too many updates get throttled.
 
9256
  (John Arbash Meinel)
 
9257
 
 
9258
* ``MemoryTransport.list_dir()`` would strip the first character for
 
9259
  files or directories in root directory. (John Arbash Meinel)
 
9260
 
 
9261
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
9262
  branch references - which the smart server component needs.
 
9263
 
 
9264
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
9265
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
9266
  Bennetts)
 
9267
 
 
9268
Bug Fixes
 
9269
*********
 
9270
 
 
9271
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
9272
  And optimize the knit index parsing code.
 
9273
  (Dmitry Vasiliev, John Arbash Meinel)
 
9274
 
 
9275
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
9276
  without importing it. This prevented ``bzr upgrade`` from working
 
9277
  unless a plugin already imported ``bzrlib.workingtree``
 
9278
  (John Arbash Meinel, #70716)
 
9279
 
 
9280
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
9281
 
 
9282
* Give nicer error message when an http server returns a 403
 
9283
  error code. (Vincent Ladeuil, #57644).
 
9284
 
 
9285
* When a multi-range http GET request fails, try a single
 
9286
  range one. If it fails too, forget about ranges. Remember that until
 
9287
  the death of the transport and propagates that to the clones.
 
9288
  (Vincent Ladeuil, #62276, #62029).
 
9289
 
 
9290
* Handles user/passwords supplied in url from command
 
9291
  line (for the urllib implementation). Don't request already
 
9292
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
9293
 
 
9294
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
9295
  are added. This fixes bug where fetching remote revisions records
 
9296
  them as full references rather than integers.
 
9297
  (John Arbash Meinel, #64789)
 
9298
 
 
9299
* ``bzr ignore`` strips trailing slashes in patterns.
 
9300
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
9301
 
 
9302
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
9303
 
 
9304
* mv correctly handles paths that traverse symlinks.
 
9305
  (Aaron Bentley, #66964)
 
9306
 
 
9307
* Give nicer looking error messages when failing to connect over ssh.
 
9308
  (John Arbash Meinel, #49172)
 
9309
 
 
9310
* Pushing to a remote branch does not currently update the remote working
 
9311
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
9312
  machine now show that the working tree is out of date.
 
9313
  (Cheuksan Edward Wang #48136)
 
9314
 
 
9315
* Use patiencediff instead of difflib for determining deltas to insert
 
9316
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
9317
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
9318
 
 
9319
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
9320
  entire log history. (Cheuksan Edward Wang #50793)
 
9321
 
 
9322
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
9323
  pathname is ambiguous, i.e. the files in the old and new trees have
 
9324
  different id's, the default is the file in the new tree. The user can
 
9325
  use "--name-from-revision" to select the file in the old tree.
 
9326
  (Cheuksan Edward Wang, #30190)
 
9327
 
 
9328
Testing
 
9329
*******
 
9330
 
 
9331
* TestingHTTPRequestHandler really handles the Range header
 
9332
  (previously it was ignoring it and returning the whole file,).
 
9333
 
 
9334
bzr 0.12
 
9335
########
 
9336
 
 
9337
:Released:  2006-10-30
 
9338
 
 
9339
Internals
 
9340
*********
 
9341
 
 
9342
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
9343
  and remove benchmarks that take longer than 10min to run.
 
9344
  (John Arbash Meinel)
 
9345
 
 
9346
bzr 0.12rc1
 
9347
###########
 
9348
 
 
9349
:Released:  2006-10-23
 
9350
 
 
9351
Improvements
 
9352
************
 
9353
 
 
9354
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
9355
  rather than just showing a decimal revision number for revisions on the
 
9356
  mainline. These revision numbers are not yet accepted as input into bzr
 
9357
  commands such as log, diff etc. (Robert Collins)
 
9358
 
 
9359
* revisions can now be specified using dotted-decimal revision numbers.
 
9360
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
9361
 
 
9362
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
9363
 
 
9364
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
9365
  a moderate effect on lots of actions, especially ones that have
 
9366
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
9367
  283ms. (John Arbash Meinel)
 
9368
 
 
9369
* New Registry class to provide name-to-object registry-like support,
 
9370
  for example for schemes where plugins can register new classes to
 
9371
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
9372
  to allow modules to be loaded on request.
 
9373
  (John Arbash Meinel, Adeodato Simó)
 
9374
 
 
9375
API Incompatability
 
9376
*******************
 
9377
 
 
9378
* LogFormatter subclasses show now expect the 'revno' parameter to
 
9379
  show() to be a string rather than an int. (Robert Collins)
 
9380
 
 
9381
Internals
 
9382
*********
 
9383
 
 
9384
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
9385
  can take a ``working_dir='foo'`` parameter, which will change directory
 
9386
  for the command. (John Arbash Meinel)
 
9387
 
 
9388
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
9389
  around a regex, which defers compilation until first use.
 
9390
  (John Arbash Meinel)
 
9391
 
 
9392
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
9393
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
9394
  problems with system-wide installed plugins. (John Arbash Meinel)
 
9395
 
 
9396
* Unique tree root ids are now supported. Newly created trees still
 
9397
  use the common root id for compatibility with bzr versions before 0.12.
 
9398
  (Aaron Bentley)
 
9399
 
 
9400
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
9401
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
9402
  (Robert Collins, John Arbash Meinel)
 
9403
 
 
9404
* New method ``WorkingTree.flush()`` which will write the current memory
 
9405
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
9406
  no longer trash the current tree inventory if it has been modified within
 
9407
  the current lock, and the tree will now ``flush()`` automatically on
 
9408
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
9409
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
9410
 
 
9411
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
9412
  parameter will cause it to add another column to its output, which
 
9413
  contains the dotted-decimal revno for each revision, as a tuple.
 
9414
  (Robert Collins)
 
9415
 
 
9416
* ``LogFormatter.show_merge`` is deprecated in favour of
 
9417
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
9418
 
 
9419
Bug Fixes
 
9420
*********
 
9421
 
 
9422
* Avoid circular imports by creating a deprecated function for
 
9423
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
9424
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
9425
  #66349)
 
9426
 
 
9427
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
9428
  platforms. (Martin Pool, #66356)
 
9429
 
 
9430
* Don't require ``Content-Type`` in range responses. Assume they are a
 
9431
  single range if ``Content-Type`` does not exist.
 
9432
  (John Arbash Meinel, #62473)
 
9433
 
 
9434
* bzr branch/pull no longer complain about progress bar cleanup when
 
9435
  interrupted during fetch.  (Aaron Bentley, #54000)
 
9436
 
 
9437
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
9438
  the basis inventory, rather than going through the repository. This
 
9439
  allows us to have 1 inventory read, and 2 inventory writes when
 
9440
  committing a new tree. (John Arbash Meinel)
 
9441
 
 
9442
* When reverting, files that are not locally modified that do not exist
 
9443
  in the target are deleted, not just unversioned (Aaron Bentley)
 
9444
 
 
9445
* When trying to acquire a lock, don't fail immediately. Instead, try
 
9446
  a few times (up to 1 hour) before timing out. Also, report why the
 
9447
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
9448
 
 
9449
* Leave HttpTransportBase daughter classes decides how they
 
9450
  implement cloning. (Vincent Ladeuil, #61606)
 
9451
 
 
9452
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
9453
 
 
9454
* If a commit fails, the commit message is stored in a file at the root of
 
9455
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
9456
  #32054)
 
9457
 
 
9458
Testing
 
9459
*******
 
9460
 
 
9461
* New test base class TestCaseWithMemoryTransport offers memory-only
 
9462
  testing facilities: its not suitable for tests that need to mutate disk
 
9463
  state, but most tests should not need that and should be converted to
 
9464
  TestCaseWithMemoryTransport. (Robert Collins)
 
9465
 
 
9466
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
9467
  option to set the BzrDir, Repository and Branch formats of the
 
9468
  created objects. (Robert Collins, John Arbash Meinel)
 
9469
 
 
9470
bzr 0.11
 
9471
########
 
9472
 
 
9473
:Released:  2006-10-02
 
9474
 
 
9475
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
9476
 
 
9477
bzr 0.11rc2
 
9478
###########
 
9479
 
 
9480
:Released:  2006-09-27
 
9481
 
 
9482
Bug Fixes
 
9483
*********
 
9484
 
 
9485
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
9486
 
 
9487
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
9488
  Arbash Meinel).
 
9489
 
 
9490
bzr 0.11rc1
 
9491
###########
 
9492
 
 
9493
:Released:  2006-09-25
 
9494
 
 
9495
Improvements
 
9496
************
 
9497
 
 
9498
* Knit files now wait to create their contents until the first data is
 
9499
  added. The old code used to create an empty .knit and a .kndx with just
 
9500
  the header. However, this caused a lot of extra round trips over sftp.
 
9501
  This can change the time for ``bzr push`` to create a new remote branch
 
9502
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
9503
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
9504
  down to 40s (John Arbash Meinel, #44692)
 
9505
 
 
9506
* When an entire subtree has been deleted, commit will now report that
 
9507
  just the top of the subtree has been deleted, rather than reporting
 
9508
  all the individual items. (Robert Collins)
 
9509
 
 
9510
* Commit performs one less XML parse. (Robert Collins)
 
9511
 
 
9512
* ``bzr checkout`` now operates on readonly branches as well
 
9513
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
9514
 
 
9515
* ``bzr bind`` no longer synchronises history with the master branch.
 
9516
  Binding should be followed by an update or push to synchronise the
 
9517
  two branches. This is closely related to the fix for bug #39542.
 
9518
  (Robert Collins)
 
9519
 
 
9520
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
9521
  objects.  This allows all imports to stay at the global scope, but
 
9522
  modules will not actually be imported if they are not used.
 
9523
  (John Arbash Meinel)
 
9524
 
 
9525
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
9526
  transport which will be used with the upcoming high-performance smart
 
9527
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
9528
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
9529
  Pool)
 
9530
 
 
9531
* New command ``bzr version-info`` which can be used to get a summary
 
9532
  of the current state of the tree. This is especially useful as part
 
9533
  of a build commands. See ``doc/version_info.txt`` for more information
 
9534
  (John Arbash Meinel)
 
9535
 
 
9536
Bug Fixes
 
9537
*********
 
9538
 
 
9539
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
9540
  specific set of files. (John Arbash Meinel, #3631)
 
9541
 
 
9542
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
9543
 
 
9544
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
9545
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
9546
  reading a nested Stanza. (John Arbash Meinel)
 
9547
 
 
9548
* Transform._set_mode() needs to stat the right file.
 
9549
  (John Arbash Meinel, #56549)
 
9550
 
 
9551
* Raise WeaveFormatError rather than StopIteration when trying to read
 
9552
  an empty Weave file. (John Arbash Meinel, #46871)
 
9553
 
 
9554
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
9555
  (Vincent Ladeuil, #59835)
 
9556
 
 
9557
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
9558
  (John Arbash Meinel, #57723)
 
9559
 
 
9560
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
9561
 
 
9562
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
9563
  isn't a working tree. (David Allouche, #40679)
 
9564
 
 
9565
* Give nicer error messages when a user supplies an invalid --revision
 
9566
  parameter. (John Arbash Meinel, #55420)
 
9567
 
 
9568
* Handle when LANG is not recognized by python. Emit a warning, but
 
9569
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
9570
 
 
9571
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
9572
  (John Arbash Meinel)
 
9573
 
 
9574
* Skip specific tests when the dependencies aren't met. This includes
 
9575
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
9576
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
9577
 
 
9578
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
9579
  the system. (Andrew Bennetts, John Arbash Meinel)
 
9580
 
 
9581
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
9582
  other branch, and will not push or pull between the two branches.
 
9583
  API users will need to perform a push or pull or update operation if they
 
9584
  require branch synchronisation to take place. (Robert Collins, #47344)
 
9585
 
 
9586
* When creating a tarball or zipfile export, export unicode names as utf-8
 
9587
  paths. This may not work perfectly on all platforms, but has the best
 
9588
  chance of working in the common case. (John Arbash Meinel, #56816)
 
9589
 
 
9590
* When committing, only files that exist in working tree or basis tree
 
9591
  may be specified (Aaron Bentley, #50793)
 
9592
 
 
9593
Portability
 
9594
***********
 
9595
 
 
9596
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
9597
 
 
9598
Internals
 
9599
*********
 
9600
 
 
9601
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
9602
  than having HOME set to the same location as the working directory.
 
9603
  (John Arbash Meinel)
 
9604
 
 
9605
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
9606
  which will update os.environ inside the spawned child. It also can
 
9607
  take a ``universal_newlines=True``, which helps when checking the output
 
9608
  of the command. (John Arbash Meinel)
 
9609
 
 
9610
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
9611
  (Andrew Bennetts)
 
9612
 
 
9613
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
9614
  return urlescaped paths. This is now tested (there were bugs in a few
 
9615
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
9616
 
 
9617
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
9618
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
9619
 
 
9620
* New TestCase helper applyDeprecated. This allows you to call a callable
 
9621
  which is deprecated without it spewing to the screen, just by supplying
 
9622
  the deprecation format string issued for it. (Robert Collins)
 
9623
 
 
9624
* Transport.append and Transport.put have been deprecated in favor of
 
9625
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
9626
  ``.put_file``. This removes the ambiguity in what type of object the
 
9627
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
9628
  been added. Which works similarly to ``Transport.append()`` except for
 
9629
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
9630
  provides functionality for creating a parent directory when trying
 
9631
  to create a file, rather than raise NoSuchFile and forcing the
 
9632
  caller to repeat their request.
 
9633
  (John Arbash Meinel)
 
9634
 
 
9635
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
9636
  entries by their file id. (Robert Collins)
 
9637
 
 
9638
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
9639
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
9640
 
 
9641
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
9642
  read rather than write. This is appropriate for actions which only need
 
9643
  the branch data for reference rather than mutation. A new decorator
 
9644
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
9645
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
9646
  declaration of the locking requirements of a function to ensure that
 
9647
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
9648
 
 
9649
* All WorkingTree methods which write to the tree, but not to the branch
 
9650
  have been converted to use ``needs_tree_write_lock`` rather than
 
9651
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
9652
  transform modules. This provides a modest performance improvement on
 
9653
  metadir style trees, due to the reduce lock-acquisition, and a more
 
9654
  significant performance improvement on lightweight checkouts from
 
9655
  remote branches, where trivial operations used to pay a significant
 
9656
  penalty. It also provides the basis for allowing readonly checkouts.
 
9657
  (Robert Collins)
 
9658
 
 
9659
* Special case importing the standard library 'copy' module. This shaves
 
9660
  off 40ms of startup time, while retaining compatibility. See:
 
9661
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
9662
 
 
9663
* WorkingTree has a new parent class MutableTree which represents the
 
9664
  specialisations of Tree which are able to be altered. (Robert Collins)
 
9665
 
 
9666
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
9667
  mutate the tree and its contents. (Robert Collins)
 
9668
 
 
9669
* Transport behaviour at the root of the URL is now defined and tested.
 
9670
  (Andrew Bennetts, Robert Collins)
 
9671
 
 
9672
Testing
 
9673
*******
 
9674
 
 
9675
* New test helper classs MemoryTree. This is typically accessed via
 
9676
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
9677
 
 
9678
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
9679
  code to continue running concurrently with a subprocess of bzr.
 
9680
  (Andrew Bennetts, Robert Collins)
 
9681
 
 
9682
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
9683
  allow upgrades to a richer interface than the VFS one provided by
 
9684
  Transport. (Andrew Bennetts, Martin Pool)
 
9685
 
 
9686
bzr 0.10
 
9687
########
 
9688
 
 
9689
:Released:  2006-08-29
 
9690
 
 
9691
Improvements
 
9692
************
 
9693
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
9694
  tree.  (Aaron Bentley)
 
9695
 
 
9696
* 'bzr add --file-ids-from' can be used to specify another path to use
 
9697
  for creating file ids, rather than generating all new ones. Internally,
 
9698
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
9699
  will be used, rather than having bzrlib generate new ones.
 
9700
  (John Arbash Meinel, #55781)
 
9701
 
 
9702
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
9703
  This will cache some of the intermediate trees, and decrease the
 
9704
  setup time for benchmark tests. (John Arbash Meinel)
 
9705
 
 
9706
* Inverse forms are provided for all boolean options.  For example,
 
9707
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
9708
 
 
9709
* Serialize out Inventories directly, rather than using ElementTree.
 
9710
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
9711
  (Robert Collins, John Arbash Meinel)
 
9712
 
 
9713
Bug Fixes
 
9714
*********
 
9715
 
 
9716
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
9717
 
 
9718
* Change LockDir so that if the lock directory doesn't exist when
 
9719
  ``lock_write()`` is called, an attempt will be made to create it.
 
9720
  (John Arbash Meinel, #56974)
 
9721
 
 
9722
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
9723
 
 
9724
* Active FTP transport now works as intended. (ghozzy, #56472)
 
9725
 
 
9726
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
9727
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
9728
  But it is a debugging log, not a real user file.
 
9729
  (John Arbash Meinel, #56947, #53880)
 
9730
 
 
9731
* Change Command handle to allow Unicode command and options.
 
9732
  At present we cannot register Unicode command names, so we will get
 
9733
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
9734
  But that is better than a UnicodeError + a traceback.
 
9735
  (John Arbash Meinel, #57123)
 
9736
 
 
9737
* Handle TZ=UTC properly when reading/writing revisions.
 
9738
  (John Arbash Meinel, #55783, #56290)
 
9739
 
 
9740
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
9741
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
9742
 
 
9743
* External diff does the right thing for binaries even in foreign
 
9744
  languages. (John Arbash Meinel, #56307)
 
9745
 
 
9746
* Testament handles more cases when content is unicode. Specific bug was
 
9747
  in handling of revision properties.
 
9748
  (John Arbash Meinel, Holger Krekel, #54723)
 
9749
 
 
9750
* The bzr selftest was failing on installed versions due to a bug in a new
 
9751
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
9752
 
 
9753
Internals
 
9754
*********
 
9755
 
 
9756
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
9757
  which can be used to cache the conversion between utf8 and Unicode.
 
9758
  Especially helpful for some of the knit annotation code, which has to
 
9759
  convert revision ids to utf8 to annotate lines in storage.
 
9760
  (John Arbash Meinel)
 
9761
 
 
9762
* ``setup.py`` now searches the filesystem to find all packages which
 
9763
  need to be installed. This should help make the life of packagers
 
9764
  easier. (John Arbash Meinel)
 
9765
 
 
9766
bzr 0.9.0
 
9767
#########
 
9768
 
 
9769
:Released:  2006-08-11
 
9770
 
 
9771
Surprises
 
9772
*********
 
9773
 
 
9774
* The hard-coded built-in ignore rules have been removed. There are
 
9775
  now two rulesets which are enforced. A user global one in
 
9776
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
9777
  specific one '.bzrignore'.
 
9778
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
9779
  a more conservative list than the old default.
 
9780
  This fixes bugs with default rules being enforced no matter what.
 
9781
  The old list of ignore rules from bzr is available by
 
9782
  running 'bzr ignore --old-default-rules'.
 
9783
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
9784
 
 
9785
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
9786
  to more locations than just branch locations.
 
9787
  (Aaron Bentley)
 
9788
 
 
9789
Improvements
 
9790
************
 
9791
 
 
9792
* The revision specifier "revno:" is extended to accept the syntax
 
9793
  revno:N:branch. For example,
 
9794
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
9795
  bzr.dev.  (Matthieu Moy)
 
9796
 
 
9797
* Tests updates to ensure proper URL handling, UNICODE support, and
 
9798
  proper printing when the user's terminal encoding cannot display
 
9799
  the path of a file that has been versioned.
 
9800
  ``bzr branch`` can take a target URL rather than only a local directory.
 
9801
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
9802
  and normalize the parent based on root, allowing access across
 
9803
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
9804
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
9805
  #42517, #42514)
 
9806
 
 
9807
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
9808
  Use terminal width for single-line logs from ``bzr log --line`` and
 
9809
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
9810
  (Malone #3507)
 
9811
 
 
9812
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
9813
  (Alexander Belchenko)
 
9814
 
 
9815
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
9816
 
 
9817
* Show the correct number of revisions pushed when pushing a new branch.
 
9818
  (Robert Collins).
 
9819
 
 
9820
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
9821
  progress made. 'make check' shows tests in -v mode, to be more useful
 
9822
  for the PQM status window. (Robert Collins).
 
9823
  When using a progress bar, failed tests are printed out, rather than
 
9824
  being overwritten by the progress bar until the suite finishes.
 
9825
  (John Arbash Meinel)
 
9826
 
 
9827
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
9828
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
9829
  profile data for the individual profiled calls, allowing for fine
 
9830
  grained analysis of performance.
 
9831
  (Robert Collins, Martin Pool).
 
9832
 
 
9833
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
9834
  where commit can take an appreciable time. (Robert Collins)
 
9835
 
 
9836
* 'bzr add' is now less verbose in telling you what ignore globs were
 
9837
  matched by files being ignored. Instead it just tells you how many
 
9838
  were ignored (because you might reasonably be expecting none to be
 
9839
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
9840
  file. (Robert Collins).
 
9841
 
 
9842
* ftp now has a test server if medusa is installed. As part of testing,
 
9843
  ftp support has been improved, including support for supplying a
 
9844
  non-standard port. (John Arbash Meinel).
 
9845
 
 
9846
* 'bzr log --line' shows the revision number, and uses only the
 
9847
  first line of the log message (#5162, Alexander Belchenko;
 
9848
  Matthieu Moy)
 
9849
 
 
9850
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
9851
  should be used to retrieve all versioned files. (Robert Collins)
 
9852
 
 
9853
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
9854
  over email, and applied on the other end, while maintaining ancestry.
 
9855
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
9856
  the same way you would apply another branch.
 
9857
  (John Arbash Meinel, Aaron Bentley)
 
9858
 
 
9859
* 'bzr whoami' can now be used to set your identity from the command line,
 
9860
  for a branch or globally.  (Robey Pointer)
 
9861
 
 
9862
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
9863
  (Michael Ellerman)
 
9864
 
 
9865
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
9866
  (Aaron Bentley)
 
9867
 
 
9868
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
9869
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
9870
  (John Arbash Meinel) (Malone #47821, #52204)
 
9871
 
 
9872
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
9873
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
9874
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
9875
 
 
9876
* Improve the help text for 'bzr diff' to explain what various options do.
 
9877
  (John Arbash Meinel, #6391)
 
9878
 
 
9879
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
9880
  revision 10. This makes -r10 more in line with what other commands do.
 
9881
  'bzr uncommit' also now saves the pending merges of the revisions that
 
9882
  were removed. So it is safe to uncommit after a merge, fix something,
 
9883
  and commit again. (John Arbash Meinel, #32526, #31426)
 
9884
 
 
9885
* 'bzr init' now also works on remote locations.
 
9886
  (Wouter van Heyst, #48904)
 
9887
 
 
9888
* HTTP support has been updated. When using pycurl we now support
 
9889
  connection keep-alive, which reduces dns requests and round trips.
 
9890
  And for both urllib and pycurl we support multi-range requests,
 
9891
  which decreases the number of round-trips. Performance results for
 
9892
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
9893
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
9894
  branch is as much as 4x faster.
 
9895
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
9896
 
 
9897
* Performance improvements for sftp. Branching and pulling are now up to
 
9898
  2x faster. Utilize paramiko.readv() support for async requests if it
 
9899
  is available (paramiko > 1.6) (John Arbash Meinel)
 
9900
 
 
9901
Bug Fixes
 
9902
*********
 
9903
 
 
9904
* Fix shadowed definition of TestLocationConfig that caused some
 
9905
  tests not to run.
 
9906
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
9907
 
 
9908
* Fix unnecessary requirement of sign-my-commits that it be run from
 
9909
  a working directory.  (Martin Pool, Robert Collins)
 
9910
 
 
9911
* 'bzr push location' will only remember the push location if it succeeds
 
9912
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
9913
 
 
9914
* 'bzr revert' no longer toggles the executable bit on win32
 
9915
  (John Arbash Meinel, #45010)
 
9916
 
 
9917
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
9918
 
 
9919
* sftp tests now work correctly on win32 if you have a newer paramiko
 
9920
  (John Arbash Meinel)
 
9921
 
 
9922
* Cleanup win32 test suite, and general cleanup of places where
 
9923
  file handles were being held open. (John Arbash Meinel)
 
9924
 
 
9925
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
9926
  working directory can be used, even if its name is different in both x
 
9927
  and y.
 
9928
 
 
9929
* File-ids containing single- or double-quotes are handled correctly by
 
9930
  push. (Aaron Bentley, #52227)
 
9931
 
 
9932
* Normalize unicode filenames to ensure cross-platform consistency.
 
9933
  (John Arbash Meinel, #43689)
 
9934
 
 
9935
* The argument parser can now handle '-' as an argument. Currently
 
9936
  no code interprets it specially (it is mostly handled as a file named
 
9937
  '-'). But plugins, and future operations can use it.
 
9938
  (John Arbash meinel, #50984)
 
9939
 
 
9940
* Bundles can properly read binary files with a plain '\r' in them.
 
9941
  (John Arbash Meinel, #51927)
 
9942
 
 
9943
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
9944
 
 
9945
* Lots of win32 fixes (the test suite passes again).
 
9946
  (John Arbash Meinel, #50155)
 
9947
 
 
9948
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
9949
 
 
9950
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
9951
 
 
9952
* Removals are only committed if they match the filespec (or if there is
 
9953
  no filespec).  (#46635, Aaron Bentley)
 
9954
 
 
9955
* smart-add recurses through all supplied directories
 
9956
  (John Arbash Meinel, #52578)
 
9957
 
 
9958
* Make the bundle reader extra lines before and after the bundle text.
 
9959
  This allows you to parse an email with the bundle inline.
 
9960
  (John Arbash Meinel, #49182)
 
9961
 
 
9962
* Change the file id generator to squash a little bit more. Helps when
 
9963
  working with long filenames on windows. (Also helps for unicode filenames
 
9964
  not generating hidden files). (John Arbash Meinel, #43801)
 
9965
 
 
9966
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
9967
  Nicholas Allen, Martin Pool)
 
9968
 
 
9969
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
9970
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
9971
 
 
9972
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
9973
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
9974
 
 
9975
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
9976
  to be generated (John Arbash Meinel, #53638)
 
9977
 
 
9978
* When reading revision properties, an empty value should be considered
 
9979
  the empty string, not None (John Arbash Meinel, #47782)
 
9980
 
 
9981
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
9982
  Also, the output is consistent when --diff-options is not supplied.
 
9983
  (John Arbash Meinel, #54651, #52930)
 
9984
 
 
9985
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
9986
 
 
9987
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
9988
  accessible (John Arbash Meinel, #52976)
 
9989
 
 
9990
Internals
 
9991
*********
 
9992
 
 
9993
* Combine the ignore rules into a single regex rather than looping over
 
9994
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
9995
  like status. (Jan Hudec, Robert Collins).
 
9996
 
 
9997
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
9998
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
9999
 
 
10000
* 'bzr push' should only push the ancestry of the current revision, not
 
10001
  all of the history in the repository. This is especially important for
 
10002
  shared repositories. (John Arbash Meinel)
 
10003
 
 
10004
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
10005
  rather than randomly walking the inventories. (John Arbash Meinel)
 
10006
 
 
10007
* Doctests are now run in temporary directories which are cleaned up when
 
10008
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
10009
  (Martin Pool)
 
10010
 
 
10011
* Split ``check`` into separate methods on the branch and on the repository,
 
10012
  so that it can be specialized in ways that are useful or efficient for
 
10013
  different formats.  (Martin Pool, Robert Collins)
 
10014
 
 
10015
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
10016
  the global revision graph but only that part leading up to a particular
 
10017
  revision.  (Martin Pool, Robert Collins)
 
10018
 
 
10019
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
10020
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
10021
  (Robert Collins, Jelmer Vernooij).
 
10022
 
 
10023
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
10024
  Uses subprocess instead of spawnvp.
 
10025
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
10026
 
 
10027
* New command line option '--profile-imports', which will install a custom
 
10028
  importer to log time to import modules and regex compilation time to
 
10029
  sys.stderr (John Arbash Meinel)
 
10030
 
 
10031
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
10032
  instead. (Robert Collins)
 
10033
 
 
10034
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
10035
 
 
10036
bzr 0.8.2
 
10037
#########
 
10038
 
 
10039
:Released:  2006-05-17
 
10040
 
 
10041
Bug Fixes
 
10042
*********
 
10043
 
 
10044
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
10045
 
 
10046
bzr 0.8.1
 
10047
#########
 
10048
 
 
10049
:Released:  2006-05-16
 
10050
 
 
10051
Bug Fixes
 
10052
*********
 
10053
 
 
10054
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
10055
  Robert Collins, Erik Bågfors, #43959)
 
10056
 
 
10057
* Nicer messages from 'commit' in the case of renames, and correct
 
10058
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
10059
 
 
10060
* Separate functionality from assert statements as they are skipped in
 
10061
  optimized mode of python. Add the same check to pending merges.
 
10062
  (Olaf Conradi, #44443)
 
10063
 
 
10064
Changes
 
10065
*******
 
10066
 
 
10067
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
10068
 
 
10069
* Add info on standalone branches without a working tree.
 
10070
  (Olaf Conradi, #44155)
 
10071
 
 
10072
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
10073
 
 
10074
Changes
 
10075
*******
 
10076
 
 
10077
* Make editor invocation comply with Debian Policy. First check
 
10078
  environment variables VISUAL and EDITOR, then try editor from
 
10079
  alternatives system. If that all fails, fall back to the pre-defined
 
10080
  list of editors. (Olaf Conradi, #42904)
 
10081
 
 
10082
New Features
 
10083
************
 
10084
 
 
10085
* New 'register-branch' command registers a public branch into
 
10086
  Launchpad.net, where it can be associated with bugs, etc.
 
10087
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
10088
 
 
10089
Internals
 
10090
*********
 
10091
 
 
10092
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
10093
  provides a human description of the changes between two old and
 
10094
  new. (Robert Collins, Martin Pool)
 
10095
 
 
10096
Testing
 
10097
*******
 
10098
 
 
10099
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
10100
  uses bzrlib api now. (Olaf Conradi)
 
10101
 
 
10102
bzr 0.8
 
10103
#######
 
10104
 
 
10105
:Released:  2006-05-08
 
10106
 
 
10107
Notes When Upgrading
 
10108
********************
 
10109
 
 
10110
Release 0.8 of bzr introduces a new format for history storage, called
 
10111
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
10112
and remote operations are faster using knits than weaves.  Several
 
10113
operations including 'init', 'init-repo', and 'upgrade' take a
 
10114
--format option that controls this.  Branching from an existing branch
 
10115
will keep the same format.
 
10116
 
 
10117
It is possible to merge, pull and push between branches of different
 
10118
formats but this is slower than moving data between homogenous
 
10119
branches.  It is therefore recommended (but not required) that you
 
10120
upgrade all branches for a project at the same time.  Information on
 
10121
formats is shown by 'bzr info'.
 
10122
 
 
10123
bzr 0.8 now allows creation of 'repositories', which hold the history
 
10124
of files and revisions for several branches.  Previously bzr kept all
 
10125
the history for a branch within the .bzr directory at the root of the
 
10126
branch, and this is still the default.  To create a repository, use
 
10127
the new 'bzr init-repo' command.  Branches exist as directories under
 
10128
the repository and contain just a small amount of information
 
10129
indicating the current revision of the branch.
 
10130
 
 
10131
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
10132
subversion.  Checkouts are associated with a branch (optionally in a
 
10133
repository), which contains all the historical information.  The
 
10134
result is that a checkout can be deleted without losing any
 
10135
already-committed revisions.  A new 'update' command is also available.
 
10136
 
 
10137
Repositories and checkouts are not supported with the 0.7 storage
 
10138
format.  To use them you must upgrad to either knits, or to the
 
10139
'metaweave' format, which uses weaves but changes the .bzr directory
 
10140
arrangement.
 
10141
 
 
10142
 
 
10143
Improvements
 
10144
************
 
10145
 
 
10146
* sftp paths can now be relative, or local, according to the lftp
 
10147
  convention. Paths now take the form::
 
10148
 
 
10149
      sftp://user:pass@host:port/~/relative/path
 
10150
      or
 
10151
      sftp://user:pass@host:port/absolute/path
 
10152
 
 
10153
* The FTP transport now tries to reconnect after a temporary
 
10154
  failure. ftp put is made atomic. (Matthieu Moy)
 
10155
 
 
10156
* The FTP transport now maintains a pool of connections, and
 
10157
  reuses them to avoid multiple connections to the same host (like
 
10158
  sftp did). (Daniel Silverstone)
 
10159
 
 
10160
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
10161
  use ``./generate_docs.py man``. The new program can also create other files.
 
10162
  Run ``python generate_docs.py --help`` for usage information.
 
10163
  (Hans Ulrich Niedermann & James Blackwell).
 
10164
 
 
10165
* Man Page now gives full help (James Blackwell).
 
10166
  Help also updated to reflect user config now being stored in .bazaar
 
10167
  (Hans Ulrich Niedermann)
 
10168
 
 
10169
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
10170
 
 
10171
* Pull now accepts a --revision argument (Erik Bågfors)
 
10172
 
 
10173
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
10174
  line. You can now use the following command to sign all of your old
 
10175
  commits::
 
10176
 
 
10177
    find .bzr/revision-store// -name my@email-* \
 
10178
      | sed 's/.*\/\/..\///' \
 
10179
      | xargs bzr re-sign
 
10180
 
 
10181
* Upgrade can now upgrade over the network. (Robert Collins)
 
10182
 
 
10183
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
10184
  behaviour.  By default they will cache history in the checkout, but
 
10185
  with --lightweight almost all data is kept in the master branch.
 
10186
  (Robert Collins)
 
10187
 
 
10188
* 'revert' unversions newly-versioned files, instead of deleting them.
 
10189
 
 
10190
* 'merge' is more robust.  Conflict messages have changed.
 
10191
 
 
10192
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
10193
  '.moved'.
 
10194
 
 
10195
* Default log format can be set in configuration and plugins can register
 
10196
  their own formatters. (Erik Bågfors)
 
10197
 
 
10198
* New 'reconcile' command will check branch consistency and repair indexes
 
10199
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
10200
  Daniel Silverstone)
 
10201
 
 
10202
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
10203
  what storage format is created or produced.  (Robert Collins,
 
10204
  Martin Pool)
 
10205
 
 
10206
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
10207
 
 
10208
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
10209
 
 
10210
* New 'init-repository' command, plus support for repositories in 'init'
 
10211
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
10212
 
 
10213
* Improve output of 'info' command. Show all relevant locations related to
 
10214
  working tree, branch and repository. Use kibibytes for binary quantities.
 
10215
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
10216
  work on branches, repositories and remote locations.  Show locations
 
10217
  relative to the shared repository, if applicable.  Show locking status
 
10218
  of locations.  (Olaf Conradi)
 
10219
 
 
10220
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
10221
 
 
10222
* 'pull' and 'push' now normalise the revision history, so that any two
 
10223
  branches with the same tip revision will have the same output from 'log'.
 
10224
  (Robert Collins)
 
10225
 
 
10226
* 'merge' accepts --remember option to store parent location, like 'push'
 
10227
  and 'pull'. (Olaf Conradi)
 
10228
 
 
10229
* bzr status and diff when files given as arguments do not exist
 
10230
  in the relevant trees.  (Martin Pool, #3619)
 
10231
 
 
10232
* Add '.hg' to the default ignore list.  (Martin Pool)
 
10233
 
 
10234
* 'knit' is now the default disk format. This improves disk performance and
 
10235
  utilization, increases incremental pull performance, robustness with SFTP
 
10236
  and allows checkouts over SFTP to perform acceptably.
 
10237
  The initial Knit code was contributed by Johan Rydberg based on a
 
10238
  specification by Martin Pool.
 
10239
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
10240
 
 
10241
* New tool to generate all-in-one html version of the manual.  (Alexander
 
10242
  Belchenko)
 
10243
 
 
10244
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
10245
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
10246
 
 
10247
* New option 'diff --prefix' to control how files are named in diff
 
10248
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
10249
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
10250
 
 
10251
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
10252
 
 
10253
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
10254
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
10255
  (Robert Collins)
 
10256
 
 
10257
Changes
 
10258
*******
 
10259
 
 
10260
* Commit is now verbose by default, and shows changed filenames and the
 
10261
  new revision number.  (Robert Collins, Martin Pool)
 
10262
 
 
10263
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
10264
 
 
10265
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
10266
 
 
10267
* Make 'pull' and 'push' remember location on failure using --remember.
 
10268
  (Olaf Conradi)
 
10269
 
 
10270
* For compatibility, make old format for using weaves inside metadir
 
10271
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
10272
  Clean up help for option --format in commands 'init', 'init-repo' and
 
10273
  'upgrade'.  (Olaf Conradi)
 
10274
 
 
10275
Internals
 
10276
*********
 
10277
 
 
10278
* The internal storage of history, and logical branch identity have now
 
10279
  been split into Branch, and Repository. The common locking and file
 
10280
  management routines are now in bzrlib.lockablefiles.
 
10281
  (Aaron Bentley, Robert Collins, Martin Pool)
 
10282
 
 
10283
* Transports can now raise DependencyNotPresent if they need a library
 
10284
  which is not installed, and then another implementation will be
 
10285
  tried.  (Martin Pool)
 
10286
 
 
10287
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
10288
  (Martin Pool)
 
10289
 
 
10290
* Using Tree Transform for merge, revert, tree-building
 
10291
 
 
10292
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
10293
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
10294
  replacement API's. (Robert Collins)
 
10295
 
 
10296
* New BzrDir class represents the .bzr control directory and manages
 
10297
  formatting issues. (Robert Collins)
 
10298
 
 
10299
* New repository.InterRepository class encapsulates Repository to
 
10300
  Repository actions and allows for clean selection of optimised code
 
10301
  paths. (Robert Collins)
 
10302
 
 
10303
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
10304
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
10305
  depending on your needs. (Robert Collins)
 
10306
 
 
10307
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
10308
  be checked, if you need to determine whether a given callable is
 
10309
  deprecated at runtime. (Robert Collins)
 
10310
 
 
10311
* Progress bars are now nested - see
 
10312
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
10313
  (Robert Collins, Robey Pointer)
 
10314
 
 
10315
* New API call ``get_format_description()`` for each type of format.
 
10316
  (Olaf Conradi)
 
10317
 
 
10318
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
10319
  (Olaf Conradi)
 
10320
 
 
10321
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
10322
 
 
10323
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
10324
 
 
10325
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
10326
  can be None or a factory that will create a progress bar. This is
 
10327
  useful for testing or for overriding the bzrlib.progress heuristic.
 
10328
  (Robert Collins)
 
10329
 
 
10330
* New API method ``get_physical_lock_status()`` to query locks present on a
 
10331
  transport.  (Olaf Conradi)
 
10332
 
 
10333
* Repository.reconcile now takes a thorough keyword parameter to allow
 
10334
  requesting an indepth reconciliation, rather than just a data-loss
 
10335
  check. (Robert Collins)
 
10336
 
 
10337
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
10338
  the user for yes/no style input. (Robert Collins)
 
10339
 
 
10340
Testing
 
10341
*******
 
10342
 
 
10343
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
10344
  for testing SFTP protocol support. (Robey Pointer)
 
10345
 
 
10346
* Branch formats are now tested once per implementation (see ``bzrlib.
 
10347
  tests.branch_implementations``. This is analagous to the transport
 
10348
  interface tests, and has been followed up with working tree,
 
10349
  repository and BzrDir tests. (Robert Collins)
 
10350
 
 
10351
* New test base class TestCaseWithTransport provides a transport aware
 
10352
  test environment, useful for testing any transport-interface using
 
10353
  code. The test suite option --transport controls the transport used
 
10354
  by this class (when its not being used as part of implementation
 
10355
  contract testing). (Robert Collins)
 
10356
 
 
10357
* Close logging handler on disabling the test log. This will remove the
 
10358
  handler from the internal list inside python's logging module,
 
10359
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
10360
 
 
10361
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
10362
 
 
10363
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
10364
  parameter which will provide String("foo") to the command as its stdin.
 
10365
 
 
10366
bzr 0.7
 
10367
#######
 
10368
 
 
10369
:Released: 2006-01-09
 
10370
 
 
10371
Changes
 
10372
*******
 
10373
 
 
10374
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
10375
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
10376
 
 
10377
* The "bzr directories" command were removed in favor of the new
 
10378
  --kind option to the "bzr inventory" command.  To list all
 
10379
  versioned directories, now use "bzr inventory --kind directory".
 
10380
  (Johan Rydberg)
 
10381
 
 
10382
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
10383
  by default. (John Arbash Meinel)
 
10384
 
 
10385
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
10386
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
10387
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
10388
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
10389
  ``HOME``. (John Arbash Meinel)
 
10390
 
 
10391
* Plugins with the same name in different directories in the bzr plugin
 
10392
  path are no longer loaded: only the first successfully loaded one is
 
10393
  used. (Robert Collins)
 
10394
 
 
10395
* Use systems' external ssh command to open connections if possible.
 
10396
  This gives better integration with user settings such as ProxyCommand.
 
10397
  (James Henstridge)
 
10398
 
 
10399
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
10400
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
10401
  will mean that future file will be created with group write permissions.
 
10402
 
 
10403
* configure.in and config.guess are no longer in the builtin default
 
10404
  ignore list.
 
10405
 
 
10406
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
10407
  files.  (John Arbash Meinel, Martin Pool)
 
10408
 
 
10409
Improvements
 
10410
************
 
10411
 
 
10412
* "bzr INIT dir" now initializes the specified directory, and creates
 
10413
  it if it does not exist.  (John Arbash Meinel)
 
10414
 
 
10415
* New remerge command (Aaron Bentley)
 
10416
 
 
10417
* Better zsh completion script.  (Steve Borho)
 
10418
 
 
10419
* 'bzr diff' now returns 1 when there are changes in the working
 
10420
  tree. (Robert Collins)
 
10421
 
 
10422
* 'bzr push' now exists and can push changes to a remote location.
 
10423
  This uses the transport infrastructure, and can store the remote
 
10424
  location in the ~/.bazaar/branches.conf configuration file.
 
10425
  (Robert Collins)
 
10426
 
 
10427
* Test directories are only kept if the test fails and the user requests
 
10428
  that they be kept.
 
10429
 
 
10430
* Tweaks to short log printing
 
10431
 
 
10432
* Added branch nicks, new nick command, printing them in log output.
 
10433
  (Aaron Bentley)
 
10434
 
 
10435
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
10436
  occurs.  (Martin Pool)
 
10437
 
 
10438
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
10439
  the same as Subversion.  (Martin Pool)
 
10440
 
 
10441
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
10442
  URLs.  (Daniel Silverstone)
 
10443
 
 
10444
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
10445
  text editors to match the file name and set up appropriate modes or
 
10446
  settings.  (Magnus Therning)
 
10447
 
 
10448
* Improved performance when integrating changes from a remote weave.
 
10449
  (Goffredo Baroncelli)
 
10450
 
 
10451
* Sftp will attempt to cache the connection, so it is more likely that
 
10452
  a connection will be reused, rather than requiring multiple password
 
10453
  requests.
 
10454
 
 
10455
* bzr revno now takes an optional argument indicating the branch whose
 
10456
  revno should be printed.  (Michael Ellerman)
 
10457
 
 
10458
* bzr cat defaults to printing the last version of the file.
 
10459
  (Matthieu Moy, #3632)
 
10460
 
 
10461
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
10462
  profiler.  (Denys Duchier)
 
10463
 
 
10464
* Faster commits by reading only the headers of affected weave files.
 
10465
  (Denys Duchier)
 
10466
 
 
10467
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
10468
  added, but doesn't actually add anything. (Michael Ellerman)
 
10469
 
 
10470
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
10471
  lists the specific files.  (Aaron Bentley)
 
10472
 
 
10473
* 'bzr missing' now supports displaying changes in diverged trees and can
 
10474
  be limited to show what either end of the comparison is missing.
 
10475
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
10476
 
 
10477
Bug Fixes
 
10478
*********
 
10479
 
 
10480
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
10481
 
 
10482
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
10483
 
 
10484
* Error when run with -OO
 
10485
 
 
10486
* Fix bug in reporting http errors that don't have an http error code.
 
10487
  (Martin Pool)
 
10488
 
 
10489
* Handle more cases of pipe errors in display commands
 
10490
 
 
10491
* Change status to 3 for all errors
 
10492
 
 
10493
* Files that are added and unlinked before committing are completely
 
10494
  ignored by diff and status
 
10495
 
 
10496
* Stores with some compressed texts and some uncompressed texts are now
 
10497
  able to be used. (John A Meinel)
 
10498
 
 
10499
* Fix for bzr pull failing sometimes under windows
 
10500
 
 
10501
* Fix for sftp transport under windows when using interactive auth
 
10502
 
 
10503
* Show files which are both renamed and modified as such in 'bzr
 
10504
  status' output.  (Daniel Silverstone, #4503)
 
10505
 
 
10506
* Make annotate cope better with revisions committed without a valid
 
10507
  email address.  (Marien Zwart)
 
10508
 
 
10509
* Fix representation of tab characters in commit messages.
 
10510
  (Harald Meland)
 
10511
 
 
10512
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
10513
  now parsed properly under Windows. (Alexander Belchenko)
 
10514
 
 
10515
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
10516
 
 
10517
* Keep a cached copy of the basis inventory to speed up operations
 
10518
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
10519
 
 
10520
* Fix bugs in bzr status display of non-ascii characters.
 
10521
  (Martin Pool)
 
10522
 
 
10523
* Remove Makefile.in from default ignore list.
 
10524
  (Tollef Fog Heen, Martin Pool, #6413)
 
10525
 
 
10526
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
10527
 
 
10528
Testing
 
10529
*******
 
10530
 
 
10531
* Fix selftest asking for passwords when there are no SFTP keys.
 
10532
  (Robey Pointer, Jelmer Vernooij)
 
10533
 
 
10534
* Fix selftest run with 'python -O'.  (Martin Pool)
 
10535
 
 
10536
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
10537
 
 
10538
* Make tests work even if HOME is not set (Aaron Bentley)
 
10539
 
 
10540
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
10541
  the file cotents and compare. Make some tests use this to pass under
 
10542
  Windows. (John Arbash Meinel)
 
10543
 
 
10544
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
10545
 
 
10546
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
10547
  (John Arbash Meinel)
 
10548
 
 
10549
* Use terminal width to align verbose test output.  (Martin Pool)
 
10550
 
 
10551
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
10552
  If adding a new test script please add that to
 
10553
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
10554
 
 
10555
* Much better error message if one of the test suites can't be
 
10556
  imported.  (Martin Pool)
 
10557
 
 
10558
* Make check now runs the test suite twice - once with the default locale,
 
10559
  and once with all locales forced to C, to expose bugs. This is not
 
10560
  trivially done within python, so for now its only triggered by running
 
10561
  Make check. Integrators and packagers who wish to check for full
 
10562
  platform support should run 'make check' to test the source.
 
10563
  (Robert Collins)
 
10564
 
 
10565
* Tests can now run TestSkipped if they can't execute for any reason.
 
10566
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
10567
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
10568
 
 
10569
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
10570
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
10571
  test the same permutations. (Robert Collins, Robey Pointer)
 
10572
 
 
10573
* Transport implementation tests are now independent of the local file
 
10574
  system, which allows tests for esoteric transports, and for features
 
10575
  not available in the local file system. They also repeat for variations
 
10576
  on the URL scheme that can introduce issues in the transport code,
 
10577
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
10578
  (Robert Collins).
 
10579
 
 
10580
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
10581
  pass in a transport parameter to give it an existing connection.
 
10582
  (Robert Collins).
 
10583
 
 
10584
Internals
 
10585
*********
 
10586
 
 
10587
* WorkingTree.pull has been split across Branch and WorkingTree,
 
10588
  to allow Branch only pulls. (Robert Collins)
 
10589
 
 
10590
* ``commands.display_command`` now returns the result of the decorated
 
10591
  function. (Robert Collins)
 
10592
 
 
10593
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
10594
  a setting in its matching location section (a new one is created
 
10595
  if needed). (Robert Collins)
 
10596
 
 
10597
* Branch has two new methods, ``get_push_location`` and
 
10598
  ``set_push_location`` to respectively, get and set the push location.
 
10599
  (Robert Collins)
 
10600
 
 
10601
* ``commands.register_command`` now takes an optional flag to signal that
 
10602
  the registrant is planning to decorate an existing command. When
 
10603
  given multiple plugins registering a command is not an error, and
 
10604
  the original command class (whether built in or a plugin based one) is
 
10605
  returned to the caller. There is a new error 'MustUseDecorated' for
 
10606
  signalling when a wrapping command should switch to the original
 
10607
  version. (Robert Collins)
 
10608
 
 
10609
* Some option parsing errors will raise 'BzrOptionError', allowing
 
10610
  granular detection for decorating commands. (Robert Collins).
 
10611
 
 
10612
* ``Branch.read_working_inventory`` has moved to
 
10613
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
10614
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
10615
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
10616
  be obtained ``Branch.working_tree()`` will raise
 
10617
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
10618
 
 
10619
* All pending merges operations from Branch are now on WorkingTree.
 
10620
  (Robert Collins)
 
10621
 
 
10622
* The follow operations from Branch have moved to WorkingTree::
 
10623
 
 
10624
      add()
 
10625
      commit()
 
10626
      move()
 
10627
      rename_one()
 
10628
      unknowns()
 
10629
 
 
10630
  (Robert Collins)
 
10631
 
 
10632
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
10633
 
 
10634
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
10635
 
 
10636
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
10637
  Pool)
 
10638
 
 
10639
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
10640
  query method. (Robert Collins)
 
10641
 
 
10642
* New options to read only the table-of-contents of a weave.
 
10643
  (Denys Duchier)
 
10644
 
 
10645
* Raise NoSuchFile when someone tries to add a non-existant file.
 
10646
  (Michael Ellerman)
 
10647
 
 
10648
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
10649
  (Michael Ellerman)
 
10650
 
 
10651
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
10652
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
10653
  controlfile pre/suffix replaced by simple method names like 'get' and
 
10654
  'put'. (Aaron Bentley, Robert Collins).
 
10655
 
 
10656
* Deprecated functions and methods can now be marked as such using the
 
10657
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
10658
  updated and will issue a DeprecationWarning using the warnings module
 
10659
  when they are used. (Robert Collins)
 
10660
 
 
10661
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
10662
  for functions that need unicode strings. (Robert Collins)
 
10663
 
 
10664
bzr 0.6
 
10665
#######
 
10666
 
 
10667
:Released: 2005-10-28
 
10668
 
 
10669
Improvements
 
10670
************
 
10671
 
 
10672
* pull now takes --verbose to show you what revisions are added or removed
 
10673
  (John A Meinel)
 
10674
 
 
10675
* merge now takes a --show-base option to include the base text in
 
10676
  conflicts.
 
10677
  (Aaron Bentley)
 
10678
 
 
10679
* The config files are now read using ConfigObj, so '=' should be used as
 
10680
  a separator, not ':'.
 
10681
  (Aaron Bentley)
 
10682
 
 
10683
* New 'bzr commit --strict' option refuses to commit if there are
 
10684
  any unknown files in the tree.  To commit, make sure all files are
 
10685
  either ignored, added, or deleted.  (Michael Ellerman)
 
10686
 
 
10687
* The config directory is now ~/.bazaar, and there is a single file
 
10688
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
10689
  (Robert Collins)
 
10690
 
 
10691
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
10692
  has been added that suppresses all output.
 
10693
 
 
10694
* Improved zsh completion support in contrib/zsh, from Clint
 
10695
  Adams.
 
10696
 
 
10697
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
10698
  Goffredo Baroncelli.
 
10699
 
 
10700
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
10701
  ghosts in the branch. (Robert Collins)
 
10702
 
 
10703
* New command 're-sign' which will regenerate the gpg signature for
 
10704
  a revision. (Robert Collins)
 
10705
 
 
10706
* If you set ``check_signatures=require`` for a path in
 
10707
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
10708
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
10709
  of your commit. (Robert Collins)
 
10710
 
 
10711
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
10712
 
 
10713
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
10714
  and make this branch identical to the source branch. (Robert Collins)
 
10715
 
 
10716
* Just give a quieter warning if a plugin can't be loaded, and
 
10717
  put the details in .bzr.log.  (Martin Pool)
 
10718
 
 
10719
* 'bzr branch' will now set the branch-name to the last component of the
 
10720
  output directory, if one was supplied.
 
10721
 
 
10722
* If the option ``post_commit`` is set to one (or more) python function
 
10723
  names (must be in the bzrlib namespace), then they will be invoked
 
10724
  after the commit has completed, with the branch and ``revision_id`` as
 
10725
  parameters. (Robert Collins)
 
10726
 
 
10727
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
10728
 
 
10729
* --merge-type weave is now supported for file contents.  Tree-shape
 
10730
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
10731
 
 
10732
* 'bzr check' allows the first revision on revision-history to have
 
10733
  parents - something that is expected for cheap checkouts, and occurs
 
10734
  when conversions from baz do not have all history.  (Robert Collins).
 
10735
 
 
10736
* 'bzr merge' can now graft unrelated trees together, if your specify
 
10737
  0 as a base. (Aaron Bentley)
 
10738
 
 
10739
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
10740
  (Aaron Bentley)
 
10741
 
 
10742
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
10743
 
 
10744
* 'bzr merge --reprocess' minimizes conflicts
 
10745
 
 
10746
Testing
 
10747
*******
 
10748
 
 
10749
* The 'bzr selftest --pattern' option for has been removed, now
 
10750
  test specifiers on the command line can be simple strings, or
 
10751
  regexps, or both. (Robert Collins)
 
10752
 
 
10753
* Passing -v to selftest will now show the time each test took to
 
10754
  complete, which will aid in analysing performance regressions and
 
10755
  related questions. (Robert Collins)
 
10756
 
 
10757
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
10758
  is given. (Martin Pool)
 
10759
 
 
10760
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
10761
  will check that a given content is equal to the content of the named
 
10762
  file. (Robert Collins)
 
10763
 
 
10764
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
10765
  (Martin Pool)
 
10766
 
 
10767
Internals
 
10768
*********
 
10769
 
 
10770
* New 'testament' command and concept for making gpg-signatures
 
10771
  of revisions that are not tied to a particular internal
 
10772
  representation.  (Martin Pool).
 
10773
 
 
10774
* Per-revision properties ('revprops') as key-value associated
 
10775
  strings on each revision created when the revision is committed.
 
10776
  Intended mainly for the use of external tools.  (Martin Pool).
 
10777
 
 
10778
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
10779
  (Robert Collins)
 
10780
 
 
10781
* Improved command line option definitions allowing explanations
 
10782
  for individual options, among other things.  Contributed by
 
10783
  Magnus Therning.
 
10784
 
 
10785
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
10786
  Configuration is now done via the config.Config interface:
 
10787
  Depending on whether you have a Branch, a Location or no information
 
10788
  available, construct a ``*Config``, and use its ``signature_checking``,
 
10789
  ``username`` and ``user_email`` methods. (Robert Collins)
 
10790
 
 
10791
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
10792
  they are made available for other plugins to use. You should not
 
10793
  import other plugins during the ``__init__`` of your plugin though, as
 
10794
  no ordering is guaranteed, and the plugins directory is not on the
 
10795
  python path. (Robert Collins)
 
10796
 
 
10797
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
10798
  no longer takes an inventory, rather it takes an option branch
 
10799
  parameter, and if None is given will open the branch at basedir
 
10800
  implicitly. (Robert Collins)
 
10801
 
 
10802
* Cleaner exception structure and error reporting.  Suggested by
 
10803
  Scott James Remnant.  (Martin Pool)
 
10804
 
 
10805
* Branch.remove has been moved to WorkingTree, which has also gained
 
10806
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
10807
  (Robert Collins)
 
10808
 
 
10809
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
10810
  added to the branch module. Use these to cause a function to run in a
 
10811
  read or write lock respectively. (Robert Collins)
 
10812
 
 
10813
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
10814
  which allows direct access to the common case of 'get me this file
 
10815
  from its branch'. (Robert Collins)
 
10816
 
 
10817
* Transports can register using ``register_lazy_transport``, and they
 
10818
  will be loaded when first used.  (Martin Pool)
 
10819
 
 
10820
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
10821
  A new option to WorkingTree.pull has been added, clobber, which will
 
10822
  ignore diverged history and pull anyway.
 
10823
  (Robert Collins)
 
10824
 
 
10825
* config.Config has a ``get_user_option`` call that accepts an option name.
 
10826
  This will be looked up in branches.conf and bazaar.conf as normal.
 
10827
  It is intended that this be used by plugins to support options -
 
10828
  options of built in programs should have specific methods on the config.
 
10829
  (Robert Collins)
 
10830
 
 
10831
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
10832
  (Robert Collins)
 
10833
 
 
10834
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
10835
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
10836
  (Robert Collins)
 
10837
 
 
10838
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
10839
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
10840
  about future directions. (Robert Collins/Martin Pool)
 
10841
 
 
10842
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
10843
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
10844
  This allows debuging of actual errors. (Robert Collins)
 
10845
 
 
10846
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
10847
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
10848
  behaviour - it operates on url's only. (Robert Collins)
 
10849
 
 
10850
* Transports can register using ``register_lazy_transport``, and they
 
10851
  will be loaded when first used.  (Martin Pool)
 
10852
 
 
10853
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
10854
  is called by ``merge_inner``. This is so that the conflict count can be
 
10855
  retrieved (and potentially manipulated) before returning to the caller
 
10856
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
10857
  caller. (Robert Collins)
 
10858
 
 
10859
* ``revision.revision_graph`` can handle having only partial history for
 
10860
  a revision - that is no revisions in the graph with no parents.
 
10861
  (Robert Collins).
 
10862
 
 
10863
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
10864
  produce a branch and a list of paths, relative to that branch
 
10865
  (Aaron Bentley)
 
10866
 
 
10867
* New TestCase.addCleanup facility.
 
10868
 
 
10869
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
10870
  which can be used by programs importing bzrlib.
 
10871
 
 
10872
Bug Fixes
 
10873
*********
 
10874
 
 
10875
* Better handling of branches in directories with non-ascii names.
 
10876
  (Joel Rosdahl, Panagiotis Papadakos)
 
10877
 
 
10878
* Upgrades of trees with no commits will not fail due to accessing
 
10879
  [-1] in the revision-history. (Andres Salomon)
 
10880
 
 
10881
 
 
10882
bzr 0.1.1
 
10883
#########
 
10884
 
 
10885
:Released: 2005-10-12
 
10886
 
 
10887
Bug Fixes
 
10888
*********
 
10889
 
 
10890
* Fix problem in pulling over http from machines that do not
 
10891
  allow directories to be listed.
 
10892
 
 
10893
* Avoid harmless warning about invalid hash cache after
 
10894
  upgrading branch format.
 
10895
 
 
10896
Performance
 
10897
***********
 
10898
 
 
10899
* Avoid some unnecessary http operations in branch and pull.
 
10900
 
 
10901
 
 
10902
bzr 0.1
 
10903
#######
 
10904
 
 
10905
:Released: 2005-10-11
 
10906
 
 
10907
Notes
 
10908
*****
 
10909
 
 
10910
* 'bzr branch' over http initially gives a very high estimate
 
10911
  of completion time but it should fall as the first few
 
10912
  revisions are pulled in.  branch is still slow on
 
10913
  high-latency connections.
 
10914
 
 
10915
Bug Fixes
 
10916
*********
 
10917
 
 
10918
* bzr-man.py has been updated to work again. Contributed by
 
10919
  Rob Weir.
 
10920
 
 
10921
* Locking is now done with fcntl.lockf which works with NFS
 
10922
  file systems. Contributed by Harald Meland.
 
10923
 
 
10924
* When a merge encounters a file that has been deleted on
 
10925
  one side and modified on the other, the old contents are
 
10926
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
10927
  or OTHER. Contributed by Aaron Bentley.
 
10928
 
 
10929
* Export was choosing incorrect file paths for the content of
 
10930
  the tarball, this has been fixed by Aaron Bentley.
 
10931
 
 
10932
* Commit will no longer commit without a log message, an
 
10933
  error is returned instead. Contributed by Jelmer Vernooij.
 
10934
 
 
10935
* If you commit a specific file in a sub directory, any of its
 
10936
  parent directories that are added but not listed will be
 
10937
  automatically included. Suggested by Michael Ellerman.
 
10938
 
 
10939
* bzr commit and upgrade did not correctly record new revisions
 
10940
  for files with only a change to their executable status.
 
10941
  bzr will correct this when it encounters it. Fixed by
 
10942
  Robert Collins
 
10943
 
 
10944
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
10945
  Contributed by Gustavo Niemeyer.
 
10946
 
 
10947
* Fix problems in merging weave-based branches that have
 
10948
  different partial views of history.
 
10949
 
 
10950
* Symlink support: working with symlinks when not in the root of a
 
10951
  bzr tree was broken, patch from Scott James Remnant.
 
10952
 
 
10953
Improvements
 
10954
************
 
10955
 
 
10956
* 'branch' now accepts a --basis parameter which will take advantage
 
10957
  of local history when making a new branch. This allows faster
 
10958
  branching of remote branches. Contributed by Aaron Bentley.
 
10959
 
 
10960
* New tree format based on weave files, called version 5.
 
10961
  Existing branches can be upgraded to this format using
 
10962
  'bzr upgrade'.
 
10963
 
 
10964
* Symlinks are now versionable. Initial patch by
 
10965
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
10966
 
 
10967
* Executable bits are tracked on files. Patch from Gustavo
 
10968
  Niemeyer.
 
10969
 
 
10970
* 'bzr status' now shows unknown files inside a selected directory.
 
10971
  Patch from Heikki Paajanen.
 
10972
 
 
10973
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
10974
  and 'resolve' have needed added, which list and remove those
 
10975
  merge conflicts respectively. A conflicted tree cannot be committed
 
10976
  in. Contributed by Aaron Bentley.
 
10977
 
 
10978
* 'rm' is now an alias for 'remove'.
 
10979
 
 
10980
* Stores now split out their content in a single byte prefixed hash,
 
10981
  dropping the density of files per directory by 256. Contributed by
 
10982
  Gustavo Niemeyer.
 
10983
 
 
10984
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
10985
  Contributed by Robert Collins.
 
10986
 
 
10987
* 'bzr log' with the default formatter will show merged revisions,
 
10988
  indented to the right. Initial implementation contributed by Gustavo
 
10989
  Niemeyer, made incremental by Robert Collins.
 
10990
 
 
10991
 
 
10992
Internals
 
10993
*********
 
10994
 
 
10995
* Test case failures have the exception printed after the log
 
10996
  for your viewing pleasure.
 
10997
 
 
10998
* InventoryEntry is now an abstract base class, use one of the
 
10999
  concrete InventoryDirectory etc classes instead.
 
11000
 
 
11001
* Branch raises an UnsupportedFormatError when it detects a
 
11002
  bzr branch it cannot understand. This allows for precise
 
11003
  handling of such circumstances.
 
11004
 
 
11005
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
11006
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
11007
  sha1s (for old branches only at the moment.)
 
11008
 
 
11009
* New method-object style interface for Commit() and Fetch().
 
11010
 
 
11011
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
11012
  we call them revisions not patches.
 
11013
 
 
11014
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
11015
  directory is created if it doesn't exist.
 
11016
 
 
11017
* Inventories now identify the files which were present by
 
11018
  giving the revision *of that file*.
 
11019
 
 
11020
* Inventory and Revision XML contains a version identifier.
 
11021
  This must be consistent with the overall branch version
 
11022
  but allows for more flexibility in future upgrades.
 
11023
 
 
11024
Testing
 
11025
*******
 
11026
 
 
11027
* Removed testsweet module so that tests can be run after
 
11028
  bzr installed by 'bzr selftest'.
 
11029
 
 
11030
* 'bzr selftest' command-line arguments can now be partial ids
 
11031
  of tests to run, e.g. ``bzr selftest test_weave``
 
11032
 
 
11033
 
 
11034
bzr 0.0.9
 
11035
#########
 
11036
 
 
11037
:Released: 2005-09-23
 
11038
 
 
11039
Bug Fixes
 
11040
*********
 
11041
 
 
11042
* Fixed "branch -r" option.
 
11043
 
 
11044
* Fix remote access to branches containing non-compressed history.
 
11045
  (Robert Collins).
 
11046
 
 
11047
* Better reliability of http server tests.  (John Arbash-Meinel)
 
11048
 
 
11049
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
11050
 
 
11051
* Various minor bug in windows support have been fixed, largely in the
 
11052
  test suite. Contributed by Alexander Belchenko.
 
11053
 
 
11054
Improvements
 
11055
************
 
11056
 
 
11057
* Status now accepts a -r argument to give status between chosen
 
11058
  revisions. Contributed by Heikki Paajanen.
 
11059
 
 
11060
* Revision arguments no longer use +/-/= to control ranges, instead
 
11061
  there is a 'before' namespace, which limits the successive namespace.
 
11062
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
11063
  select everything from yesterday and before today. Contributed by
 
11064
  Robey Pointer
 
11065
 
 
11066
* There is now a bzr.bat file created by distutils when building on
 
11067
  Windows. Contributed by Alexander Belchenko.
 
11068
 
 
11069
Internals
 
11070
*********
 
11071
 
 
11072
* Removed uuid() as it was unused.
 
11073
 
 
11074
* Improved 'fetch' code for pulling revisions from one branch into
 
11075
  another (used by pull, merged, etc.)
 
11076
 
 
11077
 
 
11078
bzr 0.0.8
 
11079
#########
 
11080
 
 
11081
:Released: 2005-09-20
 
11082
 
 
11083
 
 
11084
Improvements
 
11085
************
 
11086
 
 
11087
* Adding a file whose parent directory is not versioned will
 
11088
  implicitly add the parent, and so on up to the root. This means
 
11089
  you should never need to explictly add a directory, they'll just
 
11090
  get added when you add a file in the directory.  Contributed by
 
11091
  Michael Ellerman.
 
11092
 
 
11093
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
11094
  (Nir Soffer)
 
11095
 
 
11096
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
11097
  preference to EDITOR and the config file for the interactive commit
 
11098
  editing program. Related to this is a bugfix where a missing program
 
11099
  set in EDITOR would cause editing to fail, now the fallback program
 
11100
  for the operating system is still tried.
 
11101
 
 
11102
* Files that are not directories/symlinks/regular files will no longer
 
11103
  cause bzr to fail, it will just ignore them by default. You cannot add
 
11104
  them to the tree though - they are not versionable.
 
11105
 
 
11106
 
 
11107
Internals
 
11108
*********
 
11109
 
 
11110
* Refactor xml packing/unpacking.
 
11111
 
 
11112
Bug Fixes
 
11113
*********
 
11114
 
 
11115
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
11116
 
 
11117
* Fixed strange error when trying to access a nonexistent http
 
11118
  branch.
 
11119
 
 
11120
* Make sure that the hashcache gets written out if it can't be
 
11121
  read.
 
11122
 
 
11123
 
 
11124
Portability
 
11125
***********
 
11126
 
 
11127
* Various Windows fixes from Ollie Rutherfurd.
 
11128
 
 
11129
* Quieten warnings about locking; patch from Matt Lavin.
 
11130
 
 
11131
 
 
11132
bzr-0.0.7
 
11133
#########
 
11134
 
 
11135
:Released: 2005-09-02
 
11136
 
 
11137
New Features
 
11138
************
 
11139
 
 
11140
* ``bzr shell-complete`` command contributed by Clint Adams to
 
11141
  help with intelligent shell completion.
 
11142
 
 
11143
* New expert command ``bzr find-merge-base`` for debugging merges.
 
11144
 
 
11145
 
 
11146
Enhancements
 
11147
************
 
11148
 
 
11149
* Much better merge support.
 
11150
 
 
11151
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
11152
  (seven characters) which is the same as CVS and pleases things
 
11153
  like emacs smerge.
 
11154
 
 
11155
 
 
11156
Bug Fixes
 
11157
*********
 
11158
 
 
11159
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
11160
  mention revisions that are not present.
 
11161
 
 
11162
* Fixed bugs in listing plugins from ``bzr plugins``.
 
11163
 
 
11164
* Fix case of $EDITOR containing options for the editor.
 
11165
 
 
11166
* Fix log -r refusing to show the last revision.
 
11167
  (Patch from Goffredo Baroncelli.)
 
11168
 
 
11169
 
 
11170
Changes
 
11171
*******
 
11172
 
 
11173
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
11174
 
 
11175
* Externally provided commands on your $BZRPATH no longer need
 
11176
  to recognize --bzr-usage to work properly, and can just handle
 
11177
  --help themselves.
 
11178
 
 
11179
 
 
11180
Library
 
11181
*******
 
11182
 
 
11183
* Changed trace messages to go through the standard logging
 
11184
  framework, so that they can more easily be redirected by
 
11185
  libraries.
 
11186
 
 
11187
 
 
11188
 
 
11189
bzr-0.0.6
 
11190
#########
 
11191
 
 
11192
:Released: 2005-08-18
 
11193
 
 
11194
New Features
 
11195
************
 
11196
 
 
11197
* Python plugins, automatically loaded from the directories on
 
11198
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
11199
 
 
11200
* New 'bzr mkdir' command.
 
11201
 
 
11202
* Commit mesage is fetched from an editor if not given on the
 
11203
  command line; patch from Torsten Marek.
 
11204
 
 
11205
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
11206
  FOO.
 
11207
 
 
11208
* ``bzr add`` with no arguments adds everything under the current directory.
 
11209
 
 
11210
* ``bzr mv`` does move or rename depending on its arguments, like
 
11211
  the Unix command.
 
11212
 
 
11213
* ``bzr missing`` command shows a summary of the differences
 
11214
  between two trees.  (Merged from John Arbash-Meinel.)
 
11215
 
 
11216
* An email address for commits to a particular tree can be
 
11217
  specified by putting it into .bzr/email within a branch.  (Based
 
11218
  on a patch from Heikki Paajanen.)
 
11219
 
 
11220
 
 
11221
Enhancements
 
11222
************
 
11223
 
 
11224
* Faster working tree operations.
 
11225
 
 
11226
 
 
11227
Changes
 
11228
*******
 
11229
 
 
11230
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
11231
  python package, so that they can be installed by the setup
 
11232
  script without clashing with anything already existing on the
 
11233
  system.  (Contributed by Gustavo Niemeyer.)
 
11234
 
 
11235
* Moved plugins directory to bzrlib/, so that there's a standard
 
11236
  plugin directory which is not only installed with bzr itself but
 
11237
  is also available when using bzr from the development tree.
 
11238
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
11239
  standard plugins directory.
 
11240
 
 
11241
* When exporting to a tarball with ``bzr export --format tgz``, put
 
11242
  everything under a top directory rather than dumping it into the
 
11243
  current directory.   This can be overridden with the ``--root``
 
11244
  option.  Patch from William Dodé and John Meinel.
 
11245
 
 
11246
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
11247
  replacing ``bzr check --update``.
 
11248
 
 
11249
* Files within store directories are no longer marked readonly on
 
11250
  disk.
 
11251
 
 
11252
* Changed ``bzr log`` output to a more compact form suggested by
 
11253
  John A Meinel.  Old format is available with the ``--long`` or
 
11254
  ``-l`` option, patched by William Dodé.
 
11255
 
 
11256
* By default the commit command refuses to record a revision with
 
11257
  no changes unless the ``--unchanged`` option is given.
 
11258
 
 
11259
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
11260
  line options must come before the command name because they
 
11261
  affect what commands are available; all other options must come
 
11262
  after the command name because their interpretation depends on
 
11263
  it.
 
11264
 
 
11265
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
11266
 
 
11267
* Default log format is back to the long format; the compact one
 
11268
  is available with ``--short``.
 
11269
 
 
11270
 
 
11271
Bug Fixes
 
11272
*********
 
11273
 
 
11274
* Fix bugs in committing only selected files or within a subdirectory.
 
11275
 
 
11276
 
 
11277
bzr-0.0.5
 
11278
#########
 
11279
 
 
11280
:Released:  2005-06-15
 
11281
 
 
11282
Changes
 
11283
*******
 
11284
 
 
11285
* ``bzr`` with no command now shows help rather than giving an
 
11286
  error.  Suggested by Michael Ellerman.
 
11287
 
 
11288
* ``bzr status`` output format changed, because svn-style output
 
11289
  doesn't really match the model of bzr.  Now files are grouped by
 
11290
  status and can be shown with their IDs.  ``bzr status --all``
 
11291
  shows all versioned files and unknown files but not ignored files.
 
11292
 
 
11293
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
11294
  of the previous order.  The previous behaviour can be obtained
 
11295
  with the ``--forward`` option.
 
11296
 
 
11297
* ``bzr inventory`` by default shows only filenames, and also ids
 
11298
  if ``--show-ids`` is given, in which case the id is the second
 
11299
  field.
 
11300
 
 
11301
 
 
11302
Enhancements
 
11303
************
 
11304
 
 
11305
* New 'bzr whoami --email' option shows only the email component
 
11306
  of the user identification, from Jo Vermeulen.
 
11307
 
 
11308
* New ``bzr ignore PATTERN`` command.
 
11309
 
 
11310
* Nicer error message for broken pipe, interrupt and similar
 
11311
  conditions that don't indicate an internal error.
 
11312
 
 
11313
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
11314
 
 
11315
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
11316
  either read or write mode.
 
11317
 
 
11318
* New option ``bzr log --show-ids`` shows revision and file ids.
 
11319
 
 
11320
* New usage ``bzr log FILENAME`` shows only revisions that
 
11321
  affected that file.
 
11322
 
 
11323
* Changed format for describing changes in ``bzr log -v``.
 
11324
 
 
11325
* New option ``bzr commit --file`` to take a message from a file,
 
11326
  suggested by LarstiQ.
 
11327
 
 
11328
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
11329
  Oler.  File may be in a branch other than the working directory.
 
11330
 
 
11331
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
11332
  a filename.
 
11333
 
 
11334
* Commands can now be defined by external programs or scripts
 
11335
  in a directory on $BZRPATH.
 
11336
 
 
11337
* New "stat cache" avoids reading the contents of files if they
 
11338
  haven't changed since the previous time.
 
11339
 
 
11340
* If the Python interpreter is too old, try to find a better one
 
11341
  or give an error.  Based on a patch from Fredrik Lundh.
 
11342
 
 
11343
* New optional parameter ``bzr info [BRANCH]``.
 
11344
 
 
11345
* New form ``bzr commit SELECTED`` to commit only selected files.
 
11346
 
 
11347
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
11348
  range; contributed by John A Meinel.
 
11349
 
 
11350
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
11351
  options through to an external GNU diff.
 
11352
 
 
11353
* New option ``bzr add --no-recurse`` to add a directory but not
 
11354
  their contents.
 
11355
 
 
11356
* ``bzr --version`` now shows more information if bzr is being run
 
11357
  from a branch.
 
11358
 
 
11359
 
 
11360
Bug Fixes
 
11361
*********
 
11362
 
 
11363
* Fixed diff format so that added and removed files will be
 
11364
  handled properly by patch.  Fix from Lalo Martins.
 
11365
 
 
11366
* Various fixes for files whose names contain spaces or other
 
11367
  metacharacters.
 
11368
 
 
11369
 
 
11370
Testing
 
11371
*******
 
11372
 
 
11373
* Converted black-box test suites from Bourne shell into Python;
 
11374
  now run using ``./testbzr``.  Various structural improvements to
 
11375
  the tests.
 
11376
 
 
11377
* testbzr by default runs the version of bzr found in the same
 
11378
  directory as the tests, or the one given as the first parameter.
 
11379
 
 
11380
* testbzr also runs the internal tests, so the only command
 
11381
  required to check is just ``./testbzr``.
 
11382
 
 
11383
* testbzr requires python2.4, but can be used to test bzr running
 
11384
  under a different version.
 
11385
 
 
11386
* Tests added for many other changes in this release.
 
11387
 
 
11388
 
 
11389
Internal
 
11390
********
 
11391
 
 
11392
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
11393
 
 
11394
* Refactor command functions into Command objects based on HCT by
 
11395
  Scott James Remnant.
 
11396
 
 
11397
* Better help messages for many commands.
 
11398
 
 
11399
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
11400
  this is called trace messages are just discarded.
 
11401
 
 
11402
* New internal function ``find_touching_revisions()`` and hidden
 
11403
  command touching-revisions trace the changes to a given file.
 
11404
 
 
11405
* Simpler and faster ``compare_inventories()`` function.
 
11406
 
 
11407
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
11408
 
 
11409
* New AtomicFile class.
 
11410
 
 
11411
* New developer commands ``added``, ``modified``.
 
11412
 
 
11413
 
 
11414
Portability
 
11415
***********
 
11416
 
 
11417
* Cope on Windows on python2.3 by using the weaker random seed.
 
11418
  2.4 is now only recommended.
 
11419
 
 
11420
 
 
11421
bzr-0.0.4
 
11422
#########
 
11423
 
 
11424
:Released:  2005-04-22
 
11425
 
 
11426
Enhancements
 
11427
************
 
11428
 
 
11429
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
11430
  basic.  Patch from QuantumG.
 
11431
 
 
11432
* More default ignore patterns.
 
11433
 
 
11434
* New 'bzr log --verbose' shows a list of files changed in the
 
11435
  changeset.  Patch from Sebastian Cote.
 
11436
 
 
11437
* Roll over ~/.bzr.log if it gets too large.
 
11438
 
 
11439
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
11440
  by Jason Diamon.
 
11441
 
 
11442
* New 'bzr help commands' based on a patch from Denys Duchier.
 
11443
 
 
11444
 
 
11445
Changes
 
11446
*******
 
11447
 
 
11448
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
11449
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
11450
  If none of these are present user@hostname is used.  The host's
 
11451
  fully-qualified name is not used because that tends to fail when
 
11452
  there are DNS problems.
 
11453
 
 
11454
* New 'bzr whoami' command instead of username user-email.
 
11455
 
 
11456
 
 
11457
Bug Fixes
 
11458
*********
 
11459
 
 
11460
* Make commit safe for hardlinked bzr trees.
 
11461
 
 
11462
* Some Unicode/locale fixes.
 
11463
 
 
11464
* Partial workaround for ``difflib.unified_diff`` not handling
 
11465
  trailing newlines properly.
 
11466
 
 
11467
 
 
11468
Internal
 
11469
********
 
11470
 
 
11471
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
11472
  Matt Brubeck.
 
11473
 
 
11474
* More tests in test.sh.
 
11475
 
 
11476
* Write profile data to a temporary file not into working
 
11477
  directory and delete it when done.
 
11478
 
 
11479
* Smaller .bzr.log with process ids.
 
11480
 
 
11481
 
 
11482
Portability
 
11483
***********
 
11484
 
 
11485
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
11486
  Bennetts.
 
11487
 
 
11488
* Some improvements in handling paths on Windows, based on a patch
 
11489
  from QuantumG.
 
11490
 
 
11491
 
 
11492
bzr-0.0.3
 
11493
#########
 
11494
 
 
11495
:Released:  2005-04-06
 
11496
 
 
11497
Enhancements
 
11498
************
 
11499
 
 
11500
* New "directories" internal command lists versioned directories
 
11501
  in the tree.
 
11502
 
 
11503
* Can now say "bzr commit --help".
 
11504
 
 
11505
* New "rename" command to rename one file to a different name
 
11506
  and/or directory.
 
11507
 
 
11508
* New "move" command to move one or more files into a different
 
11509
  directory.
 
11510
 
 
11511
* New "renames" command lists files renamed since base revision.
 
11512
 
 
11513
* New cat command contributed by janmar.
 
11514
 
 
11515
Changes
 
11516
*******
 
11517
 
 
11518
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
11519
  UTF-8.  (Probably not a completely good long-term solution, but
 
11520
  will do for now.)
 
11521
 
 
11522
Portability
 
11523
***********
 
11524
 
 
11525
* Workaround for difflib bug in Python 2.3 that causes an
 
11526
  exception when comparing empty files.  Reported by Erik Toubro
 
11527
  Nielsen.
 
11528
 
 
11529
Internal
 
11530
********
 
11531
 
 
11532
* Refactored inventory storage to insert a root entry at the top.
 
11533
 
 
11534
Testing
 
11535
*******
 
11536
 
 
11537
* Start of shell-based black-box testing in test.sh.
7871
11538
 
7872
11539
 
7873
11540
bzr-0.0.2.1
7874
 
-----------
7875
 
 
7876
 
  PORTABILITY:
7877
 
 
7878
 
    * Win32 fixes from Steve Brown.
7879
 
 
7880
 
 
7881
 
bzr-0.0.2  "black cube"  2005-03-31
7882
 
-----------------------------------
7883
 
 
7884
 
  ENHANCEMENTS:
7885
 
 
7886
 
    * Default ignore list extended (see bzrlib/__init__.py).
7887
 
 
7888
 
    * Patterns in .bzrignore are now added to the default ignore list,
7889
 
      rather than replacing it.
7890
 
 
7891
 
    * Ignore list isn't reread for every file.
7892
 
 
7893
 
    * More help topics.
7894
 
 
7895
 
    * Reinstate the 'bzr check' command to check invariants of the
7896
 
      branch.
7897
 
 
7898
 
    * New 'ignored' command lists which files are ignored and why;
7899
 
      'deleted' lists files deleted in the current working tree.
7900
 
 
7901
 
    * Performance improvements.
7902
 
 
7903
 
    * New global --profile option.
7904
 
 
7905
 
    * Ignore patterns like './config.h' now correctly match files in
7906
 
      the root directory only.
7907
 
 
7908
 
 
7909
 
bzr-0.0.1  2005-03-26
7910
 
---------------------
7911
 
 
7912
 
  ENHANCEMENTS:
7913
 
 
7914
 
    * More information from info command.
7915
 
 
7916
 
    * Can now say "bzr help COMMAND" for more detailed help.
7917
 
 
7918
 
    * Less file flushing and faster performance when writing logs and
7919
 
      committing to stores.
7920
 
 
7921
 
    * More useful verbose output from some commands.
7922
 
 
7923
 
  BUG FIXES:
7924
 
 
7925
 
    * Fix inverted display of 'R' and 'M' during 'commit -v'.
7926
 
 
7927
 
  PORTABILITY:
7928
 
 
7929
 
    * Include a subset of ElementTree-1.2.20040618 to make
7930
 
      installation easier.
7931
 
 
7932
 
    * Fix time.localtime call to work with Python 2.3 (the minimum
7933
 
      supported).
7934
 
 
7935
 
 
7936
 
bzr-0.0.0.69  2005-03-22
7937
 
------------------------
7938
 
 
7939
 
  ENHANCEMENTS:
7940
 
 
7941
 
    * First public release.
7942
 
 
7943
 
    * Storage of local versions: init, add, remove, rm, info, log,
7944
 
      diff, status, etc.
 
11541
###########
 
11542
 
 
11543
Portability
 
11544
***********
 
11545
 
 
11546
* Win32 fixes from Steve Brown.
 
11547
 
 
11548
 
 
11549
bzr-0.0.2
 
11550
#########
 
11551
 
 
11552
:Codename: "black cube"
 
11553
:Released: 2005-03-31
 
11554
 
 
11555
Enhancements
 
11556
************
 
11557
 
 
11558
* Default ignore list extended (see bzrlib/__init__.py).
 
11559
 
 
11560
* Patterns in .bzrignore are now added to the default ignore list,
 
11561
  rather than replacing it.
 
11562
 
 
11563
* Ignore list isn't reread for every file.
 
11564
 
 
11565
* More help topics.
 
11566
 
 
11567
* Reinstate the 'bzr check' command to check invariants of the
 
11568
  branch.
 
11569
 
 
11570
* New 'ignored' command lists which files are ignored and why;
 
11571
  'deleted' lists files deleted in the current working tree.
 
11572
 
 
11573
* Performance improvements.
 
11574
 
 
11575
* New global --profile option.
 
11576
 
 
11577
* Ignore patterns like './config.h' now correctly match files in
 
11578
  the root directory only.
 
11579
 
 
11580
 
 
11581
bzr-0.0.1
 
11582
#########
 
11583
 
 
11584
:Released:  2005-03-26
 
11585
 
 
11586
Enhancements
 
11587
************
 
11588
 
 
11589
* More information from info command.
 
11590
 
 
11591
* Can now say "bzr help COMMAND" for more detailed help.
 
11592
 
 
11593
* Less file flushing and faster performance when writing logs and
 
11594
  committing to stores.
 
11595
 
 
11596
* More useful verbose output from some commands.
 
11597
 
 
11598
Bug Fixes
 
11599
*********
 
11600
 
 
11601
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
11602
 
 
11603
Portability
 
11604
***********
 
11605
 
 
11606
* Include a subset of ElementTree-1.2.20040618 to make
 
11607
  installation easier.
 
11608
 
 
11609
* Fix time.localtime call to work with Python 2.3 (the minimum
 
11610
  supported).
 
11611
 
 
11612
 
 
11613
bzr-0.0.0.69
 
11614
############
 
11615
 
 
11616
:Released:  2005-03-22
 
11617
 
 
11618
Enhancements
 
11619
************
 
11620
 
 
11621
* First public release.
 
11622
 
 
11623
* Storage of local versions: init, add, remove, rm, info, log,
 
11624
  diff, status, etc.
 
11625
 
 
11626
 
 
11627
bzr ?.?.? (not released yet)
 
11628
############################
 
11629
 
 
11630
:Codename: template
 
11631
:2.0.2: ???
 
11632
 
 
11633
Compatibility Breaks
 
11634
********************
 
11635
 
 
11636
New Features
 
11637
************
 
11638
 
 
11639
Bug Fixes
 
11640
*********
 
11641
 
 
11642
Improvements
 
11643
************
 
11644
 
 
11645
Documentation
 
11646
*************
 
11647
 
 
11648
API Changes
 
11649
***********
 
11650
 
 
11651
Internals
 
11652
*********
 
11653
 
 
11654
Testing
 
11655
*******
 
11656
 
 
11657
 
7945
11658
 
7946
11659
..
7947
11660
   vim: tw=74 ft=rst ff=unix