5
* ``bzr mv`` enhanced to support already moved files.
6
In the past the mv command would have failed if the source file doesn't
7
exist. In this situation ``bzr mv`` would now detect that the file has
8
already moved and update the repository accordingly, if the target file
10
A new option ``--after`` has been added so that if two files already
11
exist, you could notify Bazaar that you have moved a (versioned) file and
12
replaced it with another. Thus in this case ``bzr move --after`` will
13
only update the Bazaar identifier.
14
(Steffen Eichenberg, Marius Kruger)
16
* ``ls`` now works on treeless branches and remote branches.
19
* ``bzr help global-options`` describes the global options.
24
* Reserved ids (any revision-id ending in a colon) are rejected by
25
versionedfiles, repositories, branches, and working trees
32
* New ``--first`` option to ``bzr selftest`` to run specified tests
33
before the rest of the suite. (Martin Pool)
40
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
44
* Skip documentation generation tests if the tools to do so are not
45
available. Fixes running selftest for installled copies of bzr.
46
(John Arbash Meinel, #80330)
48
* Fix the code that discovers whether bzr is being run from it's
49
working tree to handle the case when it isn't but the directory
50
it is in is below a repository. (James Westby, #77306)
53
bzr 0.14rc1 2007-01-16
57
* New connection: ``bzr+http://`` which supports tunnelling the smart
58
protocol over an HTTP connection. If writing is enabled on the bzr
59
server, then you can write over the http connection.
60
(Andrew Bennetts, John Arbash Meinel)
62
* Aliases now support quotation marks, so they can contain whitespace
65
* PyCurlTransport now use a single curl object. By specifying explicitly
66
the 'Range' header, we avoid the need to use two different curl objects
67
(and two connections to the same server). (Vincent Ladeuil)
69
* ``bzr commit`` does not prompt for a message until it is very likely to
70
succeed. (Aaron Bentley)
72
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
75
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
76
of a list while checking if a revision id was requested. Takes 10s
77
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
78
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
79
filtering lines with a regex rather than multiple ``str.find()``
80
calls. (saves another 300ms) (John Arbash Meinel)
82
* Policy can be set for each configuration key. This allows keys to be
83
inherited properly across configuration entries. For example, this
84
should enable you to do::
87
push_location = sftp://host/srv/project/
88
push_location:policy = appendpath
90
And then a branch like ``/home/user/project/mybranch`` should get an
91
automatic push location of ``sftp://host/srv/project/mybranch``.
94
* Added ``bzr status --short`` to make status report svn style flags
95
for each file. For example::
103
* 'bzr selftest --clean-output' allows easily clean temporary tests
104
directories without running tests. (Alexander Belchenko)
106
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
108
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
109
local is fully merged into remote. (Jan Hudec)
111
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
115
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
116
help speed up processing, as well allowing to extract unannotated
117
lines. Between the two ``fileids_affected_by_revision_ids`` is
118
improved by approx 10%. (John Arbash Meinel)
120
* Change Revision serialization to only write out millisecond
121
resolution. Rather than expecting floating point serialization to
122
preserve more resolution than we need. (Henri Weichers, Martin Pool)
124
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
126
* When 'encoding_type' attribute of class Command is equal to 'exact',
127
force sys.stdout to be a binary stream on Windows, and therefore
128
keep exact line-endings (without LF -> CRLF conversion).
129
(Alexander Belchenko)
131
* Single-letter short options are no longer globally declared. (Martin
134
* Before using detected user/terminal encoding bzr should check
135
that Python has corresponding codec. (Alexander Belchenko)
137
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
141
* ``bzr missing --verbose`` was showing adds/removals in the wrong
142
direction. (John Arbash Meinel)
144
* ``bzr annotate`` now defaults to showing dotted revnos for merged
145
revisions. It cuts them off at a depth of 12 characters, but you can
146
supply ``--long`` to see the full number. You can also use
147
``--show-ids`` to display the original revision ids, rather than
148
revision numbers and committer names. (John Arbash Meinel, #75637)
150
* bzr now supports Win32 UNC path (e.g. \\HOST\path).
151
(Alexander Belchenko, #57869)
153
* Win32-specific: output of cat, bundle and diff commands don't mangle
154
line-endings (Alexander Belchenko, #55276)
156
* Replace broken fnmatch based ignore pattern matching with custom pattern
158
(Kent Gibson, Jan Hudec #57637)
160
* pycurl and urllib can detect short reads at different places. Update
161
the test suite to test more cases. Also detect http error code 416
162
which was raised for that specific bug. Also enhance the urllib
163
robustness by detecting invalid ranges (and pycurl's one by detecting
164
short reads during the initial GET). (Vincent Ladeuil, #73948)
166
* The urllib connection sharing interacts badly with urllib2
167
proxy setting (the connections didn't go thru the proxy
168
anymore). Defining a proper ProxyHandler solves the
169
problem. (Vincent Ladeuil, #74759)
171
* Use urlutils to generate relative URLs, not osutils
172
(Aaron Bentley, #76229)
174
* ``bzr status`` in a readonly directory should work without giving
175
lots of errors. (John Arbash Meinel, #76299)
177
* Mention the revisionspec topic for the revision option help.
178
(Wouter van Heyst, #31663)
180
* Allow plugins import from zip archives.
181
(Alexander Belchenko, #68124)
186
No changes from 0.13rc1
188
bzr 0.13rc1 2006-11-27
192
* New command ``bzr remove-tree`` allows the removal of the working
196
* urllib uses shared keep-alive connections, so http
197
operations are substantially faster.
198
(Vincent Ladeuil, #53654)
200
* ``bzr export`` allows an optional branch parameter, to export a bzr
201
tree from some other url. For example:
202
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
205
* Added ``bzr help topics`` to the bzr help system. This gives a
206
location for general information, outside of a specific command.
207
This includes updates for ``bzr help revisionspec`` the first topic
208
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
210
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
213
* Knit files will now cache full texts only when the size of the
214
deltas is as large as the size of the fulltext. (Or after 200
215
deltas, whichever comes first). This has the most benefit on large
216
files with small changes, such as the inventory for a large project.
217
(eg For a project with 2500 files, and 7500 revisions, it changes
218
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
222
* New -D option given before the command line turns on debugging output
223
for particular areas. -Derror shows tracebacks on all errors.
226
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
227
and remove benchmarks that take longer than 10min to run.
230
* Use ``time.time()`` instead of ``time.clock()`` to decide on
231
progress throttling. Because ``time.clock()`` is actually CPU time,
232
so over a high-latency connection, too many updates get throttled.
235
* ``MemoryTransport.list_dir()`` would strip the first character for
236
files or directories in root directory. (John Arbash Meinel)
238
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
239
prefix. It disallows any access to locations above a set URL. (Andrew
244
* Now _KnitIndex properly decode revision ids when loading index data.
245
And optimize the knit index parsing code. (Dmitry Vasiliev, John
248
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
249
without importing it. This prevented ``bzr upgrade`` from working
250
unless a plugin already imported ``bzrlib.workingtree``
251
(John Arbash Meinel, #70716)
253
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
255
* Give nicer error message when an http server returns a 403
256
error code. (Vincent Ladeuil, #57644).
258
* When a multi-range http GET request fails, try a single
259
range one. If it fails too, forget about ranges. Remember that until
260
the death of the transport and propagates that to the clones.
261
(Vincent Ladeuil, #62276, #62029).
263
* Handles user/passwords supplied in url from command
264
line (for the urllib implementation). Don't request already
265
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
267
* _KnitIndex.add_versions() dictionary compresses revision ids as they
268
are added. This fixes bug where fetching remote revisions records
269
them as full references rather than integers. (John Arbash Meinel,
272
* ``bzr ignore`` strips trailing slashes in patterns.
273
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
275
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
277
* mv correctly handles paths that traverse symlinks.
278
(Aaron Bentley, #66964)
280
* Give nicer looking error messages when failing to connect over ssh.
281
(John Arbash Meinel, #49172)
283
* Pushing to a remote branch does not currently update the remote working
284
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
285
machine now show that the working tree is out of date.
286
(Cheuksan Edward Wang #48136)
288
* Use patiencediff instead of difflib for determining deltas to insert
289
into knits. This avoids the O(N^3) behavior of difflib. Patience
290
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
292
* Running ``bzr log`` on nonexistent file gives an error instead of the
293
entire log history. (Cheuksan Edward Wang #50793)
295
* ``bzr cat`` can look up contents of removed or renamed files. If the
296
pathname is ambiguous, i.e. the files in the old and new trees have
297
different id's, the default is the file in the new tree. The user can
298
use "--name-from-revision" to select the file in the old tree.
299
(Cheuksan Edward Wang, #30190)
303
* TestingHTTPRequestHandler really handles the Range header
304
(previously it was ignoring it and returning the whole file,).
310
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
311
and remove benchmarks that take longer than 10min to run.
314
bzr 0.12rc1 2006-10-23
318
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
319
rather than just showing a decimal revision number for revisions on the
320
mainline. These revision numbers are not yet accepted as input into bzr
321
commands such as log, diff etc. (Robert Collins)
323
* revisions can now be specified using dotted-decimal revision numbers.
324
For instance, ``bzr diff -r 1.2.1..1.2.3. (Robert Collins)
326
* ``bzr help commands`` output is now shorter (Aaron Bentley)
328
* ``bzr`` now uses lazy importing to reduce the startup time. This has
329
a moderate effect on lots of actions, especially ones that have
330
little to do. For example ``bzr rocks`` time is down to 116ms from
331
283ms. (John Arbash Meinel)
333
* New Registry class to provide name-to-object registry-like support,
334
for example for schemes where plugins can register new classes to
335
do certain tasks (e.g. log formatters). Also provides lazy registration
336
to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
341
* LogFormatter subclasses show now expect the 'revno' parameter to
342
show() to be a string rather than an int. (Robert Collins)
346
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
347
can take a ``working_dir='foo'`` parameter, which will change directory
348
for the command. (John Arbash Meinel)
350
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
351
around a regex, which defers compilation until first use.
354
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
355
``--no-plugins`` parameter to ensure test reproducability, and avoid
356
problems with system-wide installed plugins. (John Arbash Meinel)
358
* Unique tree root ids are now supported. Newly created trees still
359
use the common root id for compatibility with bzr versions before 0.12.
362
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
363
pass in inventory.ROOT_ID if you want the default root id value.
364
(Robert Collins, John Arbash Meinel)
366
* New method ``WorkingTree.flush()`` which will write the current memory
367
inventory out to disk. At the same time, read_working_inventory will
368
no longer trash the current tree inventory if it has been modified within
369
the current lock, and the tree will now ``flush()`` automatically on
370
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
371
advantage of this functionality. (Robert Collins, John Arbash Meinel)
373
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
374
parameter will cause it to add another column to its output, which
375
contains the dotted-decimal revno for each revision, as a tuple.
378
* ``LogFormatter.show_merge`` is deprecated in favour of
379
``LogFormatter.show_merge_revno``. (Robert Collins)
383
* Avoid circular imports by creating a deprecated function for
384
``bzrlib.tree.RevisionTree``. Callers should have been using
385
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
388
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
389
platforms. (Martin Pool, #66356)
391
* Don't require ``Content-Type`` in range responses. Assume they are a
392
single range if ``Content-Type`` does not exist.
393
(John Arbash Meinel, #62473)
395
* bzr branch/pull no longer complain about progress bar cleanup when
396
interrupted during fetch. (Aaron Bentley, #54000)
398
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
399
the basis inventory, rather than going through the repository. This
400
allows us to have 1 inventory read, and 2 inventory writes when
401
committing a new tree. (John Arbash Meinel)
403
* When reverting, files that are not locally modified that do not exist
404
in the target are deleted, not just unversioned (Aaron Bentley)
406
* When trying to acquire a lock, don't fail immediately. Instead, try
407
a few times (up to 1 hour) before timing out. Also, report why the
408
lock is unavailable (John Arbash Meinel, #43521, #49556)
410
* Leave HttpTransportBase daughter classes decides how they
411
implement cloning. (Vincent Ladeuil, #61606)
413
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
415
* If a commit fails, the commit message is stored in a file at the root of
416
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
421
* New test base class TestCaseWithMemoryTransport offers memory-only
422
testing facilities: its not suitable for tests that need to mutate disk
423
state, but most tests should not need that and should be converted to
424
TestCaseWithMemoryTransport. (Robert Collins)
426
* ``TestCase.make_branch_and_memory_tree`` now takes a format
427
option to set the BzrDir, Repository and Branch formats of the
428
created objects. (Robert Collins, John Arbash Meinel)
432
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
434
bzr 0.11rc2 2006-09-27
438
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
440
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
443
bzr 0.11rc1 2006-09-25
447
* Knit files now wait to create their contents until the first data is
448
added. The old code used to create an empty .knit and a .kndx with just
449
the header. However, this caused a lot of extra round trips over sftp.
450
This can change the time for ``bzr push`` to create a new remote branch
451
from 160s down to 100s. This also affects ``bzr commit`` performance when
452
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
453
down to 40s (John Arbash Meinel, #44692)
455
* When an entire subtree has been deleted, commit will now report that
456
just the top of the subtree has been deleted, rather than reporting
457
all the individual items. (Robert Collins)
459
* Commit performs one less XML parse. (Robert Collins)
461
* ``bzr checkout`` now operates on readonly branches as well
462
as readwrite branches. This fixes bug #39542. (Robert Collins)
464
* ``bzr bind`` no longer synchronises history with the master branch.
465
Binding should be followed by an update or push to synchronise the
466
two branches. This is closely related to the fix for bug #39542.
469
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
470
objects. This allows all imports to stay at the global scope, but
471
modules will not actually be imported if they are not used.
474
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
475
transport which will be used with the upcoming high-performance smart
476
server. The new command ``bzr serve`` will invoke bzr in server mode,
477
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
480
* New command ``bzr version-info`` which can be used to get a summary
481
of the current state of the tree. This is especially useful as part
482
of a build commands. See ``doc/version_info.txt`` for more information
487
* 'bzr inventory [FILE...]' allows restricting the file list to a
488
specific set of files. (John Arbash Meinel, #3631)
490
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
492
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
493
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
494
reading a nested Stanza. (John Arbash Meinel)
496
* Transform._set_mode() needs to stat the right file.
497
(John Arbash Meinel, #56549)
499
* Raise WeaveFormatError rather than StopIteration when trying to read
500
an empty Weave file. (John Arbash Meinel, #46871)
502
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
503
(Vincent Ladeuil, #59835)
505
* Handle boundary="" lines properly to allow access through a Squid proxy.
506
(John Arbash Meinel, #57723)
508
* revert now removes newly-added directories (Aaron Bentley, #54172)
510
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
511
isn't a working tree. (David Allouche, #40679)
513
* Give nicer error messages when a user supplies an invalid --revision
514
parameter. (John Arbash Meinel, #55420)
516
* Handle when LANG is not recognized by python. Emit a warning, but
517
just revert to using 'ascii'. (John Arbash Meinel, #35392)
519
* Don't use preexec_fn on win32, as it is not supported by subprocess.
522
* Skip specific tests when the dependencies aren't met. This includes
523
some ``setup.py`` tests when ``python-dev`` is not available, and
524
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
526
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
527
the system. (Andrew Bennetts, John Arbash Meinel)
529
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
530
other branch, and will not push or pull between the two branches.
531
API users will need to perform a push or pull or update operation if they
532
require branch synchronisation to take place. (Robert Collins, #47344)
534
* When creating a tarball or zipfile export, export unicode names as utf-8
535
paths. This may not work perfectly on all platforms, but has the best
536
chance of working in the common case. (John Arbash Meinel, #56816)
538
* When committing, only files that exist in working tree or basis tree
539
may be specified (Aaron Bentley, #50793)
543
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
547
* TestCaseInTempDir now creates a separate directory for HOME, rather
548
than having HOME set to the same location as the working directory.
551
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
552
which will update os.environ inside the spawned child. It also can
553
take a 'universal_newlines=True', which helps when checking the output
554
of the command. (John Arbash Meinel)
556
* Refactor SFTP vendors to allow easier re-use when ssh is used.
559
* Transport.list_dir() and Transport.iter_files_recursive() should always
560
return urlescaped paths. This is now tested (there were bugs in a few
561
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
563
* New utility function symbol_versioning.deprecation_string. Returns the
564
formatted string for a callable, deprecation format pair. (Robert Collins)
566
* New TestCase helper applyDeprecated. This allows you to call a callable
567
which is deprecated without it spewing to the screen, just by supplying
568
the deprecation format string issued for it. (Robert Collins)
570
* Transport.append and Transport.put have been deprecated in favor of
571
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
572
ambiguity in what type of object the functions take.
573
Transport.non_atomic_put_{bytes,file} has also been added. Which works
574
similarly to Transport.append() except for SFTP, it doesn't have a round
575
trip when opening the file. Also, it provides functionality for creating
576
a parent directory when trying to create a file, rather than raise
577
NoSuchFile and forcing the caller to repeat their request.
580
* WorkingTree has a new api ``unversion`` which allow the unversioning of
581
entries by their file id. (Robert Collins)
583
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
584
(introduced in 0.10) method instead. (Robert Collins)
586
* WorkingTree has a new lock_tree_write method which locks the branch for
587
read rather than write. This is appropriate for actions which only need
588
the branch data for reference rather than mutation. A new decorator
589
needs_tree_write_lock is provided in the workingtree module. Like the
590
needs_read_lock and needs_write_lock decorators this allows static
591
declaration of the locking requirements of a function to ensure that
592
a lock is taken out for casual scripts. (Robert Collins, #54107)
594
* All WorkingTree methods which write to the tree, but not to the branch
595
have been converted to use ``needs_tree_write_lock`` rather than
596
``needs_write_lock``. Also converted is the revert, conflicts and tree
597
transform modules. This provides a modest performance improvement on
598
metadir style trees, due to the reduce lock-acquisition, and a more
599
significant performance improvement on lightweight checkouts from
600
remote branches, where trivial operations used to pay a significant
601
penalty. It also provides the basis for allowing readonly checkouts.
604
* Special case importing the standard library 'copy' module. This shaves
605
off 40ms of startup time, while retaining compatibility. See:
606
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
608
* WorkingTree has a new parent class MutableTree which represents the
609
specialisations of Tree which are able to be altered. (Robert Collins)
611
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
612
mutate the tree and its contents. (Robert Collins)
614
* Transport behaviour at the root of the URL is now defined and tested.
615
(Andrew Bennetts, Robert Collins)
619
* New test helper classs MemoryTree. This is typically accessed via
620
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
622
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
623
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
626
* Add a new method ``Transport.get_smart_client()``. This is provided to
627
allow upgrades to a richer interface than the VFS one provided by
628
Transport. (Andrew Bennetts, Martin Pool)
633
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
634
tree. (Aaron Bentley)
636
* 'bzr add --file-ids-from' can be used to specify another path to use
637
for creating file ids, rather than generating all new ones. Internally,
638
the 'action' passed to smart_add_tree() can return file_ids that
639
will be used, rather than having bzrlib generate new ones.
640
(John Arbash Meinel, #55781)
642
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
643
This will cache some of the intermediate trees, and decrease the
644
setup time for benchmark tests. (John Arbash Meinel)
646
* Inverse forms are provided for all boolean options. For example,
647
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
649
* Serialize out Inventories directly, rather than using ElementTree.
650
Writing out a kernel sized inventory drops from 2s down to ~350ms.
651
(Robert Collins, John Arbash Meinel)
655
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
657
* Change LockDir so that if the lock directory doesn't exist when
658
lock_write() is called, an attempt will be made to create it.
659
(John Arbash Meinel, #56974)
661
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
663
* Active FTP transport now works as intended. (ghozzy, #56472)
665
* Really fix mutter() so that it won't ever raise a UnicodeError.
666
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
667
But it is a debugging log, not a real user file.
668
(John Arbash Meinel, #56947, #53880)
670
* Change Command handle to allow Unicode command and options.
671
At present we cannot register Unicode command names, so we will get
672
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
673
But that is better than a UnicodeError + a traceback.
674
(John Arbash Meinel, #57123)
676
* Handle TZ=UTC properly when reading/writing revisions.
677
(John Arbash Meinel, #55783, #56290)
679
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
680
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
682
* External diff does the right thing for binaries even in foreign
683
languages. (John Arbash Meinel, #56307)
685
* Testament handles more cases when content is unicode. Specific bug was
686
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
689
* The bzr selftest was failing on installed versions due to a bug in a new
690
test helper. (John Arbash Meinel, Robert Collins, #58057)
694
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
695
which can be used to cache the conversion between utf8 and Unicode.
696
Especially helpful for some of the knit annotation code, which has to
697
convert revision ids to utf8 to annotate lines in storage.
700
* ``setup.py`` now searches the filesystem to find all packages which
701
need to be installed. This should help make the life of packagers
702
easier. (John Arbash Meinel)
708
* The hard-coded built-in ignore rules have been removed. There are
709
now two rulesets which are enforced. A user global one in
710
~/.bazaar/ignore which will apply to every tree, and the tree
711
specific one '.bzrignore'.
712
~/.bazaar/ignore will be created if it does not exist, but with
713
a more conservative list than the old default.
714
This fixes bugs with default rules being enforced no matter what.
715
The old list of ignore rules from bzr is available by
716
running 'bzr ignore --old-default-rules'.
717
(Robert Collins, Martin Pool, John Arbash Meinel)
719
* 'branches.conf' has been changed to 'locations.conf', since it can apply
720
to more locations than just branch locations.
725
* The revision specifier "revno:" is extended to accept the syntax
726
revno:N:branch. For example,
727
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
728
bzr.dev. (Matthieu Moy)
730
* Tests updates to ensure proper URL handling, UNICODE support, and
731
proper printing when the user's terminal encoding cannot display
732
the path of a file that has been versioned.
733
``bzr branch`` can take a target URL rather than only a local directory.
734
Branch.get_parent()/set_parent() now save a relative path if possible,
735
and normalize the parent based on root, allowing access across
736
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
737
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
740
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
741
Use terminal width for single-line logs from ``bzr log --line`` and
742
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
745
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
746
(Alexander Belchenko)
748
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
750
* Show the correct number of revisions pushed when pushing a new branch.
753
* 'bzr selftest' now shows a progress bar with the number of tests, and
754
progress made. 'make check' shows tests in -v mode, to be more useful
755
for the PQM status window. (Robert Collins).
756
When using a progress bar, failed tests are printed out, rather than
757
being overwritten by the progress bar until the suite finishes.
760
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
761
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
762
profile data for the individual profiled calls, allowing for fine
763
grained analysis of performance.
764
(Robert Collins, Martin Pool).
766
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
767
where commit can take an appreciable time. (Robert Collins)
769
* 'bzr add' is now less verbose in telling you what ignore globs were
770
matched by files being ignored. Instead it just tells you how many
771
were ignored (because you might reasonably be expecting none to be
772
ignored). 'bzr add -v' is unchanged and will report every ignored
773
file. (Robert Collins).
775
* ftp now has a test server if medusa is installed. As part of testing,
776
ftp support has been improved, including support for supplying a
777
non-standard port. (John Arbash Meinel).
779
* 'bzr log --line' shows the revision number, and uses only the
780
first line of the log message (#5162, Alexander Belchenko;
783
* 'bzr status' has had the --all option removed. The 'bzr ls' command
784
should be used to retrieve all versioned files. (Robert Collins)
786
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
787
over email, and applied on the other end, while maintaining ancestry.
788
This bundle can be applied with either 'bzr merge' or 'bzr pull',
789
the same way you would apply another branch.
790
(John Arbash Meinel, Aaron Bentley)
792
* 'bzr whoami' can now be used to set your identity from the command line,
793
for a branch or globally. (Robey Pointer)
795
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
798
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
801
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
802
Also updates things like 'http+pycurl://' if pycurl is not present.
803
(John Arbash Meinel) (Malone #47821, #52204)
805
* New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
806
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
807
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
809
* Improve the help text for 'bzr diff' to explain what various options do.
810
(John Arbash Meinel, #6391)
812
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
813
revision 10. This makes -r10 more in line with what other commands do.
814
'bzr uncommit' also now saves the pending merges of the revisions that
815
were removed. So it is safe to uncommit after a merge, fix something,
816
and commit again. (John Arbash Meinel, #32526, #31426)
818
* 'bzr init' now also works on remote locations.
819
(Wouter van Heyst, #48904)
821
* HTTP support has been updated. When using pycurl we now support
822
connection keep-alive, which reduces dns requests and round trips.
823
And for both urllib and pycurl we support multi-range requests,
824
which decreases the number of round-trips. Performance results for
825
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
826
http branching is now 2-3x faster, and ``bzr pull`` in an existing
827
branch is as much as 4x faster.
828
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
830
* Performance improvements for sftp. Branching and pulling are now up to
831
2x faster. Utilize paramiko.readv() support for async requests if it
832
is available (paramiko > 1.6) (John Arbash Meinel)
836
* Fix shadowed definition of TestLocationConfig that caused some
837
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
840
* Fix unnecessary requirement of sign-my-commits that it be run from
841
a working directory. (Martin Pool, Robert Collins)
843
* 'bzr push location' will only remember the push location if it succeeds
844
in connecting to the remote location. (#49742, John Arbash Meinel)
846
* 'bzr revert' no longer toggles the executable bit on win32
847
(#45010, John Arbash Meinel)
849
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
851
* sftp tests now work correctly on win32 if you have a newer paramiko
854
* Cleanup win32 test suite, and general cleanup of places where
855
file handles were being held open. (John Arbash Meinel)
857
* When specifying filenames for 'diff -r x..y', the name of the file in the
858
working directory can be used, even if its name is different in both x
861
* File-ids containing single- or double-quotes are handled correctly by
862
push. (#52227, Aaron Bentley)
864
* Normalize unicode filenames to ensure cross-platform consistency.
865
(John Arbash Meinel, #43689)
867
* The argument parser can now handle '-' as an argument. Currently
868
no code interprets it specially (it is mostly handled as a file named
869
'-'). But plugins, and future operations can use it.
870
(John Arbash meinel, #50984)
872
* Bundles can properly read binary files with a plain '\r' in them.
873
(John Arbash Meinel, #51927)
875
* Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
877
* Lots of win32 fixes (the test suite passes again).
878
(John Arbash Meinel, #50155)
880
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
882
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
884
* Removals are only committed if they match the filespec (or if there is
885
no filespec). (#46635, Aaron Bentley)
887
* smart-add recurses through all supplied directories
888
(John Arbash Meinel, #52578)
890
* Make the bundle reader extra lines before and after the bundle text.
891
This allows you to parse an email with the bundle inline.
892
(John Arbash Meinel, #49182)
894
* Change the file id generator to squash a little bit more. Helps when
895
working with long filenames on windows. (Also helps for unicode filenames
896
not generating hidden files). (John Arbash Meinel, #43801)
898
* Restore terminal mode on C-c while reading sftp password. (#48923,
899
Nicholas Allen, Martin Pool)
901
* Timestamps are rounded to 1ms, and revision entries can be recreated
902
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
904
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
905
use local paths, since it is user visible (John Arbash Meinel, #53653)
907
* ``bzr status foo`` when foo was unversioned used to cause a full delta
908
to be generated (John Arbash Meinel, #53638)
910
* When reading revision properties, an empty value should be considered
911
the empty string, not None (John Arbash Meinel, #47782)
913
* ``bzr diff --diff-options`` can now handle binary files being changed.
914
Also, the output is consistent when --diff-options is not supplied.
915
(John Arbash Meinel, #54651, #52930)
917
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
919
* Fix Branch.get_parent() to handle the case when the parent is not
920
accessible (John Arbash Meinel, #52976)
924
* Combine the ignore rules into a single regex rather than looping over
925
them to reduce the threshold where N^2 behaviour occurs in operations
926
like status. (Jan Hudec, Robert Collins).
928
* Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
929
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
931
* 'bzr push' should only push the ancestry of the current revision, not
932
all of the history in the repository. This is especially important for
933
shared repositories. (John Arbash Meinel)
935
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
936
rather than randomly walking the inventories. (John Arbash Meinel)
938
* Doctests are now run in temporary directories which are cleaned up when
939
they finish, rather than using special ScratchDir/ScratchBranch objects.
942
* Split ``check`` into separate methods on the branch and on the repository,
943
so that it can be specialized in ways that are useful or efficient for
944
different formats. (Martin Pool, Robert Collins)
946
* Deprecate Repository.all_revision_ids; most methods don't really need
947
the global revision graph but only that part leading up to a particular
948
revision. (Martin Pool, Robert Collins)
950
* Add a BzrDirFormat control_formats list which allows for control formats
951
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
952
(Robert Collins, Jelmer Vernooij).
954
* bzrlib.diff.external_diff can be redirected to any file-like object.
955
Uses subprocess instead of spawnvp.
956
(#4047, #48914, James Henstridge, John Arbash Meinel)
958
* New command line option '--profile-imports', which will install a custom
959
importer to log time to import modules and regex compilation time to
960
sys.stderr (John Arbash Meinel)
962
* 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
963
instead. (Robert Collins)
965
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
971
* setup.py failed to install launchpad plugin. (Martin Pool)
977
* Fix failure to commit a merge in a checkout. (Martin Pool,
978
Robert Collins, Erik Bågfors, #43959)
980
* Nicer messages from 'commit' in the case of renames, and correct
981
messages when a merge has occured. (Robert Collins, Martin Pool)
983
* Separate functionality from assert statements as they are skipped in
984
optimized mode of python. Add the same check to pending merges.
985
(#44443, Olaf Conradi)
989
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
991
* Add info on standalone branches without a working tree.
992
(#44155, Olaf Conradi)
994
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
998
* Make editor invocation comply with Debian Policy. First check
999
environment variables VISUAL and EDITOR, then try editor from
1000
alternatives system. If that all fails, fall back to the pre-defined
1001
list of editors. (#42904, Olaf Conradi)
1005
* New 'register-branch' command registers a public branch into
1006
Launchpad.net, where it can be associated with bugs, etc.
1007
(Martin Pool, Bjorn Tillenius, Robert Collins)
1011
* New public api in InventoryEntry - 'describe_change(old, new)' which
1012
provides a human description of the changes between two old and
1013
new. (Robert Collins, Martin Pool)
1017
* Fix test case for bzr info in upgrading a standalone branch to metadir,
1018
uses bzrlib api now. (Olaf Conradi)
1022
NOTES WHEN UPGRADING:
1024
Release 0.8 of bzr introduces a new format for history storage, called
1025
'knit', as an evolution of to the 'weave' format used in 0.7. Local
1026
and remote operations are faster using knits than weaves. Several
1027
operations including 'init', 'init-repo', and 'upgrade' take a
1028
--format option that controls this. Branching from an existing branch
1029
will keep the same format.
1031
It is possible to merge, pull and push between branches of different
1032
formats but this is slower than moving data between homogenous
1033
branches. It is therefore recommended (but not required) that you
1034
upgrade all branches for a project at the same time. Information on
1035
formats is shown by 'bzr info'.
1037
bzr 0.8 now allows creation of 'repositories', which hold the history
1038
of files and revisions for several branches. Previously bzr kept all
1039
the history for a branch within the .bzr directory at the root of the
1040
branch, and this is still the default. To create a repository, use
1041
the new 'bzr init-repo' command. Branches exist as directories under
1042
the repository and contain just a small amount of information
1043
indicating the current revision of the branch.
1045
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
1046
subversion. Checkouts are associated with a branch (optionally in a
1047
repository), which contains all the historical information. The
1048
result is that a checkout can be deleted without losing any
1049
already-committed revisions. A new 'update' command is also available.
1051
Repositories and checkouts are not supported with the 0.7 storage
1052
format. To use them you must upgrad to either knits, or to the
1053
'metaweave' format, which uses weaves but changes the .bzr directory
1059
* Sftp paths can now be relative, or local, according to the lftp
1060
convention. Paths now take the form:
1061
sftp://user:pass@host:port/~/relative/path
1063
sftp://user:pass@host:port/absolute/path
1065
* The FTP transport now tries to reconnect after a temporary
1066
failure. ftp put is made atomic. (Matthieu Moy)
1068
* The FTP transport now maintains a pool of connections, and
1069
reuses them to avoid multiple connections to the same host (like
1070
sftp did). (Daniel Silverstone)
1072
* The bzr_man.py file has been removed. To create the man page now,
1073
use ./generate_docs.py man. The new program can also create other files.
1074
Run "python generate_docs.py --help" for usage information. (Hans
1075
Ulrich Niedermann & James Blackwell).
1077
* Man Page now gives full help (James Blackwell). Help also updated to
1078
reflect user config now being stored in .bazaar (Hans Ulrich
1081
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
1083
* Pull now accepts a --revision argument (Erik Bågfors)
1085
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
1086
line. You can now use the following command to sign all of your old commits.
1087
find .bzr/revision-store// -name my@email-* \
1088
| sed 's/.*\/\/..\///' \
1091
* Upgrade can now upgrade over the network. (Robert Collins)
1093
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
1094
behaviour. By default they will cache history in the checkout, but
1095
with --lightweight almost all data is kept in the master branch.
1098
* 'revert' unversions newly-versioned files, instead of deleting them.
1100
* 'merge' is more robust. Conflict messages have changed.
1102
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
1105
* Default log format can be set in configuration and plugins can register
1106
their own formatters. (Erik Bågfors)
1108
* New 'reconcile' command will check branch consistency and repair indexes
1109
that can become out of sync in pre 0.8 formats. (Robert Collins,
1112
* New 'bzr init --format' and 'bzr upgrade --format' option to control
1113
what storage format is created or produced. (Robert Collins,
1116
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
1118
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
1120
* New 'init-repository' command, plus support for repositories in 'init'
1121
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
1123
* Improve output of 'info' command. Show all relevant locations related to
1124
working tree, branch and repository. Use kibibytes for binary quantities.
1125
Fix off-by-one error in missing revisions of working tree. Make 'info'
1126
work on branches, repositories and remote locations. Show locations
1127
relative to the shared repository, if applicable. Show locking status
1128
of locations. (Olaf Conradi)
1130
* Diff and merge now safely handle binary files. (Aaron Bentley)
1132
* 'pull' and 'push' now normalise the revision history, so that any two
1133
branches with the same tip revision will have the same output from 'log'.
1136
* 'merge' accepts --remember option to store parent location, like 'push'
1137
and 'pull'. (Olaf Conradi)
1139
* bzr status and diff when files given as arguments do not exist
1140
in the relevant trees. (Martin Pool, #3619)
1142
* Add '.hg' to the default ignore list. (Martin Pool)
1144
* 'knit' is now the default disk format. This improves disk performance and
1145
utilization, increases incremental pull performance, robustness with SFTP
1146
and allows checkouts over SFTP to perform acceptably.
1147
The initial Knit code was contributed by Johan Rydberg based on a
1148
specification by Martin Pool.
1149
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
1151
* New tool to generate all-in-one html version of the manual. (Alexander
1154
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
1155
to be left in the SFTP repository. (Robert Collins, Martin Pool).
1157
* New option 'diff --prefix' to control how files are named in diff
1158
output, with shortcuts '-p0' and '-p1' corresponding to the options for
1159
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
1161
* Add --revision option to 'annotate' command. (Olaf Conradi)
1163
* If bzr shows an unexpected revision-history after pulling (perhaps due
1164
to a reweave) it can now be corrected by 'bzr reconcile'.
1169
* Commit is now verbose by default, and shows changed filenames and the
1170
new revision number. (Robert Collins, Martin Pool)
1172
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
1174
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
1176
* Make 'pull' and 'push' remember location on failure using --remember.
1179
* For compatibility, make old format for using weaves inside metadir
1180
available as 'metaweave' format. Rename format 'metadir' to 'default'.
1181
Clean up help for option --format in commands 'init', 'init-repo' and
1182
'upgrade'. (Olaf Conradi)
1186
* The internal storage of history, and logical branch identity have now
1187
been split into Branch, and Repository. The common locking and file
1188
management routines are now in bzrlib.lockablefiles.
1189
(Aaron Bentley, Robert Collins, Martin Pool)
1191
* Transports can now raise DependencyNotPresent if they need a library
1192
which is not installed, and then another implementation will be
1193
tried. (Martin Pool)
1195
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
1198
* Using Tree Transform for merge, revert, tree-building
1200
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
1201
Branch.initialize are now deprecated. Please see BzrDir.create_* for
1202
replacement API's. (Robert Collins)
1204
* New BzrDir class represents the .bzr control directory and manages
1205
formatting issues. (Robert Collins)
1207
* New repository.InterRepository class encapsulates Repository to
1208
Repository actions and allows for clean selection of optimised code
1209
paths. (Robert Collins)
1211
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
1212
please use 'branch.fetch' or 'repository.fetch' depending on your
1213
needs. (Robert Collins)
1215
* deprecated methods now have a 'is_deprecated' flag on them that can
1216
be checked, if you need to determine whether a given callable is
1217
deprecated at runtime. (Robert Collins)
1219
* Progress bars are now nested - see
1220
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
1222
* New API call get_format_description() for each type of format.
1225
* Changed branch.set_parent() to accept None to remove parent.
1228
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
1230
* WorkingTree.branch is now a read only property. (Robert Collins)
1232
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
1233
can be None or a factory that will create a progress bar. This is
1234
useful for testing or for overriding the bzrlib.progress heuristic.
1237
* New API method get_physical_lock_status() to query locks present on a
1238
transport. (Olaf Conradi)
1240
* Repository.reconcile now takes a thorough keyword parameter to allow
1241
requesting an indepth reconciliation, rather than just a data-loss
1242
check. (Robert Collins)
1244
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
1245
the user for yes/no style input. (Robert Collins)
1249
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
1250
for testing SFTP protocol support. (Robey Pointer)
1252
* Branch formats are now tested once per implementation (see bzrlib.
1253
tests.branch_implementations. This is analagous to the transport
1254
interface tests, and has been followed up with working tree,
1255
repository and BzrDir tests. (Robert Collins)
1257
* New test base class TestCaseWithTransport provides a transport aware
1258
test environment, useful for testing any transport-interface using
1259
code. The test suite option --transport controls the transport used
1260
by this class (when its not being used as part of implementation
1261
contract testing). (Robert Collins)
1263
* Close logging handler on disabling the test log. This will remove the
1264
handler from the internal list inside python's logging module,
1265
preventing shutdown from closing it twice. (Olaf Conradi)
1267
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
1269
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
1270
will provide String("foo") to the command as its stdin.
1276
* .bzrignore is excluded from exports, on the grounds that it's a bzr
1277
internal-use file and may not be wanted. (Jamie Wilkinson)
1279
* The "bzr directories" command were removed in favor of the new
1280
--kind option to the "bzr inventory" command. To list all
1281
versioned directories, now use "bzr inventory --kind directory".
1284
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
1285
by default. (John Arbash Meinel)
1287
* The parent of Bzr configuration directory can be set by BZR_HOME
1288
environment variable. Now the path for it is searched in BZR_HOME, then
1289
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
1290
points to C:\Documents and Settings\User Name\Application Data), HOME.
1291
(John Arbash Meinel)
1293
* Plugins with the same name in different directories in the bzr plugin
1294
path are no longer loaded: only the first successfully loaded one is
1295
used. (Robert Collins)
1297
* Use systems' external ssh command to open connections if possible.
1298
This gives better integration with user settings such as ProxyCommand.
1301
* Permissions on files underneath .bzr/ are inherited from the .bzr
1302
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
1303
will mean that future file will be created with group write permissions.
1305
* configure.in and config.guess are no longer in the builtin default
1308
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
1309
files. (John Arbash Meinel, Martin Pool)
1313
* "bzr INIT dir" now initializes the specified directory, and creates
1314
it if it does not exist. (John Arbash Meinel)
1316
* New remerge command (Aaron Bentley)
1318
* Better zsh completion script. (Steve Borho)
1320
* 'bzr diff' now returns 1 when there are changes in the working
1321
tree. (Robert Collins)
1323
* 'bzr push' now exists and can push changes to a remote location.
1324
This uses the transport infrastructure, and can store the remote
1325
location in the ~/.bazaar/branches.conf configuration file.
1328
* Test directories are only kept if the test fails and the user requests
1331
* Tweaks to short log printing
1333
* Added branch nicks, new nick command, printing them in log output.
1336
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
1337
occurs. (Martin Pool)
1339
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
1340
the same as Subversion. (Martin Pool)
1342
* New ftp transport support (on ftplib), for ftp:// and aftp://
1343
URLs. (Daniel Silverstone)
1345
* Commit editor temporary files now start with 'bzr_log.', to allow
1346
text editors to match the file name and set up appropriate modes or
1347
settings. (Magnus Therning)
1349
* Improved performance when integrating changes from a remote weave.
1350
(Goffredo Baroncelli)
1352
* Sftp will attempt to cache the connection, so it is more likely that
1353
a connection will be reused, rather than requiring multiple password
1356
* bzr revno now takes an optional argument indicating the branch whose
1357
revno should be printed. (Michael Ellerman)
1359
* bzr cat defaults to printing the last version of the file.
1360
(#3632, Matthieu Moy)
1362
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
1363
profiler. (Denys Duchier)
1365
* Faster commits by reading only the headers of affected weave files.
1368
* 'bzr add' now takes a --dry-run parameter which shows you what would be
1369
added, but doesn't actually add anything. (Michael Ellerman)
1371
* 'bzr add' now lists how many files were ignored per glob. add --verbose
1372
lists the specific files. (Aaron Bentley)
1374
* 'bzr missing' now supports displaying changes in diverged trees and can
1375
be limited to show what either end of the comparison is missing.
1376
(Aaron Bently, with a little prompting from Daniel Silverstone)
1380
* SFTP can walk up to the root path without index errors. (Robert Collins)
1382
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
1384
* Error when run with -OO
1386
* Fix bug in reporting http errors that don't have an http error code.
1389
* Handle more cases of pipe errors in display commands
1391
* Change status to 3 for all errors
1393
* Files that are added and unlinked before committing are completely
1394
ignored by diff and status
1396
* Stores with some compressed texts and some uncompressed texts are now
1397
able to be used. (John A Meinel)
1399
* Fix for bzr pull failing sometimes under windows
1401
* Fix for sftp transport under windows when using interactive auth
1403
* Show files which are both renamed and modified as such in 'bzr
1404
status' output. (#4503, Daniel Silverstone)
1406
* Make annotate cope better with revisions committed without a valid
1407
email address. (Marien Zwart)
1409
* Fix representation of tab characters in commit messages. (Harald
1412
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
1413
now parsed properly under Windows. (Alexander Belchenko)
1415
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
1417
* Keep a cached copy of the basis inventory to speed up operations
1418
that need to refer to it. (Johan Rydberg, Martin Pool)
1420
* Fix bugs in bzr status display of non-ascii characters. (Martin
1423
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
1426
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
1430
* Fix selftest asking for passwords when there are no SFTP keys.
1431
(Robey Pointer, Jelmer Vernooij)
1433
* Fix selftest run with 'python -O'. (Martin Pool)
1435
* Fix HTTP tests under Windows. (John Arbash Meinel)
1437
* Make tests work even if HOME is not set (Aaron Bentley)
1439
* Updated build_tree to use fixed line-endings for tests which read
1440
the file cotents and compare. Make some tests use this to pass under
1441
Windows. (John Arbash Meinel)
1443
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
1445
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
1446
(John Arbash Meinel)
1448
* Use terminal width to align verbose test output. (Martin Pool)
1450
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
1451
If adding a new test script please add that to
1452
bzrlib.tests.blackbox.__init__. (Robert Collins)
1454
* Much better error message if one of the test suites can't be
1455
imported. (Martin Pool)
1457
* Make check now runs the test suite twice - once with the default locale,
1458
and once with all locales forced to C, to expose bugs. This is not
1459
trivially done within python, so for now its only triggered by running
1460
Make check. Integrators and packagers who wish to check for full
1461
platform support should run 'make check' to test the source.
1464
* Tests can now run TestSkipped if they can't execute for any reason.
1465
(Martin Pool) (NB: TestSkipped should only be raised for correctable
1466
reasons - see the wiki spec ImprovingBzrTestSuite).
1468
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
1469
paths for the transport tests. Introduce blackbox remote sftp tests that
1470
test the same permutations. (Robert Collins, Robey Pointer)
1472
* Transport implementation tests are now independent of the local file
1473
system, which allows tests for esoteric transports, and for features
1474
not available in the local file system. They also repeat for variations
1475
on the URL scheme that can introduce issues in the transport code,
1476
see bzrlib.transport.TransportTestProviderAdapter() for this.
1479
* TestCase.build_tree uses the transport interface to build trees, pass
1480
in a transport parameter to give it an existing connection.
1485
* WorkingTree.pull has been split across Branch and WorkingTree,
1486
to allow Branch only pulls. (Robert Collins)
1488
* commands.display_command now returns the result of the decorated
1489
function. (Robert Collins)
1491
* LocationConfig now has a set_user_option(key, value) call to save
1492
a setting in its matching location section (a new one is created
1493
if needed). (Robert Collins)
1495
* Branch has two new methods, get_push_location and set_push_location
1496
to respectively, get and set the push location. (Robert Collins)
1498
* commands.register_command now takes an optional flag to signal that
1499
the registrant is planning to decorate an existing command. When
1500
given multiple plugins registering a command is not an error, and
1501
the original command class (whether built in or a plugin based one) is
1502
returned to the caller. There is a new error 'MustUseDecorated' for
1503
signalling when a wrapping command should switch to the original
1504
version. (Robert Collins)
1506
* Some option parsing errors will raise 'BzrOptionError', allowing
1507
granular detection for decorating commands. (Robert Collins).
1509
* Branch.read_working_inventory has moved to
1510
WorkingTree.read_working_inventory. This necessitated changes to
1511
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
1512
as well. To make it clear that a WorkingTree cannot always be obtained
1513
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
1514
be obtained. (Robert Collins)
1516
* All pending merges operations from Branch are now on WorkingTree.
1519
* The follow operations from Branch have moved to WorkingTree:
1527
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
1529
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
1531
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
1534
* bzrlib.plugin.all_plugins has been changed from an attribute to a
1535
query method. (Robert Collins)
1537
* New options to read only the table-of-contents of a weave.
1540
* Raise NoSuchFile when someone tries to add a non-existant file.
1543
* Simplify handling of DivergedBranches in cmd_pull().
1547
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
1548
is exposed as Branch().control_files. Also this has been altered with the
1549
controlfile pre/suffix replaced by simple method names like 'get' and
1550
'put'. (Aaron Bentley, Robert Collins).
1552
* Deprecated functions and methods can now be marked as such using the
1553
bzrlib.symbol_versioning module. Marked method have their docstring
1554
updated and will issue a DeprecationWarning using the warnings module
1555
when they are used. (Robert Collins)
1557
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
1558
for functions that need unicode strings. (Robert Collins)
1564
* pull now takes --verbose to show you what revisions are added or removed
1567
* merge now takes a --show-base option to include the base text in
1571
* The config files are now read using ConfigObj, so '=' should be used as
1572
a separator, not ':'.
1575
* New 'bzr commit --strict' option refuses to commit if there are
1576
any unknown files in the tree. To commit, make sure all files are
1577
either ignored, added, or deleted. (Michael Ellerman)
1579
* The config directory is now ~/.bazaar, and there is a single file
1580
~/.bazaar/bazaar.conf storing email, editor and other preferences.
1583
* 'bzr add' no longer takes a --verbose option, and a --quiet option
1584
has been added that suppresses all output.
1586
* Improved zsh completion support in contrib/zsh, from Clint
1589
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
1590
Goffredo Baroncelli.
1592
* 'bzr check' now accepts -v for verbose reporting, and checks for
1593
ghosts in the branch. (Robert Collins)
1595
* New command 're-sign' which will regenerate the gpg signature for
1596
a revision. (Robert Collins)
1598
* If you set check_signatures=require for a path in
1599
~/.bazaar/branches.conf then bzr will invoke your
1600
gpg_signing_command (defaults to gpg) and record a digital signature
1601
of your commit. (Robert Collins)
1603
* New sftp transport, based on Paramiko. (Robey Pointer)
1605
* 'bzr pull' now accepts '--clobber' which will discard local changes
1606
and make this branch identical to the source branch. (Robert Collins)
1608
* Just give a quieter warning if a plugin can't be loaded, and
1609
put the details in .bzr.log. (Martin Pool)
1611
* 'bzr branch' will now set the branch-name to the last component of the
1612
output directory, if one was supplied.
1614
* If the option 'post_commit' is set to one (or more) python function
1615
names (must be in the bzrlib namespace), then they will be invoked
1616
after the commit has completed, with the branch and revision_id as
1617
parameters. (Robert Collins)
1619
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
1621
* --merge-type weave is now supported for file contents. Tree-shape
1622
changes are still three-way based. (Martin Pool, Aaron Bentley)
1624
* 'bzr check' allows the first revision on revision-history to have
1625
parents - something that is expected for cheap checkouts, and occurs
1626
when conversions from baz do not have all history. (Robert Collins).
1628
* 'bzr merge' can now graft unrelated trees together, if your specify
1629
0 as a base. (Aaron Bentley)
1631
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
1634
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
1636
* 'bzr merge --reprocess' minimizes conflicts
1640
* The 'bzr selftest --pattern' option for has been removed, now
1641
test specifiers on the command line can be simple strings, or
1642
regexps, or both. (Robert Collins)
1644
* Passing -v to selftest will now show the time each test took to
1645
complete, which will aid in analysing performance regressions and
1646
related questions. (Robert Collins)
1648
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
1649
is given. (Martin Pool)
1651
* There is a new method for TestCaseInTempDir, assertFileEqual, which
1652
will check that a given content is equal to the content of the named
1653
file. (Robert Collins)
1655
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
1660
* New 'testament' command and concept for making gpg-signatures
1661
of revisions that are not tied to a particular internal
1662
representation. (Martin Pool).
1664
* Per-revision properties ('revprops') as key-value associated
1665
strings on each revision created when the revision is committed.
1666
Intended mainly for the use of external tools. (Martin Pool).
1668
* Config options have moved from bzrlib.osutils to bzrlib.config.
1671
* Improved command line option definitions allowing explanations
1672
for individual options, among other things. Contributed by
1675
* Config options have moved from bzrlib.osutils to bzrlib.config.
1676
Configuration is now done via the config.Config interface:
1677
Depending on whether you have a Branch, a Location or no information
1678
available, construct a ``*Config``, and use its ``signature_checking``,
1679
``username`` and ``user_email`` methods. (Robert Collins)
1681
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
1682
they are made available for other plugins to use. You should not
1683
import other plugins during the __init__ of your plugin though, as
1684
no ordering is guaranteed, and the plugins directory is not on the
1685
python path. (Robert Collins)
1687
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
1688
no longer takes an inventory, rather it takes an option branch
1689
parameter, and if None is given will open the branch at basedir
1690
implicitly. (Robert Collins)
1692
* Cleaner exception structure and error reporting. Suggested by
1693
Scott James Remnant. (Martin Pool)
1695
* Branch.remove has been moved to WorkingTree, which has also gained
1696
lock_read, lock_write and unlock methods for convenience. (Robert
1699
* Two decorators, needs_read_lock and needs_write_lock have been added
1700
to the branch module. Use these to cause a function to run in a
1701
read or write lock respectively. (Robert Collins)
1703
* Branch.open_containing now returns a tuple (Branch, relative-path),
1704
which allows direct access to the common case of 'get me this file
1705
from its branch'. (Robert Collins)
1707
* Transports can register using register_lazy_transport, and they
1708
will be loaded when first used. (Martin Pool)
1710
* 'pull' has been factored out of the command as WorkingTree.pull().
1711
A new option to WorkingTree.pull has been added, clobber, which will
1712
ignore diverged history and pull anyway.
1715
* config.Config has a 'get_user_option' call that accepts an option name.
1716
This will be looked up in branches.conf and bazaar.conf as normal.
1717
It is intended that this be used by plugins to support options -
1718
options of built in programs should have specific methods on the config.
1721
* merge.merge_inner now has tempdir as an optional parameter. (Robert
1724
* Tree.kind is not recorded at the top level of the hierarchy, as it was
1725
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
1728
* WorkingTree.__del__ has been removed, it was non deterministic and not
1729
doing what it was intended to. See WorkingTree.__init__ for a comment
1730
about future directions. (Robert Collins/Martin Pool)
1732
* bzrlib.transport.http has been modified so that only 404 urllib errors
1733
are returned as NoSuchFile. Other exceptions will propogate as normal.
1734
This allows debuging of actual errors. (Robert Collins)
1736
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
1737
to apis like 'put', 'get' and 'has'. This is to provide consistent
1738
behaviour - it operates on url's only. (Robert Collins)
1740
* Transports can register using register_lazy_transport, and they
1741
will be loaded when first used. (Martin Pool)
1743
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
1744
is called by merge_inner. This is so that the conflict count can be
1745
retrieved (and potentially manipulated) before returning to the caller
1746
of merge_inner. Likewise 'merge' now returns the conflict count to the
1747
caller. (Robert Collins)
1749
* 'revision.revision_graph can handle having only partial history for
1750
a revision - that is no revisions in the graph with no parents.
1753
* New builtins.branch_files uses the standard file_list rules to produce
1754
a branch and a list of paths, relative to that branch (Aaron Bentley)
1756
* New TestCase.addCleanup facility.
1758
* New bzrlib.version_info tuple (similar to sys.version_info), which can
1759
be used by programs importing bzrlib.
1763
* Better handling of branches in directories with non-ascii names.
1764
(Joel Rosdahl, Panagiotis Papadakos)
1766
* Upgrades of trees with no commits will not fail due to accessing
1767
[-1] in the revision-history. (Andres Salomon)
1770
bzr 0.1.1 2005-10-12
1774
* Fix problem in pulling over http from machines that do not
1775
allow directories to be listed.
1777
* Avoid harmless warning about invalid hash cache after
1778
upgrading branch format.
1782
* Avoid some unnecessary http operations in branch and pull.
1789
* 'bzr branch' over http initially gives a very high estimate
1790
of completion time but it should fall as the first few
1791
revisions are pulled in. branch is still slow on
1792
high-latency connections.
1796
* bzr-man.py has been updated to work again. Contributed by
1799
* Locking is now done with fcntl.lockf which works with NFS
1800
file systems. Contributed by Harald Meland.
1802
* When a merge encounters a file that has been deleted on
1803
one side and modified on the other, the old contents are
1804
written out to foo.BASE and foo.SIDE, where SIDE is this
1805
or OTHER. Contributed by Aaron Bentley.
1807
* Export was choosing incorrect file paths for the content of
1808
the tarball, this has been fixed by Aaron Bentley.
1810
* Commit will no longer commit without a log message, an
1811
error is returned instead. Contributed by Jelmer Vernooij.
1813
* If you commit a specific file in a sub directory, any of its
1814
parent directories that are added but not listed will be
1815
automatically included. Suggested by Michael Ellerman.
1817
* bzr commit and upgrade did not correctly record new revisions
1818
for files with only a change to their executable status.
1819
bzr will correct this when it encounters it. Fixed by
1822
* HTTP tests now force off the use of http_proxy for the duration.
1823
Contributed by Gustavo Niemeyer.
1825
* Fix problems in merging weave-based branches that have
1826
different partial views of history.
1828
* Symlink support: working with symlinks when not in the root of a
1829
bzr tree was broken, patch from Scott James Remnant.
1833
* 'branch' now accepts a --basis parameter which will take advantage
1834
of local history when making a new branch. This allows faster
1835
branching of remote branches. Contributed by Aaron Bentley.
1837
* New tree format based on weave files, called version 5.
1838
Existing branches can be upgraded to this format using
1841
* Symlinks are now versionable. Initial patch by
1842
Erik Toubro Nielsen, updated to head by Robert Collins.
1844
* Executable bits are tracked on files. Patch from Gustavo
1847
* 'bzr status' now shows unknown files inside a selected directory.
1848
Patch from Heikki Paajanen.
1850
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
1851
and 'resolve' have needed added, which list and remove those
1852
merge conflicts respectively. A conflicted tree cannot be committed
1853
in. Contributed by Aaron Bentley.
1855
* 'rm' is now an alias for 'remove'.
1857
* Stores now split out their content in a single byte prefixed hash,
1858
dropping the density of files per directory by 256. Contributed by
1861
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
1862
Contributed by Robert Collins.
1864
* 'bzr log' with the default formatter will show merged revisions,
1865
indented to the right. Initial implementation contributed by Gustavo
1866
Niemeyer, made incremental by Robert Collins.
1871
* Test case failures have the exception printed after the log
1872
for your viewing pleasure.
1874
* InventoryEntry is now an abstract base class, use one of the
1875
concrete InventoryDirectory etc classes instead.
1877
* Branch raises an UnsupportedFormatError when it detects a
1878
bzr branch it cannot understand. This allows for precise
1879
handling of such circumstances.
1884
* Removed testsweet module so that tests can be run after
1885
bzr installed by 'bzr selftest'.
1887
* 'bzr selftest' command-line arguments can now be partial ids
1888
of tests to run, e.g. 'bzr selftest test_weave'
1891
bzr 0.0.9 2005-09-23
1895
* Fixed "branch -r" option.
1897
* Fix remote access to branches containing non-compressed history.
1900
* Better reliability of http server tests. (John Arbash-Meinel)
1902
* Merge graph maximum distance calculation fix. (Aaron Bentley)
1904
* Various minor bug in windows support have been fixed, largely in the
1905
test suite. Contributed by Alexander Belchenko.
1909
* Status now accepts a -r argument to give status between chosen
1910
revisions. Contributed by Heikki Paajanen.
1912
* Revision arguments no longer use +/-/= to control ranges, instead
1913
there is a 'before' namespace, which limits the successive namespace.
1914
For example '$ bzr log -r date:yesterday..before:date:today' will
1915
select everything from yesterday and before today. Contributed by
1918
* There is now a bzr.bat file created by distutils when building on
1919
Windows. Contributed by Alexander Belchenko.
1923
* Removed uuid() as it was unused.
1925
* Improved 'fetch' code for pulling revisions from one branch into
1926
another (used by pull, merged, etc.)
1929
bzr 0.0.8 2005-09-20
1933
* Adding a file whose parent directory is not versioned will
1934
implicitly add the parent, and so on up to the root. This means
1935
you should never need to explictly add a directory, they'll just
1936
get added when you add a file in the directory. Contributed by
1939
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
1942
* If you set BZR_EDITOR in the environment, it is checked in
1943
preference to EDITOR and the config file for the interactive commit
1944
editing program. Related to this is a bugfix where a missing program
1945
set in EDITOR would cause editing to fail, now the fallback program
1946
for the operating system is still tried.
1948
* Files that are not directories/symlinks/regular files will no longer
1949
cause bzr to fail, it will just ignore them by default. You cannot add
1950
them to the tree though - they are not versionable.
5
1955
* Refactor xml packing/unpacking.
1959
* Fixed 'bzr mv' by Ollie Rutherfurd.
1961
* Fixed strange error when trying to access a nonexistent http
1964
* Make sure that the hashcache gets written out if it can't be
1970
* Various Windows fixes from Ollie Rutherfurd.
1972
* Quieten warnings about locking; patch from Matt Lavin.
8
1975
bzr-0.0.7 2005-09-02