5
* Merge directives can now be supplied as input to `merge` and `pull`,
6
like bundles can. (Aaron Bentley)
8
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
11
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
16
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
17
code paths. (Robert Collins)
19
* Change the format of chroot urls so that they can be safely manipulated
20
by generic url utilities without causing the resulting urls to have
21
escaped the chroot. A side effect of this is that creating a chroot
22
requires an explicit action using a ChrootServer.
23
(Robert Collins, Andrew Bennetts)
25
* Deprecate Branch.get_root_id() because branches don't have root ids,
26
rather than fixing bug #96847. (Aaron Bentley)
28
* WorkingTree.apply_inventory_delta provides a better alternative to
29
WorkingTree._write_inventory. (Aaron Bentley)
31
* Convenience method TestCase.expectFailure ensures that known failures
32
do not silently pass. (Aaron Bentley)
34
* New SmartServer hooks facility. There are two initial hooks documented
35
in bzrlib.transport.smart.SmartServerHooks. The two initial hooks allow
36
plugins to execute code upon server startup and shutdown.
39
* SmartServer in standalone mode will now close its listening socket
40
when it stops, rather than waiting for garbage collection. This primarily
41
fixes test suite hangs when a test tries to connect to a shutdown server.
42
It may also help improve behaviour when dealing with a server running
43
on a specific port (rather than dynamically assigned ports).
46
* Move most SmartServer code into a new package, bzrlib/smart.
47
bzrlib/transport/remote.py contains just the Transport classes that used
48
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
50
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
51
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
52
consistent with its new home in bzrlib/transport/remote.py, and because
53
it's not really a "smart" transport, just one that does file operations
54
via remote procedure calls. (Andrew Bennetts)
56
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
57
``Branch`` now accept a ``token`` keyword argument, so that separate
58
instances of those objects can share a lock if it has the right token.
59
(Andrew Bennetts, Robert Collins)
63
* Don't fail bundle selftest if email has 'two' embedded.
64
(#98510, Ian Clatworthy)
66
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
67
(Robert Widhopf-Fenk, #98591)
69
* Remove ``--basis`` from the checkout/branch commands - it didn't work
70
properly and is no longer beneficial. Fixes #53675 and #43486.
73
* Don't produce encoding error when adding duplicate files.
76
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
77
inside the ancestry of the other. Saves a lot of graph processing
78
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
79
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
81
* Fix ``show_diff_trees`` to handle the case when a file is modified,
82
and the containing directory is renamed. (The file path is different
83
in this versus base, but it isn't marked as a rename).
84
(John Arbash Meinel, #103870)
86
* FTP now works even when the FTP server does not support atomic rename.
87
(Aaron Bentley, #89436)
91
* Added ``bzrlib.strace.strace`` which will strace a single callable and
92
return a StraceResult object which contains just the syscalls involved
93
in running it. (Robert Collins)
95
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
96
default time down to one suitable for tests. (Andrew Bennetts)
98
* Add new vfs_transport_factory attribute on tests which provides the
99
common vfs backing for both the readonly and readwrite transports.
100
This allows the RemoteObject tests to back onto local disk or memory,
101
and use the existing transport_server attribute all tests know about
102
to be the smart server transport. This in turn allows tests to
103
differentiate between 'transport to access the branch', and
104
'transport which is a VFS' - which matters in Remote* tests.
105
(Robert Collins, Andrew Bennetts)
107
* The ``make_branch_and_tree`` method for tests will now create a
108
lightweight checkout for the tree if the vfs_transport_factory is not
109
a LocalURLServer. (Robert Collins, Andrew Bennetts)
111
* Branch implementation tests have been audited to ensure that all urls
112
passed to Branch APIs use proper urls, except when local-disk paths
113
are intended. This is so that tests correctly access the test transport
114
which is often not equivalent to local disk in Remote* tests. As part
115
of this many tests were adjusted to remove dependencies on local disk
117
(Robert Collins, Andrew Bennetts)
124
* Handle incompatible repositories as a user issue when fetching.
127
* Don't give a recommendation to upgrade when branching or
128
checking out a branch that contains an old-format working tree.
131
bzr 0.15rc3 2007-03-26
135
* A warning is now displayed when opening working trees in older
136
formats, to encourage people to upgrade to WorkingTreeFormat4.
141
* HTTP redirections are now taken into account when a branch (or a
142
bundle) is accessed for the first time. A message is issued at each
143
redirection to inform the user. In the past, http redirections were
144
silently followed for each request which significantly degraded the
145
performances. The http redirections are not followed anymore by
146
default, instead a RedirectRequested exception is raised. For bzrlib
147
users needing to follow http redirections anyway,
148
bzrlib.transport.do_catching_redirections provide an easy transition
153
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
154
lock to an OS write lock. Linux can do this without unlocking, Win32
155
needs to unlock in between. (John Arbash Meinel)
157
* New parameter ``recommend_upgrade`` to BzrDir.open_workingtree
158
to silence (when false) warnings about opening old formats.
161
* Fix minor performance regression with bzr-0.15 on pre-dirstate
162
trees. (We were reading the working inventory too many times).
165
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
166
``revision_history``. Branch subclasses should override
167
``_gen_revision_history`` rather than ``revision_history`` to make use of
168
this cache, and call ``_clear_revision_history_cache`` and
169
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
173
* Take smtp_server from user config into account.
176
* Restore Unicode filename handling for versioned and unversioned files.
177
(John Arbash Meinel, #92608)
179
* Don't fail during ``bzr commit`` if a file is marked removed, and
180
the containing directory is auto-removed. (John Arbash Meinel, #93681)
182
* ``bzr status FILENAME`` failed on Windows because of an uncommon
183
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
184
(Wouter van Heyst, John Arbash Meinel, #90819)
186
* ``bzr checkout source`` should create a local branch in the same
187
format as source. (John Arbash Meinel, #93854)
189
* ``bzr commit`` with a kind change was failing to update the
190
last-changed-revision for directories. The
191
InventoryDirectory._unchanged only looked at the parent_id and name,
192
ignoring the fact that the kind could have changed, too.
193
(John Arbash Meinel, #90111)
195
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
196
the directory. So that there was a chance it would break commit,
197
etc. (John Arbash Meinel, #94037)
199
* Correctly handles mutiple permanent http redirections.
203
bzr 0.15rc2 2007-03-14
205
NOTES WHEN UPGRADING:
207
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
208
default to ``--trees`` instead of ``--no-trees``.
209
Existing shared repositories are not affected.
213
* New ``merge-directive`` command to generate machine- and human-readable
214
merge requests. (Aaron Bentley)
216
* New ``submit:`` revision specifier makes it easy to diff against the
217
common ancestor with the submit location (Aaron Bentley)
219
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
221
* Added ``bzr status --versioned`` to report only versioned files,
222
not unknowns. (Kent Gibson)
224
* Merge now autodetects the correct line-ending style for its conflict
225
markers. (Aaron Bentley)
229
* Refactored SSH vendor registration into SSHVendorManager class.
234
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
235
numbered dirs for TestCaseInTempDir. This is default behavior
236
on Windows. Anyone can force named dirs on Windows
237
with ``--no-numbered-dirs``. (Alexander Belchenko)
239
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
240
from the command line. (Marien Zwart, #90501)
242
* Fix ``TreeTransform._iter_changes`` when both the source and
243
destination are missing. (Aaron Bentley, #88842)
245
* Fix commit of merges with symlinks in dirstate trees.
248
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
249
(Wouter van Heyst, #53483)
252
bzr 0.15rc1 2007-03-07
256
* The default disk format has changed. Please run 'bzr upgrade' in your
257
working trees to upgrade. This new default is compatible for network
258
operations, but not for local operations. That is, if you have two
259
versions of bzr installed locally, after upgrading you can only use the
260
bzr 0.15 version. This new default does not enable tags or nested-trees
261
as they are incompatible with bzr versions before 0.15 over the network.
263
* For users of bzrlib: Two major changes have been made to the working tree
264
api in bzrlib. The first is that many methods and attributes, including
265
the inventory attribute, are no longer valid for use until one of
266
lock_read/lock_write/lock_tree_write has been called, and become invalid
267
again after unlock is called. This has been done to improve performance
268
and correctness as part of the dirstate development. (Robert Collins,
269
John A Meinel, Martin Pool, and others).
271
* For users of bzrlib: The attribute 'tree.inventory' should be considered
272
readonly. Previously it was possible to directly alter this attribute, or
273
its contents, and have the tree notice this. This has been made
274
unsupported - it may work in some tree formats, but in the newer dirstate
275
format such actions will have no effect and will be ignored, or even
276
cause assertions. All operations possible can still be carried out by a
277
combination of the tree API, and the bzrlib.transform API. (Robert
278
Collins, John A Meinel, Martin Pool, and others).
282
* Support for OS Windows 98. Also .bzr.log on any windows system
283
saved in My Documents folder. (Alexander Belchenko)
285
* ``bzr mv`` enhanced to support already moved files.
286
In the past the mv command would have failed if the source file doesn't
287
exist. In this situation ``bzr mv`` would now detect that the file has
288
already moved and update the repository accordingly, if the target file
290
A new option ``--after`` has been added so that if two files already
291
exist, you could notify Bazaar that you have moved a (versioned) file
292
and replaced it with another. Thus in this case ``bzr move --after``
293
will only update the Bazaar identifier.
294
(Steffen Eichenberg, Marius Kruger)
296
* ``ls`` now works on treeless branches and remote branches.
299
* ``bzr help global-options`` describes the global options.
302
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
305
* Files are now allowed to change kind (e.g. from file to symlink).
306
Supported by ``commit``, ``revert`` and ``status``
309
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
312
* ``bzr help checkouts`` descibes what checkouts are and some possible
313
uses of them. (James Westby, Aaron Bentley)
315
* A new ``-d`` option to push, pull and merge overrides the default
316
directory. (Martin Pool)
318
* Branch format 6: smaller, and potentially faster than format 5. Supports
319
"append_history_only" mode, where the log view and revnos do not change,
320
except by being added to. Stores policy settings in
321
".bzr/branch/branch.conf".
323
* append_only branches: Format 6 branches may be configured so that log
324
view and revnos are always consistent. Either create the branch using
325
"bzr init --append-revisions-only" or edit the config file as descriped
326
in docs/configuration.txt.
328
* rebind: Format 6 branches retain the last-used bind location, so if you
329
"bzr unbind", you can "bzr bind" to bind to the previously-selected
332
* Builtin tags support, created and deleted by the ``tag`` command and
333
stored in the branch. Tags can be accessed with the revisionspec
334
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
335
at present. Tags require a network incompatible upgrade. To perform this
336
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
337
repositories. (Martin Pool)
339
* The bzr:// transport now has a well-known port number, 4155, which it will
340
use by default. (Andrew Bennetts, Martin Pool)
342
* Bazaar now looks for user-installed plugins before looking for site-wide
343
plugins. (Jonathan Lange)
345
* ``bzr resolve`` now detects and marks resolved text conflicts.
350
* Internally revision ids and file ids are now passed around as utf-8
351
bytestrings, rather than treating them as Unicode strings. This has
352
performance benefits for Knits, since we no longer need to decode the
353
revision id for each line of content, nor for each entry in the index.
354
This will also help with the future dirstate format.
357
* Reserved ids (any revision-id ending in a colon) are rejected by
358
versionedfiles, repositories, branches, and working trees
361
* Minor performance improvement by not creating a ProgressBar for
362
every KnitIndex we create. (about 90ms for a bzr.dev tree)
365
* New easier to use Branch hooks facility. There are five initial hooks,
366
all documented in bzrlib.branch.BranchHooks.__init__ - 'set_rh',
367
'post_push', 'post_pull', 'post_commit', 'post_uncommit'. These hooks
368
fire after the matching operation on a branch has taken place, and were
369
originally added for the branchrss plugin. (Robert Collins)
371
* New method ``Branch.push()`` which should be used when pushing from a
372
branch as it makes performance and policy decisions to match the UI
373
level command ``push``. (Robert Collins).
375
* Add a new method ``Tree.revision_tree`` which allows access to cached
376
trees for arbitrary revisions. This allows the in development dirstate
377
tree format to provide access to the callers to cached copies of
378
inventory data which are cheaper to access than inventories from the
380
(Robert Collins, Martin Pool)
382
* New Branch.last_revision_info method, this is being done to allow
383
optimization of requests for both the number of revisions and the last
384
revision of a branch with smartservers and potentially future branch
385
formats. (Wouter van Heyst, Robert Collins)
387
* Allow 'import bzrlib.plugins.NAME' to work when the plugin NAME has not
388
yet been loaded by load_plugins(). This allows plugins to depend on each
389
other for code reuse without requiring users to perform file-renaming
390
gymnastics. (Robert Collins)
392
* New Repository method 'gather_stats' for statistic data collection.
393
This is expected to grow to cover a number of related uses mainly
394
related to bzr info. (Robert Collins)
396
* Log formatters are now managed with a registry.
397
``log.register_formatter`` continues to work, but callers accessing
398
the FORMATTERS dictionary directly will not.
400
* Allow a start message to be passed to the ``edit_commit_message``
401
function. This will be placed in the message offered to the user
402
for editing above the separator. It allows a template commit message
403
to be used more easily. (James Westby)
405
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
406
you pass a Unicode string rather than an 8-bit string. Callers need
407
to be updated to encode first. (John Arbash Meinel)
409
* Branch.push, pull, merge now return Result objects with information
410
about what happened, rather than a scattering of various methods. These
411
are also passed to the post hooks. (Martin Pool)
413
* File formats and architecture is in place for managing a forest of trees
414
in bzr, and splitting up existing trees into smaller subtrees, and
415
finally joining trees to make a larger tree. This is the first iteration
416
of this support, and the user-facing aspects still require substantial
417
work. If you wish to experiment with it, use ``bzr upgrade
418
--dirstate-with-subtree`` in your working trees and repositories.
419
You can use the hidden commands ``split`` and ``join`` and to create
420
and manipulate nested trees, but please consider using the nested-trees
421
branch, which contains substantial UI improvements, instead.
422
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
423
(Aaron Bentley, Martin Pool, Robert Collins).
427
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
428
branch, rather than the last changed revision of the file.
429
(John Arbash Meinel, #82158)
431
* Lock operations no longer hang if they encounter a permission problem.
434
* ``bzr push`` can resume a push that was canceled before it finished.
435
Also, it can push even if the target directory exists if you supply
436
the ``--use-existing-dir`` flag.
437
(John Arbash Meinel, #30576, #45504)
439
* Fix http proxy authentication when user and an optional
440
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
443
* ``bzr log branch/file`` works for local treeless branches
444
(Aaron Bentley, #84247)
446
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
448
* Searching location of CA bundle for PyCurl in env variable (CURL_CA_BUNDLE),
449
and on win32 along the PATH. (Alexander Belchenko, #82086)
451
* ``bzr init`` works with unicode argument LOCATION.
452
(Alexander Belchenko, #85599)
454
* Raise DependencyNotPresent if pycurl do not support https. (Vincent
457
* Invalid proxy env variables should not cause a traceback.
458
(Vincent Ladeuil, #87765)
460
* Ignore patterns normalised to use '/' path separator.
461
(Kent Gibson, #86451)
463
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
465
* Fix bzrtools shelve command for removed lines beginning with "--"
466
(Johan Dahlberg, #75577)
470
* New ``--first`` option to ``bzr selftest`` to run specified tests
471
before the rest of the suite. (Martin Pool)
478
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
482
* Skip documentation generation tests if the tools to do so are not
483
available. Fixes running selftest for installled copies of bzr.
484
(John Arbash Meinel, #80330)
486
* Fix the code that discovers whether bzr is being run from it's
487
working tree to handle the case when it isn't but the directory
488
it is in is below a repository. (James Westby, #77306)
491
bzr 0.14rc1 2007-01-16
495
* New connection: ``bzr+http://`` which supports tunnelling the smart
496
protocol over an HTTP connection. If writing is enabled on the bzr
497
server, then you can write over the http connection.
498
(Andrew Bennetts, John Arbash Meinel)
500
* Aliases now support quotation marks, so they can contain whitespace
503
* PyCurlTransport now use a single curl object. By specifying explicitly
504
the 'Range' header, we avoid the need to use two different curl objects
505
(and two connections to the same server). (Vincent Ladeuil)
507
* ``bzr commit`` does not prompt for a message until it is very likely to
508
succeed. (Aaron Bentley)
510
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
513
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
514
of a list while checking if a revision id was requested. Takes 10s
515
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
516
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
517
filtering lines with a regex rather than multiple ``str.find()``
518
calls. (saves another 300ms) (John Arbash Meinel)
520
* Policy can be set for each configuration key. This allows keys to be
521
inherited properly across configuration entries. For example, this
522
should enable you to do::
525
push_location = sftp://host/srv/project/
526
push_location:policy = appendpath
528
And then a branch like ``/home/user/project/mybranch`` should get an
529
automatic push location of ``sftp://host/srv/project/mybranch``.
532
* Added ``bzr status --short`` to make status report svn style flags
533
for each file. For example::
541
* 'bzr selftest --clean-output' allows easily clean temporary tests
542
directories without running tests. (Alexander Belchenko)
544
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
546
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
547
local is fully merged into remote. (Jan Hudec)
549
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
553
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
554
help speed up processing, as well allowing to extract unannotated
555
lines. Between the two ``fileids_affected_by_revision_ids`` is
556
improved by approx 10%. (John Arbash Meinel)
558
* Change Revision serialization to only write out millisecond
559
resolution. Rather than expecting floating point serialization to
560
preserve more resolution than we need. (Henri Weichers, Martin Pool)
562
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
564
* When 'encoding_type' attribute of class Command is equal to 'exact',
565
force sys.stdout to be a binary stream on Windows, and therefore
566
keep exact line-endings (without LF -> CRLF conversion).
567
(Alexander Belchenko)
569
* Single-letter short options are no longer globally declared. (Martin
572
* Before using detected user/terminal encoding bzr should check
573
that Python has corresponding codec. (Alexander Belchenko)
575
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
579
* ``bzr missing --verbose`` was showing adds/removals in the wrong
580
direction. (John Arbash Meinel)
582
* ``bzr annotate`` now defaults to showing dotted revnos for merged
583
revisions. It cuts them off at a depth of 12 characters, but you can
584
supply ``--long`` to see the full number. You can also use
585
``--show-ids`` to display the original revision ids, rather than
586
revision numbers and committer names. (John Arbash Meinel, #75637)
588
* bzr now supports Win32 UNC path (e.g. \\HOST\path).
589
(Alexander Belchenko, #57869)
591
* Win32-specific: output of cat, bundle and diff commands don't mangle
592
line-endings (Alexander Belchenko, #55276)
594
* Replace broken fnmatch based ignore pattern matching with custom pattern
596
(Kent Gibson, Jan Hudec #57637)
598
* pycurl and urllib can detect short reads at different places. Update
599
the test suite to test more cases. Also detect http error code 416
600
which was raised for that specific bug. Also enhance the urllib
601
robustness by detecting invalid ranges (and pycurl's one by detecting
602
short reads during the initial GET). (Vincent Ladeuil, #73948)
604
* The urllib connection sharing interacts badly with urllib2
605
proxy setting (the connections didn't go thru the proxy
606
anymore). Defining a proper ProxyHandler solves the
607
problem. (Vincent Ladeuil, #74759)
609
* Use urlutils to generate relative URLs, not osutils
610
(Aaron Bentley, #76229)
612
* ``bzr status`` in a readonly directory should work without giving
613
lots of errors. (John Arbash Meinel, #76299)
615
* Mention the revisionspec topic for the revision option help.
616
(Wouter van Heyst, #31663)
618
* Allow plugins import from zip archives.
619
(Alexander Belchenko, #68124)
624
No changes from 0.13rc1
626
bzr 0.13rc1 2006-11-27
630
* New command ``bzr remove-tree`` allows the removal of the working
634
* urllib uses shared keep-alive connections, so http
635
operations are substantially faster.
636
(Vincent Ladeuil, #53654)
638
* ``bzr export`` allows an optional branch parameter, to export a bzr
639
tree from some other url. For example:
640
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
643
* Added ``bzr help topics`` to the bzr help system. This gives a
644
location for general information, outside of a specific command.
645
This includes updates for ``bzr help revisionspec`` the first topic
646
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
648
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
651
* Knit files will now cache full texts only when the size of the
652
deltas is as large as the size of the fulltext. (Or after 200
653
deltas, whichever comes first). This has the most benefit on large
654
files with small changes, such as the inventory for a large project.
655
(eg For a project with 2500 files, and 7500 revisions, it changes
656
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
660
* New -D option given before the command line turns on debugging output
661
for particular areas. -Derror shows tracebacks on all errors.
664
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
665
and remove benchmarks that take longer than 10min to run.
668
* Use ``time.time()`` instead of ``time.clock()`` to decide on
669
progress throttling. Because ``time.clock()`` is actually CPU time,
670
so over a high-latency connection, too many updates get throttled.
673
* ``MemoryTransport.list_dir()`` would strip the first character for
674
files or directories in root directory. (John Arbash Meinel)
676
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
677
prefix. It disallows any access to locations above a set URL. (Andrew
682
* Now _KnitIndex properly decode revision ids when loading index data.
683
And optimize the knit index parsing code. (Dmitry Vasiliev, John
686
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
687
without importing it. This prevented ``bzr upgrade`` from working
688
unless a plugin already imported ``bzrlib.workingtree``
689
(John Arbash Meinel, #70716)
691
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
693
* Give nicer error message when an http server returns a 403
694
error code. (Vincent Ladeuil, #57644).
696
* When a multi-range http GET request fails, try a single
697
range one. If it fails too, forget about ranges. Remember that until
698
the death of the transport and propagates that to the clones.
699
(Vincent Ladeuil, #62276, #62029).
701
* Handles user/passwords supplied in url from command
702
line (for the urllib implementation). Don't request already
703
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
705
* _KnitIndex.add_versions() dictionary compresses revision ids as they
706
are added. This fixes bug where fetching remote revisions records
707
them as full references rather than integers. (John Arbash Meinel,
710
* ``bzr ignore`` strips trailing slashes in patterns.
711
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
713
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
715
* mv correctly handles paths that traverse symlinks.
716
(Aaron Bentley, #66964)
718
* Give nicer looking error messages when failing to connect over ssh.
719
(John Arbash Meinel, #49172)
721
* Pushing to a remote branch does not currently update the remote working
722
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
723
machine now show that the working tree is out of date.
724
(Cheuksan Edward Wang #48136)
726
* Use patiencediff instead of difflib for determining deltas to insert
727
into knits. This avoids the O(N^3) behavior of difflib. Patience
728
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
730
* Running ``bzr log`` on nonexistent file gives an error instead of the
731
entire log history. (Cheuksan Edward Wang #50793)
733
* ``bzr cat`` can look up contents of removed or renamed files. If the
734
pathname is ambiguous, i.e. the files in the old and new trees have
735
different id's, the default is the file in the new tree. The user can
736
use "--name-from-revision" to select the file in the old tree.
737
(Cheuksan Edward Wang, #30190)
741
* TestingHTTPRequestHandler really handles the Range header
742
(previously it was ignoring it and returning the whole file,).
748
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
749
and remove benchmarks that take longer than 10min to run.
752
bzr 0.12rc1 2006-10-23
756
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
757
rather than just showing a decimal revision number for revisions on the
758
mainline. These revision numbers are not yet accepted as input into bzr
759
commands such as log, diff etc. (Robert Collins)
761
* revisions can now be specified using dotted-decimal revision numbers.
762
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
764
* ``bzr help commands`` output is now shorter (Aaron Bentley)
766
* ``bzr`` now uses lazy importing to reduce the startup time. This has
767
a moderate effect on lots of actions, especially ones that have
768
little to do. For example ``bzr rocks`` time is down to 116ms from
769
283ms. (John Arbash Meinel)
771
* New Registry class to provide name-to-object registry-like support,
772
for example for schemes where plugins can register new classes to
773
do certain tasks (e.g. log formatters). Also provides lazy registration
774
to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
779
* LogFormatter subclasses show now expect the 'revno' parameter to
780
show() to be a string rather than an int. (Robert Collins)
784
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
785
can take a ``working_dir='foo'`` parameter, which will change directory
786
for the command. (John Arbash Meinel)
788
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
789
around a regex, which defers compilation until first use.
792
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
793
``--no-plugins`` parameter to ensure test reproducability, and avoid
794
problems with system-wide installed plugins. (John Arbash Meinel)
796
* Unique tree root ids are now supported. Newly created trees still
797
use the common root id for compatibility with bzr versions before 0.12.
800
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
801
pass in inventory.ROOT_ID if you want the default root id value.
802
(Robert Collins, John Arbash Meinel)
804
* New method ``WorkingTree.flush()`` which will write the current memory
805
inventory out to disk. At the same time, read_working_inventory will
806
no longer trash the current tree inventory if it has been modified within
807
the current lock, and the tree will now ``flush()`` automatically on
808
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
809
advantage of this functionality. (Robert Collins, John Arbash Meinel)
811
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
812
parameter will cause it to add another column to its output, which
813
contains the dotted-decimal revno for each revision, as a tuple.
816
* ``LogFormatter.show_merge`` is deprecated in favour of
817
``LogFormatter.show_merge_revno``. (Robert Collins)
821
* Avoid circular imports by creating a deprecated function for
822
``bzrlib.tree.RevisionTree``. Callers should have been using
823
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
826
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
827
platforms. (Martin Pool, #66356)
829
* Don't require ``Content-Type`` in range responses. Assume they are a
830
single range if ``Content-Type`` does not exist.
831
(John Arbash Meinel, #62473)
833
* bzr branch/pull no longer complain about progress bar cleanup when
834
interrupted during fetch. (Aaron Bentley, #54000)
836
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
837
the basis inventory, rather than going through the repository. This
838
allows us to have 1 inventory read, and 2 inventory writes when
839
committing a new tree. (John Arbash Meinel)
841
* When reverting, files that are not locally modified that do not exist
842
in the target are deleted, not just unversioned (Aaron Bentley)
844
* When trying to acquire a lock, don't fail immediately. Instead, try
845
a few times (up to 1 hour) before timing out. Also, report why the
846
lock is unavailable (John Arbash Meinel, #43521, #49556)
848
* Leave HttpTransportBase daughter classes decides how they
849
implement cloning. (Vincent Ladeuil, #61606)
851
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
853
* If a commit fails, the commit message is stored in a file at the root of
854
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
859
* New test base class TestCaseWithMemoryTransport offers memory-only
860
testing facilities: its not suitable for tests that need to mutate disk
861
state, but most tests should not need that and should be converted to
862
TestCaseWithMemoryTransport. (Robert Collins)
864
* ``TestCase.make_branch_and_memory_tree`` now takes a format
865
option to set the BzrDir, Repository and Branch formats of the
866
created objects. (Robert Collins, John Arbash Meinel)
870
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
872
bzr 0.11rc2 2006-09-27
876
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
878
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
881
bzr 0.11rc1 2006-09-25
885
* Knit files now wait to create their contents until the first data is
886
added. The old code used to create an empty .knit and a .kndx with just
887
the header. However, this caused a lot of extra round trips over sftp.
888
This can change the time for ``bzr push`` to create a new remote branch
889
from 160s down to 100s. This also affects ``bzr commit`` performance when
890
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
891
down to 40s (John Arbash Meinel, #44692)
893
* When an entire subtree has been deleted, commit will now report that
894
just the top of the subtree has been deleted, rather than reporting
895
all the individual items. (Robert Collins)
897
* Commit performs one less XML parse. (Robert Collins)
899
* ``bzr checkout`` now operates on readonly branches as well
900
as readwrite branches. This fixes bug #39542. (Robert Collins)
902
* ``bzr bind`` no longer synchronises history with the master branch.
903
Binding should be followed by an update or push to synchronise the
904
two branches. This is closely related to the fix for bug #39542.
907
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
908
objects. This allows all imports to stay at the global scope, but
909
modules will not actually be imported if they are not used.
912
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
913
transport which will be used with the upcoming high-performance smart
914
server. The new command ``bzr serve`` will invoke bzr in server mode,
915
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
918
* New command ``bzr version-info`` which can be used to get a summary
919
of the current state of the tree. This is especially useful as part
920
of a build commands. See ``doc/version_info.txt`` for more information
925
* 'bzr inventory [FILE...]' allows restricting the file list to a
926
specific set of files. (John Arbash Meinel, #3631)
928
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
930
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
931
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
932
reading a nested Stanza. (John Arbash Meinel)
934
* Transform._set_mode() needs to stat the right file.
935
(John Arbash Meinel, #56549)
937
* Raise WeaveFormatError rather than StopIteration when trying to read
938
an empty Weave file. (John Arbash Meinel, #46871)
940
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
941
(Vincent Ladeuil, #59835)
943
* Handle boundary="" lines properly to allow access through a Squid proxy.
944
(John Arbash Meinel, #57723)
946
* revert now removes newly-added directories (Aaron Bentley, #54172)
948
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
949
isn't a working tree. (David Allouche, #40679)
951
* Give nicer error messages when a user supplies an invalid --revision
952
parameter. (John Arbash Meinel, #55420)
954
* Handle when LANG is not recognized by python. Emit a warning, but
955
just revert to using 'ascii'. (John Arbash Meinel, #35392)
957
* Don't use preexec_fn on win32, as it is not supported by subprocess.
960
* Skip specific tests when the dependencies aren't met. This includes
961
some ``setup.py`` tests when ``python-dev`` is not available, and
962
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
964
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
965
the system. (Andrew Bennetts, John Arbash Meinel)
967
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
968
other branch, and will not push or pull between the two branches.
969
API users will need to perform a push or pull or update operation if they
970
require branch synchronisation to take place. (Robert Collins, #47344)
972
* When creating a tarball or zipfile export, export unicode names as utf-8
973
paths. This may not work perfectly on all platforms, but has the best
974
chance of working in the common case. (John Arbash Meinel, #56816)
976
* When committing, only files that exist in working tree or basis tree
977
may be specified (Aaron Bentley, #50793)
981
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
985
* TestCaseInTempDir now creates a separate directory for HOME, rather
986
than having HOME set to the same location as the working directory.
989
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
990
which will update os.environ inside the spawned child. It also can
991
take a 'universal_newlines=True', which helps when checking the output
992
of the command. (John Arbash Meinel)
994
* Refactor SFTP vendors to allow easier re-use when ssh is used.
997
* Transport.list_dir() and Transport.iter_files_recursive() should always
998
return urlescaped paths. This is now tested (there were bugs in a few
999
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
1001
* New utility function symbol_versioning.deprecation_string. Returns the
1002
formatted string for a callable, deprecation format pair. (Robert Collins)
1004
* New TestCase helper applyDeprecated. This allows you to call a callable
1005
which is deprecated without it spewing to the screen, just by supplying
1006
the deprecation format string issued for it. (Robert Collins)
1008
* Transport.append and Transport.put have been deprecated in favor of
1009
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
1010
ambiguity in what type of object the functions take.
1011
Transport.non_atomic_put_{bytes,file} has also been added. Which works
1012
similarly to Transport.append() except for SFTP, it doesn't have a round
1013
trip when opening the file. Also, it provides functionality for creating
1014
a parent directory when trying to create a file, rather than raise
1015
NoSuchFile and forcing the caller to repeat their request.
1016
(John Arbash Meinel)
1018
* WorkingTree has a new api ``unversion`` which allow the unversioning of
1019
entries by their file id. (Robert Collins)
1021
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
1022
(introduced in 0.10) method instead. (Robert Collins)
1024
* WorkingTree has a new lock_tree_write method which locks the branch for
1025
read rather than write. This is appropriate for actions which only need
1026
the branch data for reference rather than mutation. A new decorator
1027
needs_tree_write_lock is provided in the workingtree module. Like the
1028
needs_read_lock and needs_write_lock decorators this allows static
1029
declaration of the locking requirements of a function to ensure that
1030
a lock is taken out for casual scripts. (Robert Collins, #54107)
1032
* All WorkingTree methods which write to the tree, but not to the branch
1033
have been converted to use ``needs_tree_write_lock`` rather than
1034
``needs_write_lock``. Also converted is the revert, conflicts and tree
1035
transform modules. This provides a modest performance improvement on
1036
metadir style trees, due to the reduce lock-acquisition, and a more
1037
significant performance improvement on lightweight checkouts from
1038
remote branches, where trivial operations used to pay a significant
1039
penalty. It also provides the basis for allowing readonly checkouts.
1042
* Special case importing the standard library 'copy' module. This shaves
1043
off 40ms of startup time, while retaining compatibility. See:
1044
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
1046
* WorkingTree has a new parent class MutableTree which represents the
1047
specialisations of Tree which are able to be altered. (Robert Collins)
1049
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
1050
mutate the tree and its contents. (Robert Collins)
1052
* Transport behaviour at the root of the URL is now defined and tested.
1053
(Andrew Bennetts, Robert Collins)
1057
* New test helper classs MemoryTree. This is typically accessed via
1058
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
1060
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
1061
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
1064
* Add a new method ``Transport.get_smart_client()``. This is provided to
1065
allow upgrades to a richer interface than the VFS one provided by
1066
Transport. (Andrew Bennetts, Martin Pool)
4
1071
* 'merge' now takes --uncommitted, to apply uncommitted changes from a