5
* ``bzr rm`` now does not insist on ``--force`` to delete files that
6
have been renamed but not otherwise modified. (Marius Kruger,
11
* Don't show "dots" progress indicators when run non-interactively, such
12
as from cron. (Martin Pool)
14
* ``info`` now formats locations more nicely and lists "submit" and
15
"public" branches (Aaron Bentley)
17
* New ``pack`` command that will trigger database compression within
18
the repository (Robert Collins)
20
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
21
version is approximately 2-3x faster at parsing a ``.kndx`` file.
22
Which yields a measurable improvement for commands which have to
23
read from the repository, such as a 1s => 0.75s improvement in
24
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
26
* Merge is now faster. Depending on the scenario, it can be more than 2x
27
faster. (Aaron Bentley)
29
* Give a clearer warning, and allow ``python setup.py install`` to
30
succeed even if pyrex is not available.
35
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
36
Options are now required to provide a help string and it must
37
comply with the style guide by being one or more sentences with an
38
initial capital and final period. (Martin Pool)
42
* merge now uses iter_changes to calculate changes, which makes room for
43
future performance increases. It is also more consistent with other
44
operations that perform comparisons, and reduces reliance on
45
Tree.inventory. (Aaron Bentley)
47
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
48
the null revision, and consider using ``None`` for this purpose
49
deprecated. (Aaron Bentley)
53
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
54
``--keep-output`` options, which are obsolete now that tests
55
are done within directories in $TMPDIR. (Martin Pool)
58
bzr 0.18rc1 2007-07-10
62
* Do not suppress pipe errors, etc. in non-display commands
63
(Alexander Belchenko, #87178)
65
* Display a useful error message when the user requests to annotate
66
a file that is not present in the specified revision.
67
(James Westby, #122656)
69
* Commands that use status flags now have a reference to 'help
70
status-flags'. (Daniel Watkins, #113436)
72
* Work around python-2.4.1 inhability to correctly parse the
73
authentication header.
74
(Vincent Ladeuil, #121889)
76
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
78
* Fix tempfile permissions error in smart server tar bundling under
79
Windows. (Martin_, #119330)
81
* Fix detection of directory entries in the inventory. (James Westby)
83
* Fix handling of http code 400: Bad Request When issuing too many ranges.
84
(Vincent Ladeuil, #115209)
86
* Issue a CONNECT request when connecting to an https server
87
via a proxy to enable SSL tunneling.
88
(Vincent Ladeuil, #120678)
90
* Fix ``bzr log -r`` to support selecting merge revisions, both
91
individually and as part of revision ranges.
94
* Don't leave cruft behind when failing to acquire a lockdir.
95
(Martin Pool, #109169)
97
* Don't use the '-f' strace option during tests.
98
(Vincent Ladeuil, #102019).
100
* Warn when setting ``push_location`` to a value that will be masked by
101
locations.conf. (Aaron Bentley, #122286)
103
* Fix commit ordering in corner case (Aaron Bentley, #94975)
105
* Make annotate behave in a non-ASCII world (Adeodato Simó).
109
* The --lsprof-file option now dumps a text rendering of the profiling
110
information if the filename ends in ".txt". It will also convert the
111
profiling information to a format suitable for KCacheGrind if the
112
output filename ends in ".callgrind". Fixes to the lsprofcalltree
113
conversion process by Jean Paul Calderone and Itamar were also merged.
114
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
116
* ``info`` now defaults to non-verbose mode, displaying only paths and
117
abbreviated format info. ``info -v`` displays all the information
118
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
120
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
123
* The internal ``weave-list`` command has become ``versionedfile-list``,
124
and now lists knits as well as weaves. (Aaron Bentley)
126
* Automatic merge base selection uses a faster algorithm that chooses
127
better bases in criss-cross merge situations (Aaron Bentley)
129
* Progress reporting in ``commit`` has been improved. The various logical
130
stages are now reported on as follows, namely:
132
* Collecting changes [Entry x/y] - Stage n/m
133
* Saving data locally - Stage n/m
134
* Uploading data to master branch - Stage n/m
135
* Updating the working tree - Stage n/m
136
* Running post commit hooks - Stage n/m
138
If there is no master branch, the 3rd stage is omitted and the total
139
number of stages is adjusted accordingly.
141
Each hook that is run after commit is listed with a name (as hooks
142
can be slow it is useful feedback).
143
(Ian Clatworthy, Robert Collins)
145
* Various operations that are now faster due to avoiding unnecessary
146
topological sorts. (Aaron Bentley)
148
* Make merge directives robust against broken bundles. (Aaron Bentley)
150
* The lsprof filename note is emitted via trace.note(), not standard
151
output. (Aaron Bentley)
153
* ``bzrlib`` now exports explicit API compatibility information to assist
154
library users and plugins. See the ``bzrlib.api`` module for details.
157
* Remove unnecessary lock probes when acquiring a lockdir.
160
* ``bzr --version`` now shows the location of the bzr log file, which
161
is especially useful on Windows. (Martin Pool)
163
* -D now supports hooks to get debug tracing of hooks (though its currently
164
minimal in nature). (Robert Collins)
166
* Long log format reports deltas on merge revisions.
167
(John Arbash Meinel, Kent Gibson)
169
* Make initial push over ftp more resilient. (John Arbash Meinel)
171
* Print a summary of changes for update just like pull does.
172
(Daniel Watkins, #113990)
174
* Add a -Dhpss option to trace smart protocol requests and responses.
180
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
181
to ``bzrlib.tests.repository_implementations``;
182
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
183
to ``bzrlib.tests.interrepository_implementations``;
184
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
185
``bzrlib.tests.test_transport_implementations``.
186
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
187
``bzrlib.tests.branch_implementations``.
188
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
189
``bzrlib.tests.bzrdir_implementations``.
190
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
191
to ``bzrlib.tests.interversionedfile_implementations``.
192
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
193
``bzrlib.tests.revisionstore_implementations``.
194
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
195
``bzrlib.tests.workingtree_implementations``.
196
These changes are an API break in the testing infrastructure only.
199
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
201
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
202
win32. Callers of the function should do this and use the new
203
``MutableTree.smart_add`` method instead. (Robert Collins)
205
* ``bzrlib.add.glob_expand_for_win32`` is now
206
``bzrlib.win32utils.glob_expand``. (Robert Collins)
208
* ``bzrlib.add.FastPath`` is now private and moved to
209
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
211
* ``LockDir.wait`` removed. (Martin Pool)
215
* New SMTPConnection class to unify email handling. (Adeodato Simó)
217
* Fix documentation of BzrError. (Adeodato Simó)
219
* Make BzrBadParameter an internal error. (Adeodato Simó)
221
* Remove use of 'assert False' to raise an exception unconditionally.
224
* Give a cleaner error when failing to decode knit index entry.
227
* TreeConfig would mistakenly search the top level when asked for options
228
from a section. It now respects the section argument and only
229
searches the specified section. (James Westby)
231
* Improve ``make api-docs`` output. (John Arbash Meinel)
233
* Use os.lstat rather than os.stat for osutils.make_readonly and
234
osutils.make_writeable. This makes the difftools plugin more
235
robust when dangling symlinks are found. (Elliot Murphy)
237
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
238
lockdirs are taken or released. (Martin Pool)
240
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
241
allows a nicer UI when hooks are running as the current hook can
242
be displayed. (Robert Collins)
244
* ``Transport.get`` has had its interface made more clear for ease of use.
245
Retrieval of a directory must now fail with either 'PathError' at open
246
time, or raise 'ReadError' on a read. (Robert Collins)
248
* New method ``_maybe_expand_globs`` on the ``Command`` class for
249
dealing with unexpanded glob lists - e.g. on the win32 platform. This
250
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
252
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
253
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
256
* New method ``external_url`` on Transport for obtaining the url to
257
hand to external processes. (Robert Collins)
259
* Teach windows installers to build pyrex/C extensions.
260
(Alexander Belchenko)
264
* Removed the ``--keep-output`` option from selftest and clean up test
265
directories as they're used. This reduces the IO load from
266
running the test suite and cuts the time by about half.
267
(Andrew Bennetts, Martin Pool)
269
* Add scenarios as a public attribute on the TestAdapter classes to allow
270
modification of the generated scenarios before adaption and easier
271
testing. (Robert Collins)
273
* New testing support class ``TestScenarioApplier`` which multiplies
274
out a single teste by a list of supplied scenarios. (RobertCollins)
276
* Setting ``repository_to_test_repository`` on a repository_implementations
277
test will cause it to be called during repository creation, allowing the
278
testing of repository classes which are not based around the Format
279
concept. For example a repository adapter can be tested in this manner,
280
by altering the repository scenarios to include a scenario that sets this
281
attribute during the test parameterisation in
282
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
284
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
285
interface is now self.run_bzr. The command to run can be passed as
286
either a list of parameters, a string containing the command line, or
287
(deprecated) varargs parameters. (Martin Pool)
289
* The base TestCase now isolates tests from -D parameters by clearing
290
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
292
* Add a relpath parameter to get_transport methods in test framework to
293
avoid useless cloning.
294
(Vincent Ladeuil, #110448)
301
* Fix crash of commit due to wrong lookup of filesystem encoding.
302
(Colin Watson, #120647)
304
* Revert logging just to stderr in commit as broke unicode filenames.
305
(Aaron Bentley, Ian Clatworthy, #120930)
308
bzr 0.17rc1 2007-06-12
310
NOTES WHEN UPGRADING:
312
* The kind() and is_executable() APIs on the WorkingTree interface no
313
longer implicitly (read) locks and unlocks the tree. This *might*
314
impact some plug-ins and tools using this part of the API. If you find
315
an issue that may be caused by this change, please let us know,
316
particularly the plug-in/tool maintainer. If encountered, the API
317
fix is to surround kind() and is_executable() calls with lock_read()
318
and unlock() like so::
320
work_tree.lock_read()
322
kind = work_tree.kind(...)
327
* Rework of LogFormatter API to provide beginning/end of log hooks and to
328
encapsulate the details of the revision to be logged in a LogRevision
330
In long log formats, merge revision ids are only shown when --show-ids
331
is specified, and are labelled "revision-id:", as per mainline
332
revisions, instead of "merged:". (Kent Gibson)
334
* New ``BranchBuilder`` API which allows the construction of particular
335
histories quickly. Useful for testing and potentially other applications
336
too. (Robert Collins)
340
* There are two new help topics, working-trees and repositories that
341
attempt to explain these concepts. (James Westby, John Arbash Meinel,
344
* Added ``bzr log --limit`` to report a limited number of revisions.
347
* Revert does not try to preserve file contents that were originally
348
produced by reverting to a historical revision. (Aaron Bentley)
350
* ``bzr log --short`` now includes ``[merge]`` for revisions which
351
have more than one parent. This is a small improvement to help
352
understanding what changes have occurred
353
(John Arbash Meinel, #83887)
355
* TreeTransform avoids many renames when contructing large trees,
356
improving speed. 3.25x speedups have been observed for construction of
357
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
359
* Commit on large trees is now faster. In my environment, a commit of
360
a small change to the Mozilla tree (55k files) has dropped from
361
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
362
small change is 33% faster. (Ian Clatworthy)
364
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
369
* ``bzr push`` should only connect to the remote location one time.
370
We have been connecting 3 times because we forget to pass around
371
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
372
that we can pass in the Transport that we already have.
373
(John Arbash Meinel, #75721)
375
* ``DirState.set_state_from_inventory()`` needs to properly order
376
based on split paths, not just string paths.
377
(John Arbash Meinel, #115947)
379
* Let TestUIFactoy encode the password prompt with its own stdout.
380
(Vincent Ladeuil, #110204)
382
* pycurl should take use the range header that takes the range hint
384
(Vincent Ladeuil, #112719)
386
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
387
on a missing file. (Aaron Bentley, #118186)
389
* WorkingTree.remove works correctly with tree references, and when pwd is
390
not the tree root. (Aaron Bentley)
392
* Merge no longer fails when a file is renamed in one tree and deleted
393
in the other. (Aaron Bentley, #110279)
395
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
396
and defaults to the last revision (Matthew Fuller, #90048)
398
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
399
(Daniel Watkins, #111958)
401
* ``bzr branch -r revid:foo`` can be used to branch any revision in
402
your repository. (Previously Branch6 only supported revisions in your
403
mainline). (John Arbash Meinel, #115343)
409
* Handle when you have 2 directories with similar names, but one has a
410
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
411
iterator was using direct comparison and ``'abc/a'`` sorts after
412
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
413
(John Arbash Meinel, #111227)
415
* Handle when someone renames a file on disk without telling bzr.
416
Previously we would report the first file as missing, but not show
417
the new unknown file. (John Arbash Meinel, #111288)
419
* Avoid error when running hooks after pulling into or pushing from
420
a branch bound to a smartserver branch. (Martin Pool, #111968)
424
* Move developer documentation to doc/developers/. This reduces clutter in
425
the root of the source tree and allows HACKING to be split into multiple
426
files. (Robert Collins, Alexander Belchenko)
428
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
429
``DirState.update_entry()``. This optimizes the core logic for ``bzr
430
diff`` and ``bzr status`` significantly improving the speed of
431
both. (John Arbash Meinel)
433
bzr 0.16rc2 2007-04-30
437
* Handle the case when you delete a file, and then rename another file
438
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
439
status`` should show the removed file and an unknown file in its
440
place. (John Arbash Meinel, #109993)
442
* Bundles properly read and write revision properties that have an
443
empty value. And when the value is not ASCII.
444
(John Arbash Meinel, #109613)
446
* Fix the bzr commit message to be in text mode.
447
(Alexander Belchenko, #110901)
449
* Also handle when you rename a file and create a file where it used
450
to be. (John Arbash Meinel, #110256)
452
* ``WorkingTree4._iter_changes`` should not descend into unversioned
453
directories. (John Arbash Meinel, #110399)
455
bzr 0.16rc1 2007-04-26
457
NOTES WHEN UPGRADING:
459
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
460
it could be recovered again.
461
This has been done for consistency with svn and the unix rm command.
462
The old ``remove`` behaviour has been retained in the new option
463
``bzr remove --keep``, which will just stop versioning the file,
465
``bzr remove --force`` have been added which will always delete the
467
``bzr remove`` is also more verbose.
468
(Marius Kruger, #82602)
472
* Merge directives can now be supplied as input to `merge` and `pull`,
473
like bundles can. (Aaron Bentley)
475
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
476
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
477
to continue. This can be disabled by setting the environment variable
478
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
480
* selftest now supports --list-only to list tests instead of running
481
them. (Ian Clatworthy)
483
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
484
tests with names that match that regular expression.
485
(Ian Clatworthy, #102679)
487
* selftest now supports --randomize SEED to run tests in a random order.
488
SEED is typically the value 'now' meaning 'use the current time'.
489
(Ian Clatworthy, #102686)
491
* New option ``--fixes`` to commit, which stores bug fixing annotations as
492
revision properties. Built-in support for Launchpad, Debian, Trac and
493
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
495
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
496
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
499
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
502
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
503
into using local variables instead of going through ``self._var``.
504
Improves the time to ``merge_sort`` a 10k revision graph by
505
approximately 40% (~700->400ms). (John Arbash Meinel)
507
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
510
* ``bzr help`` now provides cross references to other help topics using
511
the _see_also facility on command classes. Likewise the bzr_man
512
documentation, and the bzr.1 man page also include this information.
515
* Tags are now included in logs, that use the long log formatter.
516
(Erik Bågfors, Alexander Belchenko)
518
* ``bzr help`` provides a clearer message when a help topic cannot be
519
found. (Robert Collins, #107656)
521
* ``bzr help`` now accepts optional prefixes for command help. The help
522
for all commands can now be found at ``bzr help commands/COMMANDNAME``
523
as well as ``bzr help COMMANDNAME`` (which only works for commands
524
where the name is not the same as a more general help topic).
527
* ``bzr help PLUGINNAME`` will now return the module docstring from the
528
plugin PLUGINNAME. (Robert Collins, #50408)
530
* New help topic ``urlspec`` which lists the availables transports.
531
(Goffredo Baroncelli)
533
* doc/server.txt updated to document the default bzr:// port
534
and also update the blurb about the hpss' current status.
535
(Robert Collins, #107125).
537
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
538
serve out to the local LAN (and anyone in the world that can reach the
539
machine running ``bzr serve``. (Robert Collins, #98918)
541
* A new smart server protocol version has been added. It prefixes requests
542
and responses with an explicit version identifier so that future protocol
543
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
545
* The bzr protocol version 2 indicates success or failure in every response
546
without depending on particular commands encoding that consistently,
547
allowing future client refactorings to be much more robust about error
548
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
550
* The smart protocol over HTTP client has been changed to always post to the
551
same ``.bzr/smart`` URL under the original location when it can. This allows
552
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
553
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
555
* digest authentication is now supported for proxies and HTTP by the urllib
556
based http implementation. Tested against Apache 2.0.55 and Squid
557
2.6.5. Basic and digest authentication are handled coherently for HTTP
558
and proxy: if the user is provided in the url (bzr command line for HTTP,
559
proxy environment variables for proxies), the password is prompted for
560
(only once). If the password is provided, it is taken into account. Once
561
the first authentication is successful, all further authentication
562
roundtrips are avoided by preventively setting the right authentication
568
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
569
code paths. (Robert Collins)
571
* Change the format of chroot urls so that they can be safely manipulated
572
by generic url utilities without causing the resulting urls to have
573
escaped the chroot. A side effect of this is that creating a chroot
574
requires an explicit action using a ChrootServer.
575
(Robert Collins, Andrew Bennetts)
577
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
578
rather than fixing bug #96847. (Aaron Bentley)
580
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
581
``WorkingTree._write_inventory``. (Aaron Bentley)
583
* Convenience method ``TestCase.expectFailure`` ensures that known failures
584
do not silently pass. (Aaron Bentley)
586
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
587
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
589
* New SmartServer hooks facility. There are two initial hooks documented
590
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
591
plugins to execute code upon server startup and shutdown.
594
* SmartServer in standalone mode will now close its listening socket
595
when it stops, rather than waiting for garbage collection. This primarily
596
fixes test suite hangs when a test tries to connect to a shutdown server.
597
It may also help improve behaviour when dealing with a server running
598
on a specific port (rather than dynamically assigned ports).
601
* Move most SmartServer code into a new package, bzrlib/smart.
602
bzrlib/transport/remote.py contains just the Transport classes that used
603
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
605
* urllib http implementation avoid roundtrips associated with
606
401 (and 407) errors once the authentication succeeds.
609
* urlib http now supports querying the user for a proxy password if
610
needed. Realm is shown in the prompt for both HTTP and proxy
611
authentication when the user is required to type a password.
614
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
615
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
616
consistent with its new home in ``bzrlib/transport/remote.py``, and because
617
it's not really a "smart" transport, just one that does file operations
618
via remote procedure calls. (Andrew Bennetts)
620
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
621
``Branch`` now accept a ``token`` keyword argument, so that separate
622
instances of those objects can share a lock if it has the right token.
623
(Andrew Bennetts, Robert Collins)
625
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
626
branch references - which the smart server component needs.
628
* The Repository API ``make_working_trees`` is now permitted to return
629
False when ``set_make_working_trees`` is not implemented - previously
630
an unimplemented ``set_make_working_trees`` implied the result True
631
from ``make_working_trees``. This has been changed to accomodate the
632
smart server, where it does not make sense (at this point) to ever
633
make working trees by default. (Robert Collins)
635
* Command objects can now declare related help topics by having _see_also
636
set to a list of related topic. (Robert Collins)
638
* ``bzrlib.help`` now delegates to the Command class for Command specific
639
help. (Robert Collins)
641
* New class ``TransportListRegistry``, derived from the Registry class, which
642
simplifies tracking the available Transports. (Goffredo Baroncelli)
644
* New function ``Branch.get_revision_id_to_revno_map`` which will
645
return a dictionary mapping revision ids to dotted revnos. Since
646
dotted revnos are defined in the context of the branch tip, it makes
647
sense to generate them from a ``Branch`` object.
650
* Fix the 'Unprintable error' message display to use the repr of the
651
exception that prevented printing the error because the str value
652
for it is often not useful in debugging (e.g. KeyError('foo') has a
653
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
654
useful. (Robert Collins)
656
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
661
* Don't fail bundle selftest if email has 'two' embedded.
662
(Ian Clatworthy, #98510)
664
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
665
(Robert Widhopf-Fenk, #98591)
667
* Remove ``--basis`` from the checkout/branch commands - it didn't work
668
properly and is no longer beneficial.
669
(Robert Collins, #53675, #43486)
671
* Don't produce encoding error when adding duplicate files.
674
* Fix ``bzr log <file>`` so it only logs the revisions that changed
675
the file, and does it faster.
676
(Kent Gibson, John Arbash Meinel, #51980, #69477)
678
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
679
an empty versioned directory, which now has files in it.
680
(John Arbash Meinel, #104257)
682
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
683
inside the ancestry of the other. Saves a lot of graph processing
684
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
685
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
687
* Fix ``show_diff_trees`` to handle the case when a file is modified,
688
and the containing directory is renamed. (The file path is different
689
in this versus base, but it isn't marked as a rename).
690
(John Arbash Meinel, #103870)
692
* FTP now works even when the FTP server does not support atomic rename.
693
(Aaron Bentley, #89436)
695
* Correct handling in bundles and merge directives of timezones with
696
that are not an integer number of hours offset from UTC. Always
697
represent the epoch time in UTC to avoid problems with formatting
698
earlier times on win32. (Martin Pool, Alexander Belchenko, John
701
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
703
* "dirstate" and "dirstate-tags" formats now produce branches compatible
704
with old versions of bzr. (Aaron Bentley, #107168))
706
* Handle moving a directory when children have been added, removed,
707
and renamed. (John Arbash Meinel, #105479)
709
* Don't preventively use basic authentication for proxy before receiving a
710
407 error. Otherwise people willing to use other authentication schemes
711
may expose their password in the clear (or nearly). This add one
712
roundtrip in case basic authentication should be used, but plug the
716
* Handle http and proxy digest authentication.
717
(Vincent Ladeuil, #94034).
721
* Added ``bzrlib.strace.strace`` which will strace a single callable and
722
return a StraceResult object which contains just the syscalls involved
723
in running it. (Robert Collins)
725
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
726
default time down to one suitable for tests. (Andrew Bennetts)
728
* Add new ``vfs_transport_factory`` attribute on tests which provides the
729
common vfs backing for both the readonly and readwrite transports.
730
This allows the RemoteObject tests to back onto local disk or memory,
731
and use the existing ``transport_server`` attribute all tests know about
732
to be the smart server transport. This in turn allows tests to
733
differentiate between 'transport to access the branch', and
734
'transport which is a VFS' - which matters in Remote* tests.
735
(Robert Collins, Andrew Bennetts)
737
* The ``make_branch_and_tree`` method for tests will now create a
738
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
739
a LocalURLServer. (Robert Collins, Andrew Bennetts)
741
* Branch implementation tests have been audited to ensure that all urls
742
passed to Branch APIs use proper urls, except when local-disk paths
743
are intended. This is so that tests correctly access the test transport
744
which is often not equivalent to local disk in Remote* tests. As part
745
of this many tests were adjusted to remove dependencies on local disk
747
(Robert Collins, Andrew Bennetts)
749
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
750
functions by adding a ``__unittest`` global attribute. (Robert Collins,
751
Andrew Bennetts, Martin Pool, Jonathan Lange)
753
* Refactored proxy and authentication handling to simplify the
754
implementation of new auth schemes for both http and proxy.
761
* Handle incompatible repositories as a user issue when fetching.
764
* Don't give a recommendation to upgrade when branching or
765
checking out a branch that contains an old-format working tree.
768
bzr 0.15rc3 2007-03-26
772
* A warning is now displayed when opening working trees in older
773
formats, to encourage people to upgrade to WorkingTreeFormat4.
778
* HTTP redirections are now taken into account when a branch (or a
779
bundle) is accessed for the first time. A message is issued at each
780
redirection to inform the user. In the past, http redirections were
781
silently followed for each request which significantly degraded the
782
performances. The http redirections are not followed anymore by
783
default, instead a RedirectRequested exception is raised. For bzrlib
784
users needing to follow http redirections anyway,
785
``bzrlib.transport.do_catching_redirections`` provide an easy transition
790
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
791
lock to an OS write lock. Linux can do this without unlocking, Win32
792
needs to unlock in between. (John Arbash Meinel)
794
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
795
to silence (when false) warnings about opening old formats.
798
* Fix minor performance regression with bzr-0.15 on pre-dirstate
799
trees. (We were reading the working inventory too many times).
802
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
803
``revision_history``. Branch subclasses should override
804
``_gen_revision_history`` rather than ``revision_history`` to make use of
805
this cache, and call ``_clear_revision_history_cache`` and
806
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
810
* Take ``smtp_server`` from user config into account.
813
* Restore Unicode filename handling for versioned and unversioned files.
814
(John Arbash Meinel, #92608)
816
* Don't fail during ``bzr commit`` if a file is marked removed, and
817
the containing directory is auto-removed. (John Arbash Meinel, #93681)
819
* ``bzr status FILENAME`` failed on Windows because of an uncommon
820
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
821
(Wouter van Heyst, John Arbash Meinel, #90819)
823
* ``bzr checkout source`` should create a local branch in the same
824
format as source. (John Arbash Meinel, #93854)
826
* ``bzr commit`` with a kind change was failing to update the
827
last-changed-revision for directories. The
828
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
829
ignoring the fact that the kind could have changed, too.
830
(John Arbash Meinel, #90111)
832
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
833
the directory. So that there was a chance it would break commit,
834
etc. (John Arbash Meinel, #94037)
836
* Correctly handles mutiple permanent http redirections.
839
bzr 0.15rc2 2007-03-14
841
NOTES WHEN UPGRADING:
843
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
844
default to ``--trees`` instead of ``--no-trees``.
845
Existing shared repositories are not affected.
849
* New ``merge-directive`` command to generate machine- and human-readable
850
merge requests. (Aaron Bentley)
852
* New ``submit:`` revision specifier makes it easy to diff against the
853
common ancestor with the submit location (Aaron Bentley)
855
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
857
* Added ``bzr status --versioned`` to report only versioned files,
858
not unknowns. (Kent Gibson)
860
* Merge now autodetects the correct line-ending style for its conflict
861
markers. (Aaron Bentley)
865
* Refactored SSH vendor registration into SSHVendorManager class.
870
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
871
numbered dirs for TestCaseInTempDir. This is default behavior
872
on Windows. Anyone can force named dirs on Windows
873
with ``--no-numbered-dirs``. (Alexander Belchenko)
875
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
876
from the command line. (Marien Zwart, #90501)
878
* Fix ``TreeTransform._iter_changes`` when both the source and
879
destination are missing. (Aaron Bentley, #88842)
881
* Fix commit of merges with symlinks in dirstate trees.
884
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
885
(Wouter van Heyst, #53483)
888
bzr 0.15rc1 2007-03-07
892
* The default disk format has changed. Please run 'bzr upgrade' in your
893
working trees to upgrade. This new default is compatible for network
894
operations, but not for local operations. That is, if you have two
895
versions of bzr installed locally, after upgrading you can only use the
896
bzr 0.15 version. This new default does not enable tags or nested-trees
897
as they are incompatible with bzr versions before 0.15 over the network.
899
* For users of bzrlib: Two major changes have been made to the working tree
900
api in bzrlib. The first is that many methods and attributes, including
901
the inventory attribute, are no longer valid for use until one of
902
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
903
and become invalid again after unlock is called. This has been done
904
to improve performance and correctness as part of the dirstate
906
(Robert Collins, John A Meinel, Martin Pool, and others).
908
* For users of bzrlib: The attribute 'tree.inventory' should be considered
909
readonly. Previously it was possible to directly alter this attribute, or
910
its contents, and have the tree notice this. This has been made
911
unsupported - it may work in some tree formats, but in the newer dirstate
912
format such actions will have no effect and will be ignored, or even
913
cause assertions. All operations possible can still be carried out by a
914
combination of the tree API, and the bzrlib.transform API. (Robert
915
Collins, John A Meinel, Martin Pool, and others).
919
* Support for OS Windows 98. Also .bzr.log on any windows system
920
saved in My Documents folder. (Alexander Belchenko)
922
* ``bzr mv`` enhanced to support already moved files.
923
In the past the mv command would have failed if the source file doesn't
924
exist. In this situation ``bzr mv`` would now detect that the file has
925
already moved and update the repository accordingly, if the target file
927
A new option ``--after`` has been added so that if two files already
928
exist, you could notify Bazaar that you have moved a (versioned) file
929
and replaced it with another. Thus in this case ``bzr move --after``
930
will only update the Bazaar identifier.
931
(Steffen Eichenberg, Marius Kruger)
933
* ``ls`` now works on treeless branches and remote branches.
936
* ``bzr help global-options`` describes the global options.
939
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
942
* Files are now allowed to change kind (e.g. from file to symlink).
943
Supported by ``commit``, ``revert`` and ``status``
946
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
949
* ``bzr help checkouts`` descibes what checkouts are and some possible
950
uses of them. (James Westby, Aaron Bentley)
952
* A new ``-d`` option to push, pull and merge overrides the default
953
directory. (Martin Pool)
955
* Branch format 6: smaller, and potentially faster than format 5. Supports
956
``append_history_only`` mode, where the log view and revnos do not change,
957
except by being added to. Stores policy settings in
958
".bzr/branch/branch.conf".
960
* ``append_only`` branches: Format 6 branches may be configured so that log
961
view and revnos are always consistent. Either create the branch using
962
"bzr init --append-revisions-only" or edit the config file as descriped
963
in docs/configuration.txt.
965
* rebind: Format 6 branches retain the last-used bind location, so if you
966
"bzr unbind", you can "bzr bind" to bind to the previously-selected
969
* Builtin tags support, created and deleted by the ``tag`` command and
970
stored in the branch. Tags can be accessed with the revisionspec
971
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
972
at present. Tags require a network incompatible upgrade. To perform this
973
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
974
repositories. (Martin Pool)
976
* The ``bzr://`` transport now has a well-known port number, 4155,
977
which it will use by default. (Andrew Bennetts, Martin Pool)
979
* Bazaar now looks for user-installed plugins before looking for site-wide
980
plugins. (Jonathan Lange)
982
* ``bzr resolve`` now detects and marks resolved text conflicts.
987
* Internally revision ids and file ids are now passed around as utf-8
988
bytestrings, rather than treating them as Unicode strings. This has
989
performance benefits for Knits, since we no longer need to decode the
990
revision id for each line of content, nor for each entry in the index.
991
This will also help with the future dirstate format.
994
* Reserved ids (any revision-id ending in a colon) are rejected by
995
versionedfiles, repositories, branches, and working trees
998
* Minor performance improvement by not creating a ProgressBar for
999
every KnitIndex we create. (about 90ms for a bzr.dev tree)
1000
(John Arbash Meinel)
1002
* New easier to use Branch hooks facility. There are five initial hooks,
1003
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
1004
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
1005
``'post_uncommit'``. These hooks fire after the matching operation
1006
on a branch has taken place, and were originally added for the
1007
branchrss plugin. (Robert Collins)
1009
* New method ``Branch.push()`` which should be used when pushing from a
1010
branch as it makes performance and policy decisions to match the UI
1011
level command ``push``. (Robert Collins).
1013
* Add a new method ``Tree.revision_tree`` which allows access to cached
1014
trees for arbitrary revisions. This allows the in development dirstate
1015
tree format to provide access to the callers to cached copies of
1016
inventory data which are cheaper to access than inventories from the
1018
(Robert Collins, Martin Pool)
1020
* New ``Branch.last_revision_info`` method, this is being done to allow
1021
optimization of requests for both the number of revisions and the last
1022
revision of a branch with smartservers and potentially future branch
1023
formats. (Wouter van Heyst, Robert Collins)
1025
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
1026
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
1027
other for code reuse without requiring users to perform file-renaming
1028
gymnastics. (Robert Collins)
1030
* New Repository method ``'gather_stats'`` for statistic data collection.
1031
This is expected to grow to cover a number of related uses mainly
1032
related to bzr info. (Robert Collins)
1034
* Log formatters are now managed with a registry.
1035
``log.register_formatter`` continues to work, but callers accessing
1036
the FORMATTERS dictionary directly will not.
1038
* Allow a start message to be passed to the ``edit_commit_message``
1039
function. This will be placed in the message offered to the user
1040
for editing above the separator. It allows a template commit message
1041
to be used more easily. (James Westby)
1043
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
1044
you pass a Unicode string rather than an 8-bit string. Callers need
1045
to be updated to encode first. (John Arbash Meinel)
1047
* Branch.push, pull, merge now return Result objects with information
1048
about what happened, rather than a scattering of various methods. These
1049
are also passed to the post hooks. (Martin Pool)
1051
* File formats and architecture is in place for managing a forest of trees
1052
in bzr, and splitting up existing trees into smaller subtrees, and
1053
finally joining trees to make a larger tree. This is the first iteration
1054
of this support, and the user-facing aspects still require substantial
1055
work. If you wish to experiment with it, use ``bzr upgrade
1056
--dirstate-with-subtree`` in your working trees and repositories.
1057
You can use the hidden commands ``split`` and ``join`` and to create
1058
and manipulate nested trees, but please consider using the nested-trees
1059
branch, which contains substantial UI improvements, instead.
1060
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
1061
(Aaron Bentley, Martin Pool, Robert Collins).
1065
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
1066
branch, rather than the last changed revision of the file.
1067
(John Arbash Meinel, #82158)
1069
* Lock operations no longer hang if they encounter a permission problem.
1072
* ``bzr push`` can resume a push that was canceled before it finished.
1073
Also, it can push even if the target directory exists if you supply
1074
the ``--use-existing-dir`` flag.
1075
(John Arbash Meinel, #30576, #45504)
1077
* Fix http proxy authentication when user and an optional
1078
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
1081
* ``bzr log branch/file`` works for local treeless branches
1082
(Aaron Bentley, #84247)
1084
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
1086
* Searching location of CA bundle for PyCurl in env variable
1087
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
1088
(Alexander Belchenko, #82086)
1090
* ``bzr init`` works with unicode argument LOCATION.
1091
(Alexander Belchenko, #85599)
1093
* Raise ``DependencyNotPresent`` if pycurl do not support https.
1094
(Vincent Ladeuil, #85305)
1096
* Invalid proxy env variables should not cause a traceback.
1097
(Vincent Ladeuil, #87765)
1099
* Ignore patterns normalised to use '/' path separator.
1100
(Kent Gibson, #86451)
1102
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
1104
* Fix bzrtools shelve command for removed lines beginning with "--"
1105
(Johan Dahlberg, #75577)
1109
* New ``--first`` option to ``bzr selftest`` to run specified tests
1110
before the rest of the suite. (Martin Pool)
1117
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
1121
* Skip documentation generation tests if the tools to do so are not
1122
available. Fixes running selftest for installled copies of bzr.
1123
(John Arbash Meinel, #80330)
1125
* Fix the code that discovers whether bzr is being run from it's
1126
working tree to handle the case when it isn't but the directory
1127
it is in is below a repository. (James Westby, #77306)
1130
bzr 0.14rc1 2007-01-16
1134
* New connection: ``bzr+http://`` which supports tunnelling the smart
1135
protocol over an HTTP connection. If writing is enabled on the bzr
1136
server, then you can write over the http connection.
1137
(Andrew Bennetts, John Arbash Meinel)
1139
* Aliases now support quotation marks, so they can contain whitespace
1142
* PyCurlTransport now use a single curl object. By specifying explicitly
1143
the 'Range' header, we avoid the need to use two different curl objects
1144
(and two connections to the same server). (Vincent Ladeuil)
1146
* ``bzr commit`` does not prompt for a message until it is very likely to
1147
succeed. (Aaron Bentley)
1149
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
1152
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
1153
of a list while checking if a revision id was requested. Takes 10s
1154
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
1155
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
1156
filtering lines with a regex rather than multiple ``str.find()``
1157
calls. (saves another 300ms) (John Arbash Meinel)
1159
* Policy can be set for each configuration key. This allows keys to be
1160
inherited properly across configuration entries. For example, this
1161
should enable you to do::
1163
[/home/user/project]
1164
push_location = sftp://host/srv/project/
1165
push_location:policy = appendpath
1167
And then a branch like ``/home/user/project/mybranch`` should get an
1168
automatic push location of ``sftp://host/srv/project/mybranch``.
1171
* Added ``bzr status --short`` to make status report svn style flags
1172
for each file. For example::
1174
$ bzr status --short
1180
* 'bzr selftest --clean-output' allows easily clean temporary tests
1181
directories without running tests. (Alexander Belchenko)
1183
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
1185
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
1186
local is fully merged into remote. (Jan Hudec)
1188
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
1192
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
1193
help speed up processing, as well allowing to extract unannotated
1194
lines. Between the two ``fileids_affected_by_revision_ids`` is
1195
improved by approx 10%. (John Arbash Meinel)
1197
* Change Revision serialization to only write out millisecond
1198
resolution. Rather than expecting floating point serialization to
1199
preserve more resolution than we need. (Henri Weichers, Martin Pool)
1201
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
1203
* When ``encoding_type`` attribute of class Command is equal to 'exact',
1204
force sys.stdout to be a binary stream on Windows, and therefore
1205
keep exact line-endings (without LF -> CRLF conversion).
1206
(Alexander Belchenko)
1208
* Single-letter short options are no longer globally declared. (Martin
1211
* Before using detected user/terminal encoding bzr should check
1212
that Python has corresponding codec. (Alexander Belchenko)
1214
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
1218
* ``bzr missing --verbose`` was showing adds/removals in the wrong
1219
direction. (John Arbash Meinel)
1221
* ``bzr annotate`` now defaults to showing dotted revnos for merged
1222
revisions. It cuts them off at a depth of 12 characters, but you can
1223
supply ``--long`` to see the full number. You can also use
1224
``--show-ids`` to display the original revision ids, rather than
1225
revision numbers and committer names. (John Arbash Meinel, #75637)
1227
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
1228
(Alexander Belchenko, #57869)
1230
* Win32-specific: output of cat, bundle and diff commands don't mangle
1231
line-endings (Alexander Belchenko, #55276)
1233
* Replace broken fnmatch based ignore pattern matching with custom pattern
1235
(Kent Gibson, Jan Hudec #57637)
1237
* pycurl and urllib can detect short reads at different places. Update
1238
the test suite to test more cases. Also detect http error code 416
1239
which was raised for that specific bug. Also enhance the urllib
1240
robustness by detecting invalid ranges (and pycurl's one by detecting
1241
short reads during the initial GET). (Vincent Ladeuil, #73948)
1243
* The urllib connection sharing interacts badly with urllib2
1244
proxy setting (the connections didn't go thru the proxy
1245
anymore). Defining a proper ProxyHandler solves the
1246
problem. (Vincent Ladeuil, #74759)
1248
* Use urlutils to generate relative URLs, not osutils
1249
(Aaron Bentley, #76229)
1251
* ``bzr status`` in a readonly directory should work without giving
1252
lots of errors. (John Arbash Meinel, #76299)
1254
* Mention the revisionspec topic for the revision option help.
1255
(Wouter van Heyst, #31663)
1257
* Allow plugins import from zip archives.
1258
(Alexander Belchenko, #68124)
1263
No changes from 0.13rc1
1265
bzr 0.13rc1 2006-11-27
1269
* New command ``bzr remove-tree`` allows the removal of the working
1271
(Daniel Silverstone)
1273
* urllib uses shared keep-alive connections, so http
1274
operations are substantially faster.
1275
(Vincent Ladeuil, #53654)
1277
* ``bzr export`` allows an optional branch parameter, to export a bzr
1278
tree from some other url. For example:
1279
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
1280
(Daniel Silverstone)
1282
* Added ``bzr help topics`` to the bzr help system. This gives a
1283
location for general information, outside of a specific command.
1284
This includes updates for ``bzr help revisionspec`` the first topic
1285
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
1287
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
1290
* Knit files will now cache full texts only when the size of the
1291
deltas is as large as the size of the fulltext. (Or after 200
1292
deltas, whichever comes first). This has the most benefit on large
1293
files with small changes, such as the inventory for a large project.
1294
(eg For a project with 2500 files, and 7500 revisions, it changes
1295
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
1299
* New -D option given before the command line turns on debugging output
1300
for particular areas. -Derror shows tracebacks on all errors.
1303
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
1304
and remove benchmarks that take longer than 10min to run.
1305
(John Arbash Meinel)
1307
* Use ``time.time()`` instead of ``time.clock()`` to decide on
1308
progress throttling. Because ``time.clock()`` is actually CPU time,
1309
so over a high-latency connection, too many updates get throttled.
1310
(John Arbash Meinel)
1312
* ``MemoryTransport.list_dir()`` would strip the first character for
1313
files or directories in root directory. (John Arbash Meinel)
1315
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
1316
branch references - which the smart server component needs.
1318
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
1319
prefix. It disallows any access to locations above a set URL. (Andrew
1324
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
1325
And optimize the knit index parsing code.
1326
(Dmitry Vasiliev, John Arbash Meinel)
1328
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
1329
without importing it. This prevented ``bzr upgrade`` from working
1330
unless a plugin already imported ``bzrlib.workingtree``
1331
(John Arbash Meinel, #70716)
1333
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
1335
* Give nicer error message when an http server returns a 403
1336
error code. (Vincent Ladeuil, #57644).
1338
* When a multi-range http GET request fails, try a single
1339
range one. If it fails too, forget about ranges. Remember that until
1340
the death of the transport and propagates that to the clones.
1341
(Vincent Ladeuil, #62276, #62029).
1343
* Handles user/passwords supplied in url from command
1344
line (for the urllib implementation). Don't request already
1345
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
1347
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
1348
are added. This fixes bug where fetching remote revisions records
1349
them as full references rather than integers.
1350
(John Arbash Meinel, #64789)
1352
* ``bzr ignore`` strips trailing slashes in patterns.
1353
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
1355
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
1357
* mv correctly handles paths that traverse symlinks.
1358
(Aaron Bentley, #66964)
1360
* Give nicer looking error messages when failing to connect over ssh.
1361
(John Arbash Meinel, #49172)
1363
* Pushing to a remote branch does not currently update the remote working
1364
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
1365
machine now show that the working tree is out of date.
1366
(Cheuksan Edward Wang #48136)
1368
* Use patiencediff instead of difflib for determining deltas to insert
1369
into knits. This avoids the O(N^3) behavior of difflib. Patience
1370
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
1372
* Running ``bzr log`` on nonexistent file gives an error instead of the
1373
entire log history. (Cheuksan Edward Wang #50793)
1375
* ``bzr cat`` can look up contents of removed or renamed files. If the
1376
pathname is ambiguous, i.e. the files in the old and new trees have
1377
different id's, the default is the file in the new tree. The user can
1378
use "--name-from-revision" to select the file in the old tree.
1379
(Cheuksan Edward Wang, #30190)
1383
* TestingHTTPRequestHandler really handles the Range header
1384
(previously it was ignoring it and returning the whole file,).
1390
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
1391
and remove benchmarks that take longer than 10min to run.
1392
(John Arbash Meinel)
1394
bzr 0.12rc1 2006-10-23
1398
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
1399
rather than just showing a decimal revision number for revisions on the
1400
mainline. These revision numbers are not yet accepted as input into bzr
1401
commands such as log, diff etc. (Robert Collins)
1403
* revisions can now be specified using dotted-decimal revision numbers.
1404
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
1406
* ``bzr help commands`` output is now shorter (Aaron Bentley)
1408
* ``bzr`` now uses lazy importing to reduce the startup time. This has
1409
a moderate effect on lots of actions, especially ones that have
1410
little to do. For example ``bzr rocks`` time is down to 116ms from
1411
283ms. (John Arbash Meinel)
1413
* New Registry class to provide name-to-object registry-like support,
1414
for example for schemes where plugins can register new classes to
1415
do certain tasks (e.g. log formatters). Also provides lazy registration
1416
to allow modules to be loaded on request.
1417
(John Arbash Meinel, Adeodato Simó)
1419
API INCOMPATABILITY:
1421
* LogFormatter subclasses show now expect the 'revno' parameter to
1422
show() to be a string rather than an int. (Robert Collins)
1426
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
1427
can take a ``working_dir='foo'`` parameter, which will change directory
1428
for the command. (John Arbash Meinel)
1430
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
1431
around a regex, which defers compilation until first use.
1432
(John Arbash Meinel)
1434
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
1435
``--no-plugins`` parameter to ensure test reproducability, and avoid
1436
problems with system-wide installed plugins. (John Arbash Meinel)
1438
* Unique tree root ids are now supported. Newly created trees still
1439
use the common root id for compatibility with bzr versions before 0.12.
1442
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
1443
pass in ``inventory.ROOT_ID`` if you want the default root id value.
1444
(Robert Collins, John Arbash Meinel)
1446
* New method ``WorkingTree.flush()`` which will write the current memory
1447
inventory out to disk. At the same time, ``read_working_inventory`` will
1448
no longer trash the current tree inventory if it has been modified within
1449
the current lock, and the tree will now ``flush()`` automatically on
1450
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
1451
advantage of this functionality. (Robert Collins, John Arbash Meinel)
1453
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
1454
parameter will cause it to add another column to its output, which
1455
contains the dotted-decimal revno for each revision, as a tuple.
1458
* ``LogFormatter.show_merge`` is deprecated in favour of
1459
``LogFormatter.show_merge_revno``. (Robert Collins)
1463
* Avoid circular imports by creating a deprecated function for
1464
``bzrlib.tree.RevisionTree``. Callers should have been using
1465
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
1468
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
1469
platforms. (Martin Pool, #66356)
1471
* Don't require ``Content-Type`` in range responses. Assume they are a
1472
single range if ``Content-Type`` does not exist.
1473
(John Arbash Meinel, #62473)
1475
* bzr branch/pull no longer complain about progress bar cleanup when
1476
interrupted during fetch. (Aaron Bentley, #54000)
1478
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
1479
the basis inventory, rather than going through the repository. This
1480
allows us to have 1 inventory read, and 2 inventory writes when
1481
committing a new tree. (John Arbash Meinel)
1483
* When reverting, files that are not locally modified that do not exist
1484
in the target are deleted, not just unversioned (Aaron Bentley)
1486
* When trying to acquire a lock, don't fail immediately. Instead, try
1487
a few times (up to 1 hour) before timing out. Also, report why the
1488
lock is unavailable (John Arbash Meinel, #43521, #49556)
1490
* Leave HttpTransportBase daughter classes decides how they
1491
implement cloning. (Vincent Ladeuil, #61606)
1493
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
1495
* If a commit fails, the commit message is stored in a file at the root of
1496
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
1501
* New test base class TestCaseWithMemoryTransport offers memory-only
1502
testing facilities: its not suitable for tests that need to mutate disk
1503
state, but most tests should not need that and should be converted to
1504
TestCaseWithMemoryTransport. (Robert Collins)
1506
* ``TestCase.make_branch_and_memory_tree`` now takes a format
1507
option to set the BzrDir, Repository and Branch formats of the
1508
created objects. (Robert Collins, John Arbash Meinel)
1512
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
1514
bzr 0.11rc2 2006-09-27
1518
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
1520
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
1523
bzr 0.11rc1 2006-09-25
1527
* Knit files now wait to create their contents until the first data is
1528
added. The old code used to create an empty .knit and a .kndx with just
1529
the header. However, this caused a lot of extra round trips over sftp.
1530
This can change the time for ``bzr push`` to create a new remote branch
1531
from 160s down to 100s. This also affects ``bzr commit`` performance when
1532
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
1533
down to 40s (John Arbash Meinel, #44692)
1535
* When an entire subtree has been deleted, commit will now report that
1536
just the top of the subtree has been deleted, rather than reporting
1537
all the individual items. (Robert Collins)
1539
* Commit performs one less XML parse. (Robert Collins)
1541
* ``bzr checkout`` now operates on readonly branches as well
1542
as readwrite branches. This fixes bug #39542. (Robert Collins)
1544
* ``bzr bind`` no longer synchronises history with the master branch.
1545
Binding should be followed by an update or push to synchronise the
1546
two branches. This is closely related to the fix for bug #39542.
1549
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
1550
objects. This allows all imports to stay at the global scope, but
1551
modules will not actually be imported if they are not used.
1552
(John Arbash Meinel)
1554
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
1555
transport which will be used with the upcoming high-performance smart
1556
server. The new command ``bzr serve`` will invoke bzr in server mode,
1557
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
1560
* New command ``bzr version-info`` which can be used to get a summary
1561
of the current state of the tree. This is especially useful as part
1562
of a build commands. See ``doc/version_info.txt`` for more information
1563
(John Arbash Meinel)
1567
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
1568
specific set of files. (John Arbash Meinel, #3631)
1570
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
1572
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
1573
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
1574
reading a nested Stanza. (John Arbash Meinel)
1576
* Transform._set_mode() needs to stat the right file.
1577
(John Arbash Meinel, #56549)
1579
* Raise WeaveFormatError rather than StopIteration when trying to read
1580
an empty Weave file. (John Arbash Meinel, #46871)
1582
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
1583
(Vincent Ladeuil, #59835)
1585
* Handle boundary="" lines properly to allow access through a Squid proxy.
1586
(John Arbash Meinel, #57723)
1588
* revert now removes newly-added directories (Aaron Bentley, #54172)
1590
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
1591
isn't a working tree. (David Allouche, #40679)
1593
* Give nicer error messages when a user supplies an invalid --revision
1594
parameter. (John Arbash Meinel, #55420)
1596
* Handle when LANG is not recognized by python. Emit a warning, but
1597
just revert to using 'ascii'. (John Arbash Meinel, #35392)
1599
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
1600
(John Arbash Meinel)
1602
* Skip specific tests when the dependencies aren't met. This includes
1603
some ``setup.py`` tests when ``python-dev`` is not available, and
1604
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
1606
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
1607
the system. (Andrew Bennetts, John Arbash Meinel)
1609
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
1610
other branch, and will not push or pull between the two branches.
1611
API users will need to perform a push or pull or update operation if they
1612
require branch synchronisation to take place. (Robert Collins, #47344)
1614
* When creating a tarball or zipfile export, export unicode names as utf-8
1615
paths. This may not work perfectly on all platforms, but has the best
1616
chance of working in the common case. (John Arbash Meinel, #56816)
1618
* When committing, only files that exist in working tree or basis tree
1619
may be specified (Aaron Bentley, #50793)
1623
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
1627
* TestCaseInTempDir now creates a separate directory for HOME, rather
1628
than having HOME set to the same location as the working directory.
1629
(John Arbash Meinel)
1631
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
1632
which will update os.environ inside the spawned child. It also can
1633
take a ``universal_newlines=True``, which helps when checking the output
1634
of the command. (John Arbash Meinel)
1636
* Refactor SFTP vendors to allow easier re-use when ssh is used.
1639
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
1640
return urlescaped paths. This is now tested (there were bugs in a few
1641
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
1643
* New utility function ``symbol_versioning.deprecation_string``. Returns the
1644
formatted string for a callable, deprecation format pair. (Robert Collins)
1646
* New TestCase helper applyDeprecated. This allows you to call a callable
1647
which is deprecated without it spewing to the screen, just by supplying
1648
the deprecation format string issued for it. (Robert Collins)
1650
* Transport.append and Transport.put have been deprecated in favor of
1651
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
1652
``.put_file``. This removes the ambiguity in what type of object the
1653
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
1654
been added. Which works similarly to ``Transport.append()`` except for
1655
SFTP, it doesn't have a round trip when opening the file. Also, it
1656
provides functionality for creating a parent directory when trying
1657
to create a file, rather than raise NoSuchFile and forcing the
1658
caller to repeat their request.
1659
(John Arbash Meinel)
1661
* WorkingTree has a new api ``unversion`` which allow the unversioning of
1662
entries by their file id. (Robert Collins)
1664
* ``WorkingTree.pending_merges`` is deprecated. Please use the
1665
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
1667
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
1668
read rather than write. This is appropriate for actions which only need
1669
the branch data for reference rather than mutation. A new decorator
1670
``needs_tree_write_lock`` is provided in the workingtree module. Like the
1671
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
1672
declaration of the locking requirements of a function to ensure that
1673
a lock is taken out for casual scripts. (Robert Collins, #54107)
1675
* All WorkingTree methods which write to the tree, but not to the branch
1676
have been converted to use ``needs_tree_write_lock`` rather than
1677
``needs_write_lock``. Also converted is the revert, conflicts and tree
1678
transform modules. This provides a modest performance improvement on
1679
metadir style trees, due to the reduce lock-acquisition, and a more
1680
significant performance improvement on lightweight checkouts from
1681
remote branches, where trivial operations used to pay a significant
1682
penalty. It also provides the basis for allowing readonly checkouts.
1685
* Special case importing the standard library 'copy' module. This shaves
1686
off 40ms of startup time, while retaining compatibility. See:
1687
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
1689
* WorkingTree has a new parent class MutableTree which represents the
1690
specialisations of Tree which are able to be altered. (Robert Collins)
1692
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
1693
mutate the tree and its contents. (Robert Collins)
1695
* Transport behaviour at the root of the URL is now defined and tested.
1696
(Andrew Bennetts, Robert Collins)
1700
* New test helper classs MemoryTree. This is typically accessed via
1701
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
1703
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
1704
code to continue running concurrently with a subprocess of bzr.
1705
(Andrew Bennetts, Robert Collins)
1707
* Add a new method ``Transport.get_smart_client()``. This is provided to
1708
allow upgrades to a richer interface than the VFS one provided by
1709
Transport. (Andrew Bennetts, Martin Pool)
1714
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
1715
tree. (Aaron Bentley)
1717
* 'bzr add --file-ids-from' can be used to specify another path to use
1718
for creating file ids, rather than generating all new ones. Internally,
1719
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
1720
will be used, rather than having bzrlib generate new ones.
1721
(John Arbash Meinel, #55781)
1723
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
1724
This will cache some of the intermediate trees, and decrease the
1725
setup time for benchmark tests. (John Arbash Meinel)
1727
* Inverse forms are provided for all boolean options. For example,
1728
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
1730
* Serialize out Inventories directly, rather than using ElementTree.
1731
Writing out a kernel sized inventory drops from 2s down to ~350ms.
1732
(Robert Collins, John Arbash Meinel)
1736
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
1738
* Change LockDir so that if the lock directory doesn't exist when
1739
``lock_write()`` is called, an attempt will be made to create it.
1740
(John Arbash Meinel, #56974)
1742
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
1744
* Active FTP transport now works as intended. (ghozzy, #56472)
1746
* Really fix mutter() so that it won't ever raise a UnicodeError.
1747
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
1748
But it is a debugging log, not a real user file.
1749
(John Arbash Meinel, #56947, #53880)
1751
* Change Command handle to allow Unicode command and options.
1752
At present we cannot register Unicode command names, so we will get
1753
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
1754
But that is better than a UnicodeError + a traceback.
1755
(John Arbash Meinel, #57123)
1757
* Handle TZ=UTC properly when reading/writing revisions.
1758
(John Arbash Meinel, #55783, #56290)
1760
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
1761
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
1763
* External diff does the right thing for binaries even in foreign
1764
languages. (John Arbash Meinel, #56307)
1766
* Testament handles more cases when content is unicode. Specific bug was
1767
in handling of revision properties.
1768
(John Arbash Meinel, Holger Krekel, #54723)
1770
* The bzr selftest was failing on installed versions due to a bug in a new
1771
test helper. (John Arbash Meinel, Robert Collins, #58057)
1775
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
1776
which can be used to cache the conversion between utf8 and Unicode.
1777
Especially helpful for some of the knit annotation code, which has to
1778
convert revision ids to utf8 to annotate lines in storage.
1779
(John Arbash Meinel)
1781
* ``setup.py`` now searches the filesystem to find all packages which
1782
need to be installed. This should help make the life of packagers
1783
easier. (John Arbash Meinel)
1785
bzr 0.9.0 2006-08-11
1789
* The hard-coded built-in ignore rules have been removed. There are
1790
now two rulesets which are enforced. A user global one in
1791
``~/.bazaar/ignore`` which will apply to every tree, and the tree
1792
specific one '.bzrignore'.
1793
``~/.bazaar/ignore`` will be created if it does not exist, but with
1794
a more conservative list than the old default.
1795
This fixes bugs with default rules being enforced no matter what.
1796
The old list of ignore rules from bzr is available by
1797
running 'bzr ignore --old-default-rules'.
1798
(Robert Collins, Martin Pool, John Arbash Meinel)
1800
* 'branches.conf' has been changed to 'locations.conf', since it can apply
1801
to more locations than just branch locations.
1806
* The revision specifier "revno:" is extended to accept the syntax
1807
revno:N:branch. For example,
1808
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
1809
bzr.dev. (Matthieu Moy)
1811
* Tests updates to ensure proper URL handling, UNICODE support, and
1812
proper printing when the user's terminal encoding cannot display
1813
the path of a file that has been versioned.
1814
``bzr branch`` can take a target URL rather than only a local directory.
1815
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
1816
and normalize the parent based on root, allowing access across
1817
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
1818
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
1821
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
1822
Use terminal width for single-line logs from ``bzr log --line`` and
1823
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
1826
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
1827
(Alexander Belchenko)
1829
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
1831
* Show the correct number of revisions pushed when pushing a new branch.
1834
* 'bzr selftest' now shows a progress bar with the number of tests, and
1835
progress made. 'make check' shows tests in -v mode, to be more useful
1836
for the PQM status window. (Robert Collins).
1837
When using a progress bar, failed tests are printed out, rather than
1838
being overwritten by the progress bar until the suite finishes.
1839
(John Arbash Meinel)
1841
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
1842
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
1843
profile data for the individual profiled calls, allowing for fine
1844
grained analysis of performance.
1845
(Robert Collins, Martin Pool).
1847
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
1848
where commit can take an appreciable time. (Robert Collins)
1850
* 'bzr add' is now less verbose in telling you what ignore globs were
1851
matched by files being ignored. Instead it just tells you how many
1852
were ignored (because you might reasonably be expecting none to be
1853
ignored). 'bzr add -v' is unchanged and will report every ignored
1854
file. (Robert Collins).
1856
* ftp now has a test server if medusa is installed. As part of testing,
1857
ftp support has been improved, including support for supplying a
1858
non-standard port. (John Arbash Meinel).
1860
* 'bzr log --line' shows the revision number, and uses only the
1861
first line of the log message (#5162, Alexander Belchenko;
1864
* 'bzr status' has had the --all option removed. The 'bzr ls' command
1865
should be used to retrieve all versioned files. (Robert Collins)
1867
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
1868
over email, and applied on the other end, while maintaining ancestry.
1869
This bundle can be applied with either 'bzr merge' or 'bzr pull',
1870
the same way you would apply another branch.
1871
(John Arbash Meinel, Aaron Bentley)
1873
* 'bzr whoami' can now be used to set your identity from the command line,
1874
for a branch or globally. (Robey Pointer)
1876
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
1879
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
1882
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
1883
Also updates things like 'http+pycurl://' if pycurl is not present.
1884
(John Arbash Meinel) (Malone #47821, #52204)
1886
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
1887
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
1888
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
1890
* Improve the help text for 'bzr diff' to explain what various options do.
1891
(John Arbash Meinel, #6391)
1893
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
1894
revision 10. This makes -r10 more in line with what other commands do.
1895
'bzr uncommit' also now saves the pending merges of the revisions that
1896
were removed. So it is safe to uncommit after a merge, fix something,
1897
and commit again. (John Arbash Meinel, #32526, #31426)
1899
* 'bzr init' now also works on remote locations.
1900
(Wouter van Heyst, #48904)
1902
* HTTP support has been updated. When using pycurl we now support
1903
connection keep-alive, which reduces dns requests and round trips.
1904
And for both urllib and pycurl we support multi-range requests,
1905
which decreases the number of round-trips. Performance results for
1906
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
1907
http branching is now 2-3x faster, and ``bzr pull`` in an existing
1908
branch is as much as 4x faster.
1909
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
1911
* Performance improvements for sftp. Branching and pulling are now up to
1912
2x faster. Utilize paramiko.readv() support for async requests if it
1913
is available (paramiko > 1.6) (John Arbash Meinel)
1917
* Fix shadowed definition of TestLocationConfig that caused some
1919
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
1921
* Fix unnecessary requirement of sign-my-commits that it be run from
1922
a working directory. (Martin Pool, Robert Collins)
1924
* 'bzr push location' will only remember the push location if it succeeds
1925
in connecting to the remote location. (John Arbash Meinel, #49742)
1927
* 'bzr revert' no longer toggles the executable bit on win32
1928
(John Arbash Meinel, #45010)
1930
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
1932
* sftp tests now work correctly on win32 if you have a newer paramiko
1933
(John Arbash Meinel)
1935
* Cleanup win32 test suite, and general cleanup of places where
1936
file handles were being held open. (John Arbash Meinel)
1938
* When specifying filenames for 'diff -r x..y', the name of the file in the
1939
working directory can be used, even if its name is different in both x
1942
* File-ids containing single- or double-quotes are handled correctly by
1943
push. (Aaron Bentley, #52227)
1945
* Normalize unicode filenames to ensure cross-platform consistency.
1946
(John Arbash Meinel, #43689)
1948
* The argument parser can now handle '-' as an argument. Currently
1949
no code interprets it specially (it is mostly handled as a file named
1950
'-'). But plugins, and future operations can use it.
1951
(John Arbash meinel, #50984)
1953
* Bundles can properly read binary files with a plain '\r' in them.
1954
(John Arbash Meinel, #51927)
1956
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
1958
* Lots of win32 fixes (the test suite passes again).
1959
(John Arbash Meinel, #50155)
1961
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
1963
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
1965
* Removals are only committed if they match the filespec (or if there is
1966
no filespec). (#46635, Aaron Bentley)
1968
* smart-add recurses through all supplied directories
1969
(John Arbash Meinel, #52578)
1971
* Make the bundle reader extra lines before and after the bundle text.
1972
This allows you to parse an email with the bundle inline.
1973
(John Arbash Meinel, #49182)
1975
* Change the file id generator to squash a little bit more. Helps when
1976
working with long filenames on windows. (Also helps for unicode filenames
1977
not generating hidden files). (John Arbash Meinel, #43801)
1979
* Restore terminal mode on C-c while reading sftp password. (#48923,
1980
Nicholas Allen, Martin Pool)
1982
* Timestamps are rounded to 1ms, and revision entries can be recreated
1983
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
1985
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
1986
use local paths, since it is user visible (John Arbash Meinel, #53653)
1988
* ``bzr status foo`` when foo was unversioned used to cause a full delta
1989
to be generated (John Arbash Meinel, #53638)
1991
* When reading revision properties, an empty value should be considered
1992
the empty string, not None (John Arbash Meinel, #47782)
1994
* ``bzr diff --diff-options`` can now handle binary files being changed.
1995
Also, the output is consistent when --diff-options is not supplied.
1996
(John Arbash Meinel, #54651, #52930)
1998
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
2000
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
2001
accessible (John Arbash Meinel, #52976)
2005
* Combine the ignore rules into a single regex rather than looping over
2006
them to reduce the threshold where N^2 behaviour occurs in operations
2007
like status. (Jan Hudec, Robert Collins).
2009
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
2010
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
2012
* 'bzr push' should only push the ancestry of the current revision, not
2013
all of the history in the repository. This is especially important for
2014
shared repositories. (John Arbash Meinel)
2016
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
2017
rather than randomly walking the inventories. (John Arbash Meinel)
2019
* Doctests are now run in temporary directories which are cleaned up when
2020
they finish, rather than using special ScratchDir/ScratchBranch objects.
2023
* Split ``check`` into separate methods on the branch and on the repository,
2024
so that it can be specialized in ways that are useful or efficient for
2025
different formats. (Martin Pool, Robert Collins)
2027
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
2028
the global revision graph but only that part leading up to a particular
2029
revision. (Martin Pool, Robert Collins)
2031
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
2032
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
2033
(Robert Collins, Jelmer Vernooij).
2035
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
2036
Uses subprocess instead of spawnvp.
2037
(James Henstridge, John Arbash Meinel, #4047, #48914)
2039
* New command line option '--profile-imports', which will install a custom
2040
importer to log time to import modules and regex compilation time to
2041
sys.stderr (John Arbash Meinel)
2043
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
2044
instead. (Robert Collins)
2046
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
2048
bzr 0.8.2 2006-05-17
2052
* setup.py failed to install launchpad plugin. (Martin Pool)
2054
bzr 0.8.1 2006-05-16
2058
* Fix failure to commit a merge in a checkout. (Martin Pool,
2059
Robert Collins, Erik Bågfors, #43959)
2061
* Nicer messages from 'commit' in the case of renames, and correct
2062
messages when a merge has occured. (Robert Collins, Martin Pool)
2064
* Separate functionality from assert statements as they are skipped in
2065
optimized mode of python. Add the same check to pending merges.
2066
(Olaf Conradi, #44443)
2070
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
2072
* Add info on standalone branches without a working tree.
2073
(Olaf Conradi, #44155)
2075
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
2079
* Make editor invocation comply with Debian Policy. First check
2080
environment variables VISUAL and EDITOR, then try editor from
2081
alternatives system. If that all fails, fall back to the pre-defined
2082
list of editors. (Olaf Conradi, #42904)
2086
* New 'register-branch' command registers a public branch into
2087
Launchpad.net, where it can be associated with bugs, etc.
2088
(Martin Pool, Bjorn Tillenius, Robert Collins)
2092
* New public api in InventoryEntry - ``describe_change(old, new)`` which
2093
provides a human description of the changes between two old and
2094
new. (Robert Collins, Martin Pool)
2098
* Fix test case for bzr info in upgrading a standalone branch to metadir,
2099
uses bzrlib api now. (Olaf Conradi)
2103
NOTES WHEN UPGRADING:
2105
Release 0.8 of bzr introduces a new format for history storage, called
2106
'knit', as an evolution of to the 'weave' format used in 0.7. Local
2107
and remote operations are faster using knits than weaves. Several
2108
operations including 'init', 'init-repo', and 'upgrade' take a
2109
--format option that controls this. Branching from an existing branch
2110
will keep the same format.
2112
It is possible to merge, pull and push between branches of different
2113
formats but this is slower than moving data between homogenous
2114
branches. It is therefore recommended (but not required) that you
2115
upgrade all branches for a project at the same time. Information on
2116
formats is shown by 'bzr info'.
2118
bzr 0.8 now allows creation of 'repositories', which hold the history
2119
of files and revisions for several branches. Previously bzr kept all
2120
the history for a branch within the .bzr directory at the root of the
2121
branch, and this is still the default. To create a repository, use
2122
the new 'bzr init-repo' command. Branches exist as directories under
2123
the repository and contain just a small amount of information
2124
indicating the current revision of the branch.
2126
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
2127
subversion. Checkouts are associated with a branch (optionally in a
2128
repository), which contains all the historical information. The
2129
result is that a checkout can be deleted without losing any
2130
already-committed revisions. A new 'update' command is also available.
2132
Repositories and checkouts are not supported with the 0.7 storage
2133
format. To use them you must upgrad to either knits, or to the
2134
'metaweave' format, which uses weaves but changes the .bzr directory
1
bzr development version
2140
6
* Sftp paths can now be relative, or local, according to the lftp
2141
convention. Paths now take the form::
2143
sftp://user:pass@host:port/~/relative/path
2145
sftp://user:pass@host:port/absolute/path
7
convention. Paths now take the form:
8
sftp://user:pass@host:port/~/relative/path
10
sftp://user:pass@host:port/absolute/path
2147
12
* The FTP transport now tries to reconnect after a temporary
2148
13
failure. ftp put is made atomic. (Matthieu Moy)