2938
3146
substantially faster. Several bugs have been fixed and several new options and
2939
3147
features have been added.
2943
* Avoid spurious failure of ``TestVersion.test_version`` matching
2945
(#202778, Martin Pool)
3152
* Avoid spurious failure of ``TestVersion.test_version`` matching
3154
(#202778, Martin Pool)
2948
3157
bzr 1.3rc1 2008-03-16
2949
---------------------
2951
NOTES WHEN UPGRADING:
2953
* The backup directory created by ``upgrade`` is now called
2954
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
2958
* A new repository format 'development' has been added. This format will
2959
represent the latest 'in-progress' format that the bzr developers are
2960
interested in getting early-adopter testing and feedback on.
2961
``doc/developers/development-repo.txt`` has detailed information.
2964
* BZR_LOG environment variable controls location of .bzr.log trace file.
2965
User can suppress writing messages to .bzr.log by using '/dev/null'
2966
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
2967
is not defined but BZR_HOME is defined then default location
2968
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
2969
(Alexander Belchenko, #106117)
2971
* ``launchpad`` builtin plugin now shipped as separate part in standalone
2972
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
2973
and standalone installer allows user to skip installation of this plugin.
2974
(Alexander Belchenko)
2976
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
2978
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
2979
missing final fields. (Martin Pool)
2983
* ``branch`` and ``checkout`` can hard-link working tree files, which is
2984
faster and saves space. (Aaron Bentley)
2986
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
2987
the submit branch to determine the email address to send to.
2992
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
2994
* Branch6.generate_revision_history is faster. (Aaron Bentley)
2996
* Directory services can now be registered, allowing special URLs to be
2997
dereferenced into real URLs. This is a generalization and cleanup of
2998
the lp: transport lookup. (Aaron Bentley)
3000
* Merge directives that are automatically attached to emails have nicer
3001
filenames, based on branch-nick + revno. (Aaron Bentley)
3003
* ``push`` has a ``--revision`` option, to specify what revision to push up
3004
to. (Daniel Watkins)
3006
* Significantly reducing execution time and network traffic for trivial
3007
case of running ``bzr missing`` command for two identical branches.
3008
(Alexander Belchenko)
3010
* Speed up operations that look at the revision graph (such as 'bzr log').
3011
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
3012
extract the revision history. This allows filtering ghosts while
3013
stepping instead of needing to peek ahead. (John Arbash Meinel)
3015
* The ``hooks`` command lists installed hooks, to assist in debugging.
3018
* Updates to how ``annotate`` work. Should see a measurable improvement in
3019
performance and memory consumption for file with a lot of merges.
3020
Also, correctly handle when a line is introduced by both parents (it
3021
should be attributed to the first merge which notices this, and not
3022
to all subsequent merges.) (John Arbash Meinel)
3026
* Autopacking no longer holds the full set of inventory lines in
3027
memory while copying. For large repositories, this can amount to
3028
hundreds of MB of ram consumption.
3029
(Ian Clatworthy, John Arbash Meinel)
3031
* Cherrypicking when using ``--format=merge3`` now explictly excludes
3032
BASE lines. (John Arbash Meinel, #151731)
3034
* Disable plink's interactive prompt for password.
3035
(#107593, Dmitry Vasiliev)
3037
* Encode command line arguments from unicode to user_encoding before
3038
invoking external mail client in `bzr send` command.
3039
(#139318, Alexander Belchenko)
3041
* Fixed problem connecting to ``bzr+https://`` servers.
3042
(#198793, John Ferlito)
3044
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
3047
* Include quick-start-summary.svg file to python-based installer(s)
3048
for Windows. (#192924, Alexander Belchenko)
3050
* lca merge now respects specified files. (Aaron Bentley)
3052
* Make version-info --custom imply --all. (#195560, James Westby)
3054
* ``merge --preview`` now works for merges that add or modify
3055
symlinks (James Henstridge)
3057
* Redirecting the output from ``bzr merge`` (when the remembered
3058
location is used) now works. (John Arbash Meinel)
3060
* setup.py script explicitly checks for Python version.
3061
(Jari Aalto, Alexander Belchenko, #200569)
3063
* UnknownFormatErrors no longer refer to branches regardless of kind of
3064
unknown format. (Daniel Watkins, #173980)
3066
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
3067
signs, among other small improvements. (Matt Nordhoff, #86838)
3069
* Use correct indices when emitting LCA conflicts. This fixes IndexError
3070
errors. (Aaron Bentley, #196780)
3074
* Explained how to use ``version-info --custom`` in the User Guide.
3075
(Neil Martinsen-Burrell)
3079
* Support for loading plugins from zip files and
3080
``bzrlib.plugin.load_from_zip()`` function are deprecated.
3081
(Alexander Belchenko)
3085
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
3087
* The branch interface tests were invalid for branches using rich-root
3088
repositories because the empty string is not a valid file-id.
3093
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
3094
``Repository.get_revision_graph()`` except it includes ghosts and you can
3095
stop part-way through. (John Arbash Meinel)
3097
* New module ``tools/package_mf.py`` provide custom module finder for
3098
python packages (improves standard python library's modulefinder.py)
3099
used by ``setup.py`` script while building standalone bzr.exe.
3100
(Alexander Belchenko)
3102
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
3103
detecting external lookup support on remote repositories. This method is
3104
now attempted first when lookup up repositories, leading to an extra
3105
round trip on older bzr smart servers. (Robert Collins)
3107
* Repository formats have a new supported-feature attribute
3108
``supports_external_lookups`` used to indicate repositories which support
3109
falling back to other repositories when they have partial data.
3112
* ``Repository.get_revision_graph_with_ghosts`` and
3113
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
3114
have been deprecated. (John Arbash Meinel)
3116
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
3117
``Tree._iter_changes``. The api is now considered stable and ready for
3118
external users. (Aaron Bentley)
3120
* The bzrdir format registry now accepts an ``alias`` keyword to
3121
register_metadir, used to indicate that a format name is an alias for
3122
some other format and thus should not be reported when describing the
3123
format. (Robert Collins)
3158
#####################
3160
Notes When Upgrading
3161
********************
3163
* The backup directory created by ``upgrade`` is now called
3164
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
3169
* A new repository format 'development' has been added. This format will
3170
represent the latest 'in-progress' format that the bzr developers are
3171
interested in getting early-adopter testing and feedback on.
3172
``doc/developers/development-repo.txt`` has detailed information.
3175
* BZR_LOG environment variable controls location of .bzr.log trace file.
3176
User can suppress writing messages to .bzr.log by using '/dev/null'
3177
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
3178
is not defined but BZR_HOME is defined then default location
3179
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
3180
(Alexander Belchenko, #106117)
3182
* ``launchpad`` builtin plugin now shipped as separate part in standalone
3183
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
3184
and standalone installer allows user to skip installation of this plugin.
3185
(Alexander Belchenko)
3187
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
3189
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
3190
missing final fields. (Martin Pool)
3195
* ``branch`` and ``checkout`` can hard-link working tree files, which is
3196
faster and saves space. (Aaron Bentley)
3198
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
3199
the submit branch to determine the email address to send to.
3205
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
3207
* Branch6.generate_revision_history is faster. (Aaron Bentley)
3209
* Directory services can now be registered, allowing special URLs to be
3210
dereferenced into real URLs. This is a generalization and cleanup of
3211
the lp: transport lookup. (Aaron Bentley)
3213
* Merge directives that are automatically attached to emails have nicer
3214
filenames, based on branch-nick + revno. (Aaron Bentley)
3216
* ``push`` has a ``--revision`` option, to specify what revision to push up
3217
to. (Daniel Watkins)
3219
* Significantly reducing execution time and network traffic for trivial
3220
case of running ``bzr missing`` command for two identical branches.
3221
(Alexander Belchenko)
3223
* Speed up operations that look at the revision graph (such as 'bzr log').
3224
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
3225
extract the revision history. This allows filtering ghosts while
3226
stepping instead of needing to peek ahead. (John Arbash Meinel)
3228
* The ``hooks`` command lists installed hooks, to assist in debugging.
3231
* Updates to how ``annotate`` work. Should see a measurable improvement in
3232
performance and memory consumption for file with a lot of merges.
3233
Also, correctly handle when a line is introduced by both parents (it
3234
should be attributed to the first merge which notices this, and not
3235
to all subsequent merges.) (John Arbash Meinel)
3240
* Autopacking no longer holds the full set of inventory lines in
3241
memory while copying. For large repositories, this can amount to
3242
hundreds of MB of ram consumption.
3243
(Ian Clatworthy, John Arbash Meinel)
3245
* Cherrypicking when using ``--format=merge3`` now explictly excludes
3246
BASE lines. (John Arbash Meinel, #151731)
3248
* Disable plink's interactive prompt for password.
3249
(#107593, Dmitry Vasiliev)
3251
* Encode command line arguments from unicode to user_encoding before
3252
invoking external mail client in `bzr send` command.
3253
(#139318, Alexander Belchenko)
3255
* Fixed problem connecting to ``bzr+https://`` servers.
3256
(#198793, John Ferlito)
3258
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
3261
* Include quick-start-summary.svg file to python-based installer(s)
3262
for Windows. (#192924, Alexander Belchenko)
3264
* lca merge now respects specified files. (Aaron Bentley)
3266
* Make version-info --custom imply --all. (#195560, James Westby)
3268
* ``merge --preview`` now works for merges that add or modify
3269
symlinks (James Henstridge)
3271
* Redirecting the output from ``bzr merge`` (when the remembered
3272
location is used) now works. (John Arbash Meinel)
3274
* setup.py script explicitly checks for Python version.
3275
(Jari Aalto, Alexander Belchenko, #200569)
3277
* UnknownFormatErrors no longer refer to branches regardless of kind of
3278
unknown format. (Daniel Watkins, #173980)
3280
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
3281
signs, among other small improvements. (Matt Nordhoff, #86838)
3283
* Use correct indices when emitting LCA conflicts. This fixes IndexError
3284
errors. (Aaron Bentley, #196780)
3289
* Explained how to use ``version-info --custom`` in the User Guide.
3290
(Neil Martinsen-Burrell)
3295
* Support for loading plugins from zip files and
3296
``bzrlib.plugin.load_from_zip()`` function are deprecated.
3297
(Alexander Belchenko)
3302
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
3304
* The branch interface tests were invalid for branches using rich-root
3305
repositories because the empty string is not a valid file-id.
3311
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
3312
``Repository.get_revision_graph()`` except it includes ghosts and you can
3313
stop part-way through. (John Arbash Meinel)
3315
* New module ``tools/package_mf.py`` provide custom module finder for
3316
python packages (improves standard python library's modulefinder.py)
3317
used by ``setup.py`` script while building standalone bzr.exe.
3318
(Alexander Belchenko)
3320
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
3321
detecting external lookup support on remote repositories. This method is
3322
now attempted first when lookup up repositories, leading to an extra
3323
round trip on older bzr smart servers. (Robert Collins)
3325
* Repository formats have a new supported-feature attribute
3326
``supports_external_lookups`` used to indicate repositories which support
3327
falling back to other repositories when they have partial data.
3330
* ``Repository.get_revision_graph_with_ghosts`` and
3331
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
3332
have been deprecated. (John Arbash Meinel)
3334
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
3335
``Tree._iter_changes``. The api is now considered stable and ready for
3336
external users. (Aaron Bentley)
3338
* The bzrdir format registry now accepts an ``alias`` keyword to
3339
register_metadir, used to indicate that a format name is an alias for
3340
some other format and thus should not be reported when describing the
3341
format. (Robert Collins)
3126
3344
bzr 1.2 2008-02-15
3131
* Fix failing test in Launchpad plugin. (Martin Pool)
3350
* Fix failing test in Launchpad plugin. (Martin Pool)
3134
3353
bzr 1.2rc1 2008-02-13
3135
---------------------
3137
NOTES WHEN UPGRADING:
3139
* Fetching via the smart protocol may need to reconnect once during a fetch
3140
if the remote server is running Bazaar 1.1 or earlier, because the client
3141
attempts to use more efficient requests that confuse older servers. You
3142
may be required to re-enter a password or passphrase when this happens.
3143
This won't happen if the server is upgraded to Bazaar 1.2.
3148
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
3149
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
3151
* Formatting of ``bzr plugins`` output is changed to be more human-
3152
friendly. Full path of plugins locations will be shown only with
3153
``--verbose`` command-line option. (Alexander Belchenko)
3155
* ``merge`` now prefers to use the submit branch, but will fall back to
3156
parent branch. For many users, this has no effect. But some users who
3157
pull and merge on the same branch will notice a change. This change
3158
makes it easier to work on a branch on two different machines, pulling
3159
between the machines, while merging from the upstream.
3160
``merge --remember`` can now be used to set the submit_branch.
3165
* ``merge --preview`` produces a diff of the changes merge would make,
3166
but does not actually perform the merge. (Aaron Bentley)
3168
* New smart method ``Repository.get_parent_map`` for getting revision
3169
parent data. This returns additional parent information topologically
3170
adjacent to the requested data to reduce round trip latency impacts.
3173
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
3174
revision data that streams revision data via a chunked encoding. This
3175
avoids buffering large amounts of revision data on the server and on the
3176
client, and sends less data to the server to request the revisions.
3177
(Andrew Bennetts, Robert Collins, #178353)
3179
* The launchpad plugin now handles lp urls of the form
3180
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
3181
launchpad instance to do the resolution of the branch identities.
3182
This is primarily of use to Launchpad developers, but can also
3183
be used by other users who want to try out Launchpad as
3184
a branch location without messing up their public Launchpad
3185
account. Branches that are pushed to the staging environment
3186
have an expected lifetime of one day. (Tim Penhey)
3190
* Creating a new branch no longer tries to read the entire revision-history
3191
unnecessarily over smart server operations. (Robert Collins)
3193
* Fetching between different repository formats with compatible models now
3194
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
3196
* The ``--coverage`` option is now global, rather specific to ``bzr
3197
selftest``. (Andrew Bennetts)
3199
* The ``register-branch`` command will now use the public url of the branch
3200
containing the current directory, if one has been set and no explicit
3201
branch is provided. (Robert Collins)
3203
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
3204
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
3205
(John Arbash Meinel)
3209
* Calculate remote path relative to the shared medium in _SmartClient. This
3210
is related to the problem in bug #124089. (Andrew Bennetts)
3212
* Cleanly handle connection errors in smart protocol version two, the same
3213
way as they are handled by version one. (Andrew Bennetts)
3215
* Clearer error when ``version-info --custom`` is used without
3216
``--template`` (Lukáš Lalinský)
3218
* Don't raise UnavailableFeature during test setup when medusa is not
3219
available or tearDown is never called leading to nasty side effects.
3220
(#137823, Vincent Ladeuil)
3222
* If a plugin's test suite cannot be loaded, for example because of a syntax
3223
error in the tests, then ``selftest`` fails, rather than just printing
3224
a warning. (Martin Pool, #189771)
3226
* List possible values for BZR_SSH environment variable in env-variables
3227
help topic. (Alexander Belchenko, #181842)
3229
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
3230
popping the log redirection now precisely restores the previous state,
3231
which makes it easier to use bzr log output from other programs.
3232
TestCaseInTempDir no longer depends on a log redirection being established
3233
by the test framework, which lets bzr tests cleanly run from a normal
3235
(#124153, #124849, Martin Pool, Jonathan Lange)
3237
* ``pull --quiet`` is now more quiet, in particular a message is no longer
3238
printed when the remembered pull location is used. (James Westby,
3241
* ``reconfigure`` can safely be interrupted while fetching.
3242
(Aaron Bentley, #179316)
3244
* ``reconfigure`` preserves tags when converting to and from lightweight
3245
checkouts. (Aaron Bentley, #182040)
3247
* Stop polluting /tmp when running selftest.
3248
(Vincent Ladeuil, #123623)
3250
* Switch from NFKC => NFC for normalization checks. NFC allows a few
3251
more characters which should be considered valid.
3252
(John Arbash Meinel, #185458)
3254
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
3255
interacting badly with a bug on the launchpad side. (Robert Collins)
3257
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
3258
tracebacks. (Andrew Bennetts, #182849)
3262
* Classes implementing Merge types like Merge3Merger must now accept (and
3263
honour) a do_merge flag in their constructor. (Aaron Bentley)
3265
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
3266
to previously take a write lock (and start a write group.)
3271
* selftest now accepts --load-list <file> to load a test id list. This
3272
speeds up running the test suite on a limited set of tests.
3277
* Add a new method ``get_result`` to graph search objects. The resulting
3278
``SearchResult`` can be used to recreate the search later, which will
3279
be useful in reducing network traffic. (Robert Collins)
3281
* Use convenience function to check whether two repository handles
3282
are referring to the same repository in ``Repository.get_graph``.
3283
(Jelmer Vernooij, #187162)
3285
* Fetching now passes the find_ghosts flag through to the
3286
``InterRepository.missing_revision_ids`` call consistently for all
3287
repository types. This will enable faster missing revision discovery with
3288
bzr+ssh. (Robert Collins)
3290
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
3292
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
3293
``InterRepository.search_missing_revision_ids`` which returns a
3294
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
3295
server. (Robert Collins)
3297
* New error ``NoPublicBranch`` for commands that need a public branch to
3298
operate. (Robert Collins)
3300
* New method ``iter_inventories`` on Repository for access to many
3301
inventories. This is primarily used by the ``revision_trees`` method, as
3302
direct access to inventories is discouraged. (Robert Collins)
3304
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
3305
which will split out ghosts and present parents into two separate sets,
3306
useful for code which needs to be aware of ghosts (e.g. fetching data
3307
cares about ghosts during revision selection). (Robert Collins)
3309
* Record a timestamp against each mutter to the trace file, relative to the
3310
first import of bzrlib. (Andrew Bennetts)
3312
* ``Repository.get_data_stream`` is now deprecated in favour of
3313
``Repository.get_data_stream_for_search`` which allows less network
3314
traffic when requesting data streams over a smart server. (Robert Collins)
3316
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
3317
removing one round trip on many network operations. (Robert Collins)
3319
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
3320
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
3322
* Repository has a new method ``has_revisions`` which signals the presence
3323
of many revisions by returning a set of the revisions listed which are
3324
present. This can be done by index queries without reading data for parent
3325
revision names etc. (Robert Collins)
3354
#####################
3356
Notes When Upgrading
3357
********************
3359
* Fetching via the smart protocol may need to reconnect once during a fetch
3360
if the remote server is running Bazaar 1.1 or earlier, because the client
3361
attempts to use more efficient requests that confuse older servers. You
3362
may be required to re-enter a password or passphrase when this happens.
3363
This won't happen if the server is upgraded to Bazaar 1.2.
3369
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
3370
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
3372
* Formatting of ``bzr plugins`` output is changed to be more human-
3373
friendly. Full path of plugins locations will be shown only with
3374
``--verbose`` command-line option. (Alexander Belchenko)
3376
* ``merge`` now prefers to use the submit branch, but will fall back to
3377
parent branch. For many users, this has no effect. But some users who
3378
pull and merge on the same branch will notice a change. This change
3379
makes it easier to work on a branch on two different machines, pulling
3380
between the machines, while merging from the upstream.
3381
``merge --remember`` can now be used to set the submit_branch.
3387
* ``merge --preview`` produces a diff of the changes merge would make,
3388
but does not actually perform the merge. (Aaron Bentley)
3390
* New smart method ``Repository.get_parent_map`` for getting revision
3391
parent data. This returns additional parent information topologically
3392
adjacent to the requested data to reduce round trip latency impacts.
3395
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
3396
revision data that streams revision data via a chunked encoding. This
3397
avoids buffering large amounts of revision data on the server and on the
3398
client, and sends less data to the server to request the revisions.
3399
(Andrew Bennetts, Robert Collins, #178353)
3401
* The launchpad plugin now handles lp urls of the form
3402
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
3403
launchpad instance to do the resolution of the branch identities.
3404
This is primarily of use to Launchpad developers, but can also
3405
be used by other users who want to try out Launchpad as
3406
a branch location without messing up their public Launchpad
3407
account. Branches that are pushed to the staging environment
3408
have an expected lifetime of one day. (Tim Penhey)
3413
* Creating a new branch no longer tries to read the entire revision-history
3414
unnecessarily over smart server operations. (Robert Collins)
3416
* Fetching between different repository formats with compatible models now
3417
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
3419
* The ``--coverage`` option is now global, rather specific to ``bzr
3420
selftest``. (Andrew Bennetts)
3422
* The ``register-branch`` command will now use the public url of the branch
3423
containing the current directory, if one has been set and no explicit
3424
branch is provided. (Robert Collins)
3426
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
3427
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
3428
(John Arbash Meinel)
3433
* Calculate remote path relative to the shared medium in _SmartClient. This
3434
is related to the problem in bug #124089. (Andrew Bennetts)
3436
* Cleanly handle connection errors in smart protocol version two, the same
3437
way as they are handled by version one. (Andrew Bennetts)
3439
* Clearer error when ``version-info --custom`` is used without
3440
``--template`` (Lukáš Lalinský)
3442
* Don't raise UnavailableFeature during test setup when medusa is not
3443
available or tearDown is never called leading to nasty side effects.
3444
(#137823, Vincent Ladeuil)
3446
* If a plugin's test suite cannot be loaded, for example because of a syntax
3447
error in the tests, then ``selftest`` fails, rather than just printing
3448
a warning. (Martin Pool, #189771)
3450
* List possible values for BZR_SSH environment variable in env-variables
3451
help topic. (Alexander Belchenko, #181842)
3453
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
3454
popping the log redirection now precisely restores the previous state,
3455
which makes it easier to use bzr log output from other programs.
3456
TestCaseInTempDir no longer depends on a log redirection being established
3457
by the test framework, which lets bzr tests cleanly run from a normal
3459
(#124153, #124849, Martin Pool, Jonathan Lange)
3461
* ``pull --quiet`` is now more quiet, in particular a message is no longer
3462
printed when the remembered pull location is used. (James Westby,
3465
* ``reconfigure`` can safely be interrupted while fetching.
3466
(Aaron Bentley, #179316)
3468
* ``reconfigure`` preserves tags when converting to and from lightweight
3469
checkouts. (Aaron Bentley, #182040)
3471
* Stop polluting /tmp when running selftest.
3472
(Vincent Ladeuil, #123623)
3474
* Switch from NFKC => NFC for normalization checks. NFC allows a few
3475
more characters which should be considered valid.
3476
(John Arbash Meinel, #185458)
3478
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
3479
interacting badly with a bug on the launchpad side. (Robert Collins)
3481
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
3482
tracebacks. (Andrew Bennetts, #182849)
3487
* Classes implementing Merge types like Merge3Merger must now accept (and
3488
honour) a do_merge flag in their constructor. (Aaron Bentley)
3490
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
3491
to previously take a write lock (and start a write group.)
3497
* selftest now accepts --load-list <file> to load a test id list. This
3498
speeds up running the test suite on a limited set of tests.
3504
* Add a new method ``get_result`` to graph search objects. The resulting
3505
``SearchResult`` can be used to recreate the search later, which will
3506
be useful in reducing network traffic. (Robert Collins)
3508
* Use convenience function to check whether two repository handles
3509
are referring to the same repository in ``Repository.get_graph``.
3510
(Jelmer Vernooij, #187162)
3512
* Fetching now passes the find_ghosts flag through to the
3513
``InterRepository.missing_revision_ids`` call consistently for all
3514
repository types. This will enable faster missing revision discovery with
3515
bzr+ssh. (Robert Collins)
3517
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
3519
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
3520
``InterRepository.search_missing_revision_ids`` which returns a
3521
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
3522
server. (Robert Collins)
3524
* New error ``NoPublicBranch`` for commands that need a public branch to
3525
operate. (Robert Collins)
3527
* New method ``iter_inventories`` on Repository for access to many
3528
inventories. This is primarily used by the ``revision_trees`` method, as
3529
direct access to inventories is discouraged. (Robert Collins)
3531
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
3532
which will split out ghosts and present parents into two separate sets,
3533
useful for code which needs to be aware of ghosts (e.g. fetching data
3534
cares about ghosts during revision selection). (Robert Collins)
3536
* Record a timestamp against each mutter to the trace file, relative to the
3537
first import of bzrlib. (Andrew Bennetts)
3539
* ``Repository.get_data_stream`` is now deprecated in favour of
3540
``Repository.get_data_stream_for_search`` which allows less network
3541
traffic when requesting data streams over a smart server. (Robert Collins)
3543
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
3544
removing one round trip on many network operations. (Robert Collins)
3546
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
3547
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
3549
* Repository has a new method ``has_revisions`` which signals the presence
3550
of many revisions by returning a set of the revisions listed which are
3551
present. This can be done by index queries without reading data for parent
3552
revision names etc. (Robert Collins)
3328
3555
bzr 1.1 2008-01-15
3331
3558
(no changes from 1.1rc1)
3333
3560
bzr 1.1rc1 2008-01-05
3334
---------------------
3338
* Dotted revision numbers have been revised. Instead of growing longer with
3339
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
3340
we now report 1.2.1.) This helps scale long lived branches which have many
3341
feature branches merged between them. (John Arbash Meinel)
3343
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
3344
Use ``bzr diff branch1 --new branch2`` instead. This change has
3345
been made to remove the ambiguity where ``branch2`` is in fact a
3346
specific file to diff within ``branch1``.
3350
* New option to use custom template-based formats in ``bzr version-info``.
3353
* diff '--using' allows an external diff tool to be used for files.
3356
* New "lca" merge-type for fast everyday merging that also supports
3357
criss-cross merges. (Aaron Bentley)
3361
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
3364
* ``branch`` and ``checkout`` can now use files from a working tree to
3365
to speed up the process. For checkout, this requires the new
3366
--files-from flag. (Aaron Bentley)
3368
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
3370
* ``bzr diff`` now works on branches without working trees. Tree-less
3371
branches can also be compared to each other and to working trees using
3372
the new diff options ``--old`` and ``--new``. Diffing between branches,
3373
with or without trees, now supports specific file filtering as well.
3374
(Ian Clatworthy, #6700)
3376
* ``bzr pack`` now orders revision texts in topological order, with newest
3377
at the start of the file, promoting linear reads for ``bzr log`` and the
3378
like. This partially fixes #154129. (Robert Collins)
3380
* Merge directives now fetch prerequisites from the target branch if
3381
needed. (Aaron Bentley)
3383
* pycurl now handles digest authentication.
3386
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
3388
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
3390
* ``merge`` now warns when merge directives cause cherrypicks.
3393
* ``split`` now supported, to enable splitting large trees into smaller
3394
pieces. (Aaron Bentley)
3398
* Avoid AttributeError when unlocking a pack repository when an error occurs.
3399
(Martin Pool, #180208)
3401
* Better handle short reads when processing multiple range requests.
3402
(Vincent Ladeuil, #179368)
3404
* build_tree acceleration uses the correct path when a file has been moved.
3407
* ``commit`` now succeeds when a checkout and its master branch share a
3408
repository. (Aaron Bentley, #177592)
3410
* Fixed error reporting of unsupported timezone format in
3411
``log --timezone``. (Lukáš Lalinský, #178722)
3413
* Fixed Unicode encoding error in ``ignored`` when the output is
3414
redirected to a pipe. (Lukáš Lalinský)
3416
* Fix traceback when sending large response bodies over the smart protocol
3417
on Windows. (Andrew Bennetts, #115781)
3419
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
3420
pointed to different logical drives on Windows.
3421
(Alexander Belchenko, #90847)
3423
* HTTP test servers are now compatible with the http protocol version 1.1.
3424
(Vincent Ladeuil, #175524)
3426
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
3427
correctly, instead of erroring or attributing incorrect parents to ghosts.
3430
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
3432
* pycurl authentication handling was broken and incomplete. Fix handling of
3433
user:pass embedded in the urls.
3434
(Vincent Ladeuil, #177643)
3436
* Files inside non-directories are now handled like other conflict types.
3437
(Aaron Bentley, #177390)
3439
* ``reconfigure`` is able to convert trees into lightweight checkouts.
3442
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
3445
* Test that the old ``version_info_format`` functions still work, even
3446
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
3448
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
3451
* ``uncommit`` works even when the commit messages of revisions to be
3452
removed use characters not supported in the terminal encoding.
3455
* When dumb http servers return whole files instead of the requested ranges,
3456
read the remaining bytes by chunks to avoid overflowing network buffers.
3457
(Vincent Ladeuil, #175886)
3461
* Minor tweaks made to the bug tracker integration documentation.
3464
* Reference material has now be moved out of the User Guide and added
3465
to the User Reference. The User Reference has gained 4 sections as
3466
a result: Authenication Settings, Configuration Settings, Conflicts
3467
and Hooks. All help topics are now dumped into text format in the
3468
doc/en/user-reference directory for those who like browsing that
3469
information in their editor. (Ian Clatworthy)
3471
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
3475
* find_* methods available for BzrDirs, Branches and WorkingTrees.
3478
* Help topics can now be loaded from files.
3479
(Ian Clatworthy, Alexander Belchenko)
3481
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
3483
* Parent Providers should now implement ``get_parent_map`` returning a
3484
dictionary instead of ``get_parents`` returning a list.
3485
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
3488
* Patience Diff now supports arbitrary python objects, as long as they
3489
support ``hash()``. (John Arbash Meinel)
3491
* Reduce selftest overhead to establish test names by memoization.
3498
* Modules can now customise their tests by defining a ``load_tests``
3499
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
3500
for the documentation on this attribute. (Robert Collins)
3502
* New helper function ``bzrlib.tests.condition_id_re`` which helps
3503
filter tests based on a regular expression search on the tests id.
3506
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
3507
filter tests based on class. (Robert Collins)
3509
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
3510
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
3512
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
3513
generalises the ``filter_suite_by_re`` function. (Robert Collins)
3515
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
3516
TestSuite that does not contain tests from the input that matched a
3517
regular expression. (Robert Collins)
3519
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
3520
randomized copy of the input suite. (Robert Collins)
3522
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
3523
suite into two according to a regular expression. (Robert Collins)
3525
* Parametrize all http tests for the transport implementations, the http
3526
protocol versions (1.0 and 1.1) and the authentication schemes.
3529
* The ``exclude_pattern`` and ``random_order`` parameters to the function
3530
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
3532
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
3533
replaced by the new helper methods added in this release. (Robert Collins)
3561
#####################
3566
* Dotted revision numbers have been revised. Instead of growing longer with
3567
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
3568
we now report 1.2.1.) This helps scale long lived branches which have many
3569
feature branches merged between them. (John Arbash Meinel)
3571
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
3572
Use ``bzr diff branch1 --new branch2`` instead. This change has
3573
been made to remove the ambiguity where ``branch2`` is in fact a
3574
specific file to diff within ``branch1``.
3579
* New option to use custom template-based formats in ``bzr version-info``.
3582
* diff '--using' allows an external diff tool to be used for files.
3585
* New "lca" merge-type for fast everyday merging that also supports
3586
criss-cross merges. (Aaron Bentley)
3591
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
3594
* ``branch`` and ``checkout`` can now use files from a working tree to
3595
to speed up the process. For checkout, this requires the new
3596
--files-from flag. (Aaron Bentley)
3598
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
3600
* ``bzr diff`` now works on branches without working trees. Tree-less
3601
branches can also be compared to each other and to working trees using
3602
the new diff options ``--old`` and ``--new``. Diffing between branches,
3603
with or without trees, now supports specific file filtering as well.
3604
(Ian Clatworthy, #6700)
3606
* ``bzr pack`` now orders revision texts in topological order, with newest
3607
at the start of the file, promoting linear reads for ``bzr log`` and the
3608
like. This partially fixes #154129. (Robert Collins)
3610
* Merge directives now fetch prerequisites from the target branch if
3611
needed. (Aaron Bentley)
3613
* pycurl now handles digest authentication.
3616
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
3618
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
3620
* ``merge`` now warns when merge directives cause cherrypicks.
3623
* ``split`` now supported, to enable splitting large trees into smaller
3624
pieces. (Aaron Bentley)
3629
* Avoid AttributeError when unlocking a pack repository when an error occurs.
3630
(Martin Pool, #180208)
3632
* Better handle short reads when processing multiple range requests.
3633
(Vincent Ladeuil, #179368)
3635
* build_tree acceleration uses the correct path when a file has been moved.
3638
* ``commit`` now succeeds when a checkout and its master branch share a
3639
repository. (Aaron Bentley, #177592)
3641
* Fixed error reporting of unsupported timezone format in
3642
``log --timezone``. (Lukáš Lalinský, #178722)
3644
* Fixed Unicode encoding error in ``ignored`` when the output is
3645
redirected to a pipe. (Lukáš Lalinský)
3647
* Fix traceback when sending large response bodies over the smart protocol
3648
on Windows. (Andrew Bennetts, #115781)
3650
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
3651
pointed to different logical drives on Windows.
3652
(Alexander Belchenko, #90847)
3654
* HTTP test servers are now compatible with the http protocol version 1.1.
3655
(Vincent Ladeuil, #175524)
3657
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
3658
correctly, instead of erroring or attributing incorrect parents to ghosts.
3661
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
3663
* pycurl authentication handling was broken and incomplete. Fix handling of
3664
user:pass embedded in the urls.
3665
(Vincent Ladeuil, #177643)
3667
* Files inside non-directories are now handled like other conflict types.
3668
(Aaron Bentley, #177390)
3670
* ``reconfigure`` is able to convert trees into lightweight checkouts.
3673
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
3676
* Test that the old ``version_info_format`` functions still work, even
3677
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
3679
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
3682
* ``uncommit`` works even when the commit messages of revisions to be
3683
removed use characters not supported in the terminal encoding.
3686
* When dumb http servers return whole files instead of the requested ranges,
3687
read the remaining bytes by chunks to avoid overflowing network buffers.
3688
(Vincent Ladeuil, #175886)
3693
* Minor tweaks made to the bug tracker integration documentation.
3696
* Reference material has now be moved out of the User Guide and added
3697
to the User Reference. The User Reference has gained 4 sections as
3698
a result: Authenication Settings, Configuration Settings, Conflicts
3699
and Hooks. All help topics are now dumped into text format in the
3700
doc/en/user-reference directory for those who like browsing that
3701
information in their editor. (Ian Clatworthy)
3703
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
3708
* find_* methods available for BzrDirs, Branches and WorkingTrees.
3711
* Help topics can now be loaded from files.
3712
(Ian Clatworthy, Alexander Belchenko)
3714
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
3716
* Parent Providers should now implement ``get_parent_map`` returning a
3717
dictionary instead of ``get_parents`` returning a list.
3718
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
3721
* Patience Diff now supports arbitrary python objects, as long as they
3722
support ``hash()``. (John Arbash Meinel)
3724
* Reduce selftest overhead to establish test names by memoization.
3733
* Modules can now customise their tests by defining a ``load_tests``
3734
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
3735
for the documentation on this attribute. (Robert Collins)
3737
* New helper function ``bzrlib.tests.condition_id_re`` which helps
3738
filter tests based on a regular expression search on the tests id.
3741
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
3742
filter tests based on class. (Robert Collins)
3744
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
3745
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
3747
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
3748
generalises the ``filter_suite_by_re`` function. (Robert Collins)
3750
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
3751
TestSuite that does not contain tests from the input that matched a
3752
regular expression. (Robert Collins)
3754
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
3755
randomized copy of the input suite. (Robert Collins)
3757
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
3758
suite into two according to a regular expression. (Robert Collins)
3760
* Parametrize all http tests for the transport implementations, the http
3761
protocol versions (1.0 and 1.1) and the authentication schemes.
3764
* The ``exclude_pattern`` and ``random_order`` parameters to the function
3765
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
3767
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
3768
replaced by the new helper methods added in this release. (Robert Collins)
3536
3771
bzr 1.0 2007-12-14
3541
* More improvements and fixes to the User Guide. (Ian Clatworthy)
3543
* Add information on cherrypicking/rebasing to the User Guide.
3546
* Improve bug tracker integration documentation. (Ian Clatworthy)
3548
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
3549
to the rebasing section of the User Guide from Aaron Bentley.
3777
* More improvements and fixes to the User Guide. (Ian Clatworthy)
3779
* Add information on cherrypicking/rebasing to the User Guide.
3782
* Improve bug tracker integration documentation. (Ian Clatworthy)
3784
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
3785
to the rebasing section of the User Guide from Aaron Bentley.
3553
3789
bzr 1.0rc3 2007-12-11
3554
---------------------
3558
* If a traceback occurs, users are now asked to report the bug
3559
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
3560
by mail to the mailing list.
3565
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
3567
* Give more feedback during long http downloads by making readv deliver data
3568
as it arrives for urllib, and issue more requests for pycurl. High latency
3569
networks are better handled by urllib, the pycurl implementation give more
3570
feedback but also incur more latency.
3571
(Vincent Ladeuil, #173010)
3573
* Implement _make_parents_provider on RemoteRepository, allowing generating
3574
bundles against branches on a smart server. (Andrew Bennetts, #147836)
3578
* Improved user guide. (Ian Clatworthy)
3580
* The single-page quick reference guide is now available as a PDF.
3585
* readv urllib http implementation is now a real iterator above the
3586
underlying socket and deliver data as soon as it arrives. 'get' still
3587
wraps its output in a StringIO.
3790
#####################
3795
* If a traceback occurs, users are now asked to report the bug
3796
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
3797
by mail to the mailing list.
3803
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
3805
* Give more feedback during long http downloads by making readv deliver data
3806
as it arrives for urllib, and issue more requests for pycurl. High latency
3807
networks are better handled by urllib, the pycurl implementation give more
3808
feedback but also incur more latency.
3809
(Vincent Ladeuil, #173010)
3811
* Implement _make_parents_provider on RemoteRepository, allowing generating
3812
bundles against branches on a smart server. (Andrew Bennetts, #147836)
3817
* Improved user guide. (Ian Clatworthy)
3819
* The single-page quick reference guide is now available as a PDF.
3825
* readv urllib http implementation is now a real iterator above the
3826
underlying socket and deliver data as soon as it arrives. 'get' still
3827
wraps its output in a StringIO.
3591
3831
bzr 1.0rc2 2007-12-07
3592
---------------------
3596
* Added a --coverage option to selftest. (Andrew Bennetts)
3598
* Annotate merge (merge-type=weave) now supports cherrypicking.
3601
* ``bzr commit`` now doesn't print the revision number twice. (Matt
3604
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
3605
define locations of bug trackers that are not directly supported by
3606
bzr or a plugin. The URL will be treated as a template and ``{id}``
3607
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
3609
* Support logging single merge revisions with short and line log formatters.
3612
* User Guide enhanced with suggested readability improvements from
3613
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
3615
* Quick Start Guide renamed to Quick Start Card, moved down in
3616
the catalog, provided in pdf and png format and updated to refer
3617
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
3619
* ``switch`` can now be used on heavyweight checkouts as well as
3620
lightweight ones. After switching a heavyweight checkout, the
3621
local branch is a mirror/cache of the new bound branch and
3622
uncommitted changes in the working tree are merged. As a safety
3623
check, if there are local commits in a checkout which have not
3624
been committed to the previously bound branch, then ``switch``
3625
fails unless the ``--force`` option is given. This option is
3626
now also required if the branch a lightweight checkout is pointing
3627
to has been moved. (Ian Clatworthy)
3631
* New -Dhttp debug option reports http connections, requests and responses.
3634
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
3638
* Better error message when running ``bzr cat`` on a non-existant branch.
3639
(Lukáš Lalinský, #133782)
3641
* Catch OSError 17 (file exists) in final phase of tree transform and show
3643
(Alexander Belchenko, #111758)
3645
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
3646
allowing multiple GET requests to be issued if too many ranges are
3648
(Vincent Ladeuil, #172701)
3650
* Check for missing basis texts when fetching from packs to packs.
3651
(John Arbash Meinel, #165290)
3653
* Fall back to showing e-mail in ``log --short/--line`` if the
3654
committer/author has only e-mail. (Lukáš Lalinský, #157026)
3658
* Deprecate not passing a ``location`` argument to commit reporters'
3659
``started`` methods. (Matt Nordhoff)
3832
#####################
3837
* Added a --coverage option to selftest. (Andrew Bennetts)
3839
* Annotate merge (merge-type=weave) now supports cherrypicking.
3842
* ``bzr commit`` now doesn't print the revision number twice. (Matt
3845
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
3846
define locations of bug trackers that are not directly supported by
3847
bzr or a plugin. The URL will be treated as a template and ``{id}``
3848
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
3850
* Support logging single merge revisions with short and line log formatters.
3853
* User Guide enhanced with suggested readability improvements from
3854
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
3856
* Quick Start Guide renamed to Quick Start Card, moved down in
3857
the catalog, provided in pdf and png format and updated to refer
3858
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
3860
* ``switch`` can now be used on heavyweight checkouts as well as
3861
lightweight ones. After switching a heavyweight checkout, the
3862
local branch is a mirror/cache of the new bound branch and
3863
uncommitted changes in the working tree are merged. As a safety
3864
check, if there are local commits in a checkout which have not
3865
been committed to the previously bound branch, then ``switch``
3866
fails unless the ``--force`` option is given. This option is
3867
now also required if the branch a lightweight checkout is pointing
3868
to has been moved. (Ian Clatworthy)
3873
* New -Dhttp debug option reports http connections, requests and responses.
3876
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
3881
* Better error message when running ``bzr cat`` on a non-existant branch.
3882
(Lukáš Lalinský, #133782)
3884
* Catch OSError 17 (file exists) in final phase of tree transform and show
3886
(Alexander Belchenko, #111758)
3888
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
3889
allowing multiple GET requests to be issued if too many ranges are
3891
(Vincent Ladeuil, #172701)
3893
* Check for missing basis texts when fetching from packs to packs.
3894
(John Arbash Meinel, #165290)
3896
* Fall back to showing e-mail in ``log --short/--line`` if the
3897
committer/author has only e-mail. (Lukáš Lalinský, #157026)
3902
* Deprecate not passing a ``location`` argument to commit reporters'
3903
``started`` methods. (Matt Nordhoff)
3662
3906
bzr 1.0rc1 2007-11-30
3663
---------------------
3665
NOTES WHEN UPGRADING:
3667
* The default repository format is now ``pack-0.92``. This
3668
default is used when creating new repositories with ``init`` and
3669
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
3670
(See https://bugs.launchpad.net/bugs/164626)
3672
This format can be read and written by Bazaar 0.92 and later, and
3673
data can be transferred to and from older formats.
3675
To upgrade, please reconcile your repository (``bzr reconcile``), and then
3676
upgrade (``bzr upgrade``).
3678
``pack-0.92`` offers substantially better scaling and performance than the
3679
previous knits format. Some operations are slower where the code already
3680
had bad scaling characteristics under knits, the pack format makes such
3681
operations more visible as part of being more scalable overall. We will
3682
correct such operations over the coming releases and encourage the filing
3683
of bugs on any operation which you observe to be slower in a packs
3684
repository. One particular case that we do not intend to fix is pulling
3685
data from a pack repository into a knit repository over a high latency
3686
link; downgrading such data requires reinsertion of the file texts, and
3687
this is a classic space/time tradeoff. The current implementation is
3688
conservative on memory usage because we need to support converting data
3689
from any tree without problems.
3690
(Robert Collins, Martin Pool, #164476)
3694
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
3695
still available if user selects it explicitly with BZR_SSH environment
3696
variable. (Alexander Belchenko, workaround for bug #107593)
3698
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3699
to enable the subtree functions (for example, for bzr-svn).
3700
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
3705
* New ``authentication.conf`` file holding the password or other credentials
3706
for remote servers. This can be used for ssh, sftp, smtp and other
3707
supported transports.
3710
* New rich-root and rich-root-pack formats, recording the same data about
3711
tree roots that's recorded for all other directories.
3712
(Aaron Bentley, #164639)
3714
* ``pack-0.92`` repositories can now be reconciled.
3715
(Robert Collins, #154173)
3717
* ``switch`` command added for changing the branch a lightweight checkout
3718
is associated with and updating the tree to reflect the latest content
3719
accordingly. This command was previously part of the BzrTools plug-in.
3720
(Ian Clatworthy, Aaron Bentley, David Allouche)
3722
* ``reconfigure`` command can now convert branches, trees, or checkouts to
3723
lightweight checkouts. (Aaron Bentley)
3727
* Commit updates the state of the working tree via a delta rather than
3728
supplying entirely new basis trees. For commit of a single specified file
3729
this reduces the wall clock time for commit by roughly a 30%.
3730
(Robert Collins, Martin Pool)
3732
* Commit with many automatically found deleted paths no longer performs
3733
linear scanning for the children of those paths during inventory
3734
iteration. This should fix commit performance blowing out when many such
3735
paths occur during commit. (Robert Collins, #156491)
3737
* Fetch with pack repositories will no longer read the entire history graph.
3738
(Robert Collins, #88319)
3740
* Revert takes out an appropriate lock when reverting to a basis tree, and
3741
does not read the basis inventory twice. (Robert Collins)
3743
* Diff does not require an inventory to be generated on dirstate trees.
3744
(Aaron Bentley, #149254)
3746
* New annotate merge (--merge-type=weave) implementation is fast on
3747
versionedfiles withough cached annotations, e.g. pack-0.92.
3752
* ``bzr merge`` now warns when it encounters a criss-cross merge.
3755
* ``bzr send`` now doesn't require the target e-mail address to be
3756
specified on the command line if an interactive e-mail client is used.
3759
* ``bzr tags`` now prints the revision number for each tag, instead of
3760
the revision id, unless --show-ids is passed. In addition, tags can be
3761
sorted chronologically instead of lexicographically with --sort=time.
3762
(Adeodato Simó, #120231)
3764
* Windows standalone version of bzr is able to load system-wide plugins from
3765
"plugins" subdirectory in installation directory. In addition standalone
3766
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
3767
about paths and bzr version. (Alexander Belchenko, #129298)
3773
* A progress bar has been added for knitpack -> knitpack fetching.
3774
(Robert Collins, #157789, #159147)
3776
* Branching from a branch via smart server now preserves the repository
3777
format. (Andrew Bennetts, #164626)
3779
* ``commit`` is now able to invoke an external editor in a non-ascii
3780
directory. (Daniel Watkins, #84043)
3782
* Catch connection errors for ftp.
3783
(Vincent Ladeuil, #164567)
3785
* ``check`` no longer reports spurious unreferenced text versions.
3786
(Robert Collins, John A Meinel, #162931, #165071)
3788
* Conflicts are now resolved recursively by ``revert``.
3789
(Aaron Bentley, #102739)
3791
* Detect invalid transport reuse attempts by catching invalid URLs.
3792
(Vincent Ladeuil, #161819)
3794
* Deleting a file without removing it shows a correct diff, not a traceback.
3797
* Do no use timeout in HttpServer anymore.
3798
(Vincent Ladeuil, #158972).
3800
* Don't catch the exceptions related to the http pipeline status before
3801
retrying an http request or some programming errors may be masked.
3802
(Vincent Ladeuil, #160012)
3804
* Fix ``bzr rm`` to not delete modified and ignored files.
3805
(Lukáš Lalinský, #172598)
3807
* Fix exception when revisionspec contains merge revisons but log
3808
formatter doesn't support merge revisions. (Kent Gibson, #148908)
3810
* Fix exception when ScopeReplacer is assigned to before any members have
3811
been retrieved. (Aaron Bentley)
3813
* Fix multiple connections during checkout --lightweight.
3814
(Vincent Ladeuil, #159150)
3816
* Fix possible error in insert_data_stream when copying between
3817
pack repositories over bzr+ssh or bzr+http.
3818
KnitVersionedFile.get_data_stream now makes sure that requested
3819
compression parents are sent before any delta hunks that depend
3821
(Martin Pool, #164637)
3823
* Fix typo in limiting offsets coalescing for http, leading to
3824
whole files being downloaded instead of parts.
3825
(Vincent Ladeuil, #165061)
3827
* FTP server errors don't error in the error handling code.
3828
(Robert Collins, #161240)
3830
* Give a clearer message when a pull fails because the source needs
3832
(Martin Pool, #164443)
3834
* It is clearer when a plugin cannot be loaded because of its name, and a
3835
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
3837
* Leave port as None in transport objects if user doesn't
3838
specify a port in urls.
3839
(vincent Ladeuil, #150860)
3841
* Make sure Repository.fetch(self) is properly a no-op for all
3842
Repository implementations. (John Arbash Meinel, #158333)
3844
* Mark .bzr directories as "hidden" on Windows.
3845
(Alexander Belchenko, #71147)
3847
* ``merge --uncommitted`` can now operate on a single file.
3848
(Aaron Bentley, Lukáš Lalinský, #136890)
3850
* Obsolete packs are now cleaned up by pack and autopack operations.
3851
(Robert Collins, #153789)
3853
* Operations pulling data from a smart server where the underlying
3854
repositories are not both annotated/both unannotated will now work.
3855
(Robert Collins, #165304).
3857
* Reconcile now shows progress bars. (Robert Collins, #159351)
3859
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
3860
properly. (John Arbash Meinel, #162486)
3862
* Removing an already-removed file reports the file does not exist. (Daniel
3865
* Rename on Windows is able to change filename case.
3866
(Alexander Belchenko, #77740)
3868
* Return error instead of a traceback for ``bzr log -r0``.
3869
(Kent Gibson, #133751)
3871
* Return error instead of a traceback when bzr is unable to create
3872
symlink on some platforms (e.g. on Windows).
3873
(Alexander Belchenko, workaround for #81689)
3875
* Revert doesn't crash when restoring a single file from a deleted
3876
directory. (Aaron Bentley)
3878
* Stderr output via logging mechanism now goes through encoded wrapper
3879
and no more uses utf-8, but terminal encoding instead. So all unicode
3880
strings now should be readable in non-utf-8 terminal.
3881
(Alexander Belchenko, #54173)
3883
* The error message when ``move --after`` should be used makes how to do so
3884
clearer. (Daniel Watkins, #85237)
3886
* Unicode-safe output from ``bzr info``. The output will be encoded
3887
using the terminal encoding and unrepresentable characters will be
3888
replaced by '?'. (Lukáš Lalinský, #151844)
3890
* Working trees are no longer created when pushing into a local no-trees
3891
repo. (Daniel Watkins, #50582)
3893
* Upgrade util/configobj to version 4.4.0.
3894
(Vincent Ladeuil, #151208).
3896
* Wrap medusa ftp test server as an FTPServer feature.
3897
(Vincent Ladeuil, #157752)
3901
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
3902
during very long time. (Alexander Belchenko)
3904
* The return value of
3905
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
3906
changed. Previously it was an iterator of lines, now it is an iterator of
3907
(line, version_id) tuples. This change has been made to aid reconcile and
3908
fetch operations. (Robert Collins)
3910
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
3913
* The Repository format registry default has been removed; it was previously
3914
obsoleted by the bzrdir format default, which implies a default repository
3920
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
3921
``bzrlib.pack``. These classes provide more convenient APIs for generating
3922
and parsing containers from streams rather than from files. (Andrew
3925
* New module ``lru_cache`` providing a cache for use by tasks that need
3926
semi-random access to large amounts of data. (John A Meinel)
3928
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
3907
#####################
3909
Notes When Upgrading
3910
********************
3912
* The default repository format is now ``pack-0.92``. This
3913
default is used when creating new repositories with ``init`` and
3914
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
3915
(See https://bugs.launchpad.net/bugs/164626)
3917
This format can be read and written by Bazaar 0.92 and later, and
3918
data can be transferred to and from older formats.
3920
To upgrade, please reconcile your repository (``bzr reconcile``), and then
3921
upgrade (``bzr upgrade``).
3923
``pack-0.92`` offers substantially better scaling and performance than the
3924
previous knits format. Some operations are slower where the code already
3925
had bad scaling characteristics under knits, the pack format makes such
3926
operations more visible as part of being more scalable overall. We will
3927
correct such operations over the coming releases and encourage the filing
3928
of bugs on any operation which you observe to be slower in a packs
3929
repository. One particular case that we do not intend to fix is pulling
3930
data from a pack repository into a knit repository over a high latency
3931
link; downgrading such data requires reinsertion of the file texts, and
3932
this is a classic space/time tradeoff. The current implementation is
3933
conservative on memory usage because we need to support converting data
3934
from any tree without problems.
3935
(Robert Collins, Martin Pool, #164476)
3940
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
3941
still available if user selects it explicitly with BZR_SSH environment
3942
variable. (Alexander Belchenko, workaround for bug #107593)
3944
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3945
to enable the subtree functions (for example, for bzr-svn).
3951
* New ``authentication.conf`` file holding the password or other credentials
3952
for remote servers. This can be used for ssh, sftp, smtp and other
3953
supported transports.
3956
* New rich-root and rich-root-pack formats, recording the same data about
3957
tree roots that's recorded for all other directories.
3958
(Aaron Bentley, #164639)
3960
* ``pack-0.92`` repositories can now be reconciled.
3961
(Robert Collins, #154173)
3963
* ``switch`` command added for changing the branch a lightweight checkout
3964
is associated with and updating the tree to reflect the latest content
3965
accordingly. This command was previously part of the BzrTools plug-in.
3966
(Ian Clatworthy, Aaron Bentley, David Allouche)
3968
* ``reconfigure`` command can now convert branches, trees, or checkouts to
3969
lightweight checkouts. (Aaron Bentley)
3974
* Commit updates the state of the working tree via a delta rather than
3975
supplying entirely new basis trees. For commit of a single specified file
3976
this reduces the wall clock time for commit by roughly a 30%.
3977
(Robert Collins, Martin Pool)
3979
* Commit with many automatically found deleted paths no longer performs
3980
linear scanning for the children of those paths during inventory
3981
iteration. This should fix commit performance blowing out when many such
3982
paths occur during commit. (Robert Collins, #156491)
3984
* Fetch with pack repositories will no longer read the entire history graph.
3985
(Robert Collins, #88319)
3987
* Revert takes out an appropriate lock when reverting to a basis tree, and
3988
does not read the basis inventory twice. (Robert Collins)
3990
* Diff does not require an inventory to be generated on dirstate trees.
3991
(Aaron Bentley, #149254)
3993
* New annotate merge (--merge-type=weave) implementation is fast on
3994
versionedfiles withough cached annotations, e.g. pack-0.92.
4000
* ``bzr merge`` now warns when it encounters a criss-cross merge.
4003
* ``bzr send`` now doesn't require the target e-mail address to be
4004
specified on the command line if an interactive e-mail client is used.
4007
* ``bzr tags`` now prints the revision number for each tag, instead of
4008
the revision id, unless --show-ids is passed. In addition, tags can be
4009
sorted chronologically instead of lexicographically with --sort=time.
4010
(Adeodato Simó, #120231)
4012
* Windows standalone version of bzr is able to load system-wide plugins from
4013
"plugins" subdirectory in installation directory. In addition standalone
4014
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
4015
about paths and bzr version. (Alexander Belchenko, #129298)
4023
* A progress bar has been added for knitpack -> knitpack fetching.
4024
(Robert Collins, #157789, #159147)
4026
* Branching from a branch via smart server now preserves the repository
4027
format. (Andrew Bennetts, #164626)
4029
* ``commit`` is now able to invoke an external editor in a non-ascii
4030
directory. (Daniel Watkins, #84043)
4032
* Catch connection errors for ftp.
4033
(Vincent Ladeuil, #164567)
4035
* ``check`` no longer reports spurious unreferenced text versions.
4036
(Robert Collins, John A Meinel, #162931, #165071)
4038
* Conflicts are now resolved recursively by ``revert``.
4039
(Aaron Bentley, #102739)
4041
* Detect invalid transport reuse attempts by catching invalid URLs.
4042
(Vincent Ladeuil, #161819)
4044
* Deleting a file without removing it shows a correct diff, not a traceback.
4047
* Do no use timeout in HttpServer anymore.
4048
(Vincent Ladeuil, #158972).
4050
* Don't catch the exceptions related to the http pipeline status before
4051
retrying an http request or some programming errors may be masked.
4052
(Vincent Ladeuil, #160012)
4054
* Fix ``bzr rm`` to not delete modified and ignored files.
4055
(Lukáš Lalinský, #172598)
4057
* Fix exception when revisionspec contains merge revisons but log
4058
formatter doesn't support merge revisions. (Kent Gibson, #148908)
4060
* Fix exception when ScopeReplacer is assigned to before any members have
4061
been retrieved. (Aaron Bentley)
4063
* Fix multiple connections during checkout --lightweight.
4064
(Vincent Ladeuil, #159150)
4066
* Fix possible error in insert_data_stream when copying between
4067
pack repositories over bzr+ssh or bzr+http.
4068
KnitVersionedFile.get_data_stream now makes sure that requested
4069
compression parents are sent before any delta hunks that depend
4071
(Martin Pool, #164637)
4073
* Fix typo in limiting offsets coalescing for http, leading to
4074
whole files being downloaded instead of parts.
4075
(Vincent Ladeuil, #165061)
4077
* FTP server errors don't error in the error handling code.
4078
(Robert Collins, #161240)
4080
* Give a clearer message when a pull fails because the source needs
4082
(Martin Pool, #164443)
4084
* It is clearer when a plugin cannot be loaded because of its name, and a
4085
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
4087
* Leave port as None in transport objects if user doesn't
4088
specify a port in urls.
4089
(vincent Ladeuil, #150860)
4091
* Make sure Repository.fetch(self) is properly a no-op for all
4092
Repository implementations. (John Arbash Meinel, #158333)
4094
* Mark .bzr directories as "hidden" on Windows.
4095
(Alexander Belchenko, #71147)
4097
* ``merge --uncommitted`` can now operate on a single file.
4098
(Aaron Bentley, Lukáš Lalinský, #136890)
4100
* Obsolete packs are now cleaned up by pack and autopack operations.
4101
(Robert Collins, #153789)
4103
* Operations pulling data from a smart server where the underlying
4104
repositories are not both annotated/both unannotated will now work.
4105
(Robert Collins, #165304).
4107
* Reconcile now shows progress bars. (Robert Collins, #159351)
4109
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
4110
properly. (John Arbash Meinel, #162486)
4112
* Removing an already-removed file reports the file does not exist. (Daniel
4115
* Rename on Windows is able to change filename case.
4116
(Alexander Belchenko, #77740)
4118
* Return error instead of a traceback for ``bzr log -r0``.
4119
(Kent Gibson, #133751)
4121
* Return error instead of a traceback when bzr is unable to create
4122
symlink on some platforms (e.g. on Windows).
4123
(Alexander Belchenko, workaround for #81689)
4125
* Revert doesn't crash when restoring a single file from a deleted
4126
directory. (Aaron Bentley)
4128
* Stderr output via logging mechanism now goes through encoded wrapper
4129
and no more uses utf-8, but terminal encoding instead. So all unicode
4130
strings now should be readable in non-utf-8 terminal.
4131
(Alexander Belchenko, #54173)
4133
* The error message when ``move --after`` should be used makes how to do so
4134
clearer. (Daniel Watkins, #85237)
4136
* Unicode-safe output from ``bzr info``. The output will be encoded
4137
using the terminal encoding and unrepresentable characters will be
4138
replaced by '?'. (Lukáš Lalinský, #151844)
4140
* Working trees are no longer created when pushing into a local no-trees
4141
repo. (Daniel Watkins, #50582)
4143
* Upgrade util/configobj to version 4.4.0.
4144
(Vincent Ladeuil, #151208).
4146
* Wrap medusa ftp test server as an FTPServer feature.
4147
(Vincent Ladeuil, #157752)
4152
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
4153
during very long time. (Alexander Belchenko)
4155
* The return value of
4156
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
4157
changed. Previously it was an iterator of lines, now it is an iterator of
4158
(line, version_id) tuples. This change has been made to aid reconcile and
4159
fetch operations. (Robert Collins)
4161
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
4164
* The Repository format registry default has been removed; it was previously
4165
obsoleted by the bzrdir format default, which implies a default repository
4172
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
4173
``bzrlib.pack``. These classes provide more convenient APIs for generating
4174
and parsing containers from streams rather than from files. (Andrew
4177
* New module ``lru_cache`` providing a cache for use by tasks that need
4178
semi-random access to large amounts of data. (John A Meinel)
4180
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
3933
4183
bzr 0.92 2007-11-05
3938
4189
* New uninstaller on Win32. (Alexander Belchenko)
3941
4192
bzr 0.92rc1 2007-10-29
3942
----------------------
3944
NOTES WHEN UPGRADING:
3948
* ``bzr`` now returns exit code 4 if an internal error occurred, and
3949
3 if a normal error occurred. (Martin Pool)
3951
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
3952
repository index errors that occured as a result of the Weave disk format.
3953
Instead the ``reconcile`` command needs to be run to correct those
3954
problems if they exist (and it has been able to fix most such problems
3955
since bzr 0.8). Some new problems have been identified during this release
3956
and you should run ``bzr check`` once on every repository to see if you
3957
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
3958
repository due to mismatched parent errors - a symptom of index errors -
3959
you should simply take a full copy of that remote repository to a clean
3960
directory outside any local repositories, then run reconcile on it, and
3961
finally pull from it locally. (And naturally email the repositories owner
3962
to ask them to upgrade and run reconcile).
3967
* New ``knitpack-experimental`` repository format. This is interoperable with
3968
the ``dirstate-tags`` format but uses a smarter storage design that greatly
3969
speeds up many operations, both local and remote. This new format can be
3970
used as an option to the ``init``, ``init-repository`` and ``upgrade``
3971
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
3972
for further details. (Robert Collins)
3974
* For users of bzr-svn (and those testing the prototype subtree support) that
3975
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
3976
been added. This is interoperable with the ``dirstate-subtrees`` format.
3979
* New ``reconfigure`` command. (Aaron Bentley)
3981
* New ``revert --forget-merges`` command, which removes the record of a pending
3982
merge without affecting the working tree contents. (Martin Pool)
3984
* New ``bzr_remote_path`` configuration variable allows finer control of
3985
remote bzr locations than BZR_REMOTE_PATH environment variable.
3988
* New ``launchpad-login`` command to tell Bazaar your Launchpad
3989
user ID. This can then be used by other functions of the
3990
Launchpad plugin. (James Henstridge)
3994
* Commit in quiet mode is now slightly faster as the information to
3995
output is no longer calculated. (Ian Clatworthy)
3997
* Commit no longer checks for new text keys during insertion when the
3998
revision id was deterministically unique. (Robert Collins)
4000
* Committing a change which is not a merge and does not change the number of
4001
files in the tree is faster by utilising the data about whether files are
4002
changed to determine if the tree is unchanged rather than recalculating
4003
it at the end of the commit process. (Robert Collins)
4005
* Inventory serialisation no longer double-sha's the content.
4008
* Knit text reconstruction now avoids making copies of the lines list for
4009
interim texts when building a single text. The new ``apply_delta`` method
4010
on ``KnitContent`` aids this by allowing modification of the revision id
4011
such objects represent. (Robert Collins)
4013
* Pack indices are now partially parsed for specific key lookup using a
4014
bisection approach. (Robert Collins)
4016
* Partial commits are now approximately 40% faster by walking over the
4017
unselected current tree more efficiently. (Robert Collins)
4019
* XML inventory serialisation takes 20% less time while being stricter about
4020
the contents. (Robert Collins)
4022
* Graph ``heads()`` queries have been fixed to no longer access all history
4023
unnecessarily. (Robert Collins)
4027
* ``bzr+https://`` smart server across https now supported.
4028
(John Ferlito, Martin Pool, #128456)
4030
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
4031
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
4033
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
4034
changes from one revision. (Alexander Belchenko, #141368)
4036
* Show encodings, locale and list of plugins in the traceback message.
4037
(Martin Pool, #63894)
4039
* Experimental directory formats can now be marked with
4040
``experimental = True`` during registration. (Ian Clatworthy)
4044
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
4046
* The hooks reference documentation is now converted to html as expected.
4051
* Connection error reporting for the smart server has been fixed to
4052
display a user friendly message instead of a traceback.
4053
(Ian Clatworthy, #115601)
4055
* Make sure to use ``O_BINARY`` when opening files to check their
4056
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
4058
* Fix a problem with Win32 handling of the executable bit.
4059
(John Arbash Meinel, #149113)
4061
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
4062
no longer assume that means port 22. This allows people using OpenSSH to
4063
override the default port in their ``~/.ssh/config`` if they wish. This
4064
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
4066
* Commands reporting exceptions can now be profiled and still have their
4067
data correctly dumped to a file. For example, a ``bzr commit`` with
4068
no changes still reports the operation as pointless but doing so no
4069
longer throws away the profiling data if this command is run with
4070
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
4072
* Fallback to ftp when paramiko is not installed and sftp can't be used for
4073
``tests/commands`` so that the test suite is still usable without
4075
(Vincent Ladeuil, #59150)
4077
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
4079
* Fix long standing bug in partial commit when there are renames
4080
left in tree. (Robert Collins, #140419)
4082
* Fix selftest semi-random noise during http related tests.
4083
(Vincent Ladeuil, #140614)
4085
* Fix typo in ftp.py making the reconnection fail on temporary errors.
4086
(Vincent Ladeuil, #154259)
4088
* Fix failing test by comparing real paths to cover the case where the TMPDIR
4089
contains a symbolic link.
4090
(Vincent Ladeuil, #141382).
4092
* Fix log against smart server branches that don't support tags.
4093
(James Westby, #140615)
4095
* Fix pycurl http implementation by defining error codes from
4096
pycurl instead of relying on an old curl definition.
4097
(Vincent Ladeuil, #147530)
4099
* Fix 'unprintable error' message when displaying BzrCheckError and
4100
some other exceptions on Python 2.5.
4101
(Martin Pool, #144633)
4103
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
4105
* Handles default value for ListOption in cmd_commit.
4106
(Vincent Ladeuil, #140432)
4108
* HttpServer and FtpServer need to be closed properly or a listening socket
4110
(Vincent Ladeuil, #140055)
4112
* Monitor the .bzr directory created in the top level test
4113
directory to detect leaking tests.
4114
(Vincent Ladeuil, #147986)
4116
* The basename, not the full path, is now used when checking whether
4117
the profiling dump file begins with ``callgrind.out`` or not. This
4118
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
4120
* Trivial fix for invoking command ``reconfigure`` without arguments.
4123
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
4124
new path causes bzr to be unable to access the file. (Robert Collins)
4126
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
4131
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
4132
constructor, for enabling bisection searches. (Robert Collins)
4134
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
4135
tree be supplied to it, previously failing to do so would trigger a
4136
deprecation warning. (Robert Collins)
4138
* ``KnitVersionedFile.add*`` will no longer cache added records even when
4139
enable_cache() has been called - the caching feature is now exclusively for
4140
reading existing data. (Robert Collins)
4142
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
4143
appropriate. (Martin Pool)
4145
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
4146
``trace+`` transport instead. (Robert Collins)
4148
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
4149
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
4152
* Removed previous deprecated ``basis_knit`` parameter to the
4153
``KnitVersionedFile`` constructor. (Robert Collins)
4155
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
4156
class that needs it.
4159
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
4160
``KnitRepository`` by parameters to the constructor. (Robert Collins)
4162
* The ``VersionedFile`` interface now allows content checks to be bypassed
4163
by supplying check_content=False. This saves nearly 30% of the minimum
4164
cost to store a version of a file. (Robert Collins)
4166
* Tree's with bad state such as files with no length or sha will no longer
4167
be silently accepted by the repository XML serialiser. To serialise
4168
inventories without such data, pass working=True to write_inventory.
4171
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
4172
``VersionedFile.join`` will no longer accept different parents on either
4173
side of a join - it will either ignore them, or error, depending on the
4174
implementation. See notes when upgrading for more information.
4179
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
4180
put by the method call, to allow avoiding stat-after-write or
4181
housekeeping in callers. (Robert Collins)
4183
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
4184
mandatory attributes are present on serialisation and deserialisation.
4185
This fixes some holes in API usage and allows better separation between
4186
physical storage and object serialisation. (Robert Collins)
4188
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
4189
shorthand for deriving from BzrError and setting internal_error = True.
4192
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
4193
moving the state of a parent tree to a new version via a delta rather than
4194
a complete replacement tree. (Robert Collins)
4196
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
4197
duplication from user input, when a user mentions both a path and an item
4198
contained within that path. (Robert Collins)
4200
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
4201
determining if a repository is write locked. (Robert Collins)
4203
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
4204
tuple containing the key information about a path for commit processing
4205
to complete. (Robert Collins)
4207
* New method on xml serialisers, write_inventory_to_lines, which matches the
4208
API used by knits for adding content. (Robert Collins)
4210
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
4211
logic, currently only available for byte-based lookup
4212
(``bisect_multi_bytes``). (Robert Collins)
4214
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
4215
and returns a gzipped version of the same. This is used to avoid a bunch
4216
of api friction during adding of knit hunks. (Robert Collins)
4218
* New parameter on ``bzrlib.transport.Transport.readv``
4219
``adjust_for_latency`` which changes readv from returning strictly the
4220
requested data to inserted return larger ranges and in forward read order
4221
to reduce the effect of network latency. (Robert Collins)
4223
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
4224
causes the parents of a selected id to be returned recursively, so all the
4225
paths from the root down to each element of selected_file_ids are
4226
returned. (Robert Collins)
4228
* Knit joining has been enhanced to support plain to annotated conversion
4229
and annotated to plain conversion. (Ian Clatworthy)
4231
* The CommitBuilder method ``record_entry_contents`` now returns summary
4232
information about the effect of the commit on the repository. This tuple
4233
contains an inventory delta item if the entry changed from the basis, and a
4234
boolean indicating whether a new file graph node was recorded.
4237
* The python path used in the Makefile can now be overridden.
4238
(Andrew Bennetts, Ian Clatworthy)
4242
* New transport implementation ``trace+`` which is useful for testing,
4243
logging activity taken to its _activity attribute. (Robert Collins)
4245
* When running bzr commands within the test suite, internal exceptions are
4246
not caught and reported in the usual way, but rather allowed to propagate
4247
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
4248
makes this behavior available to other users.
4251
* New method ``TestCase.call_catch_warnings`` for testing methods that
4252
raises a Python warning. (Martin Pool)
4193
######################
4198
* ``bzr`` now returns exit code 4 if an internal error occurred, and
4199
3 if a normal error occurred. (Martin Pool)
4201
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
4202
repository index errors that occured as a result of the Weave disk format.
4203
Instead the ``reconcile`` command needs to be run to correct those
4204
problems if they exist (and it has been able to fix most such problems
4205
since bzr 0.8). Some new problems have been identified during this release
4206
and you should run ``bzr check`` once on every repository to see if you
4207
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
4208
repository due to mismatched parent errors - a symptom of index errors -
4209
you should simply take a full copy of that remote repository to a clean
4210
directory outside any local repositories, then run reconcile on it, and
4211
finally pull from it locally. (And naturally email the repositories owner
4212
to ask them to upgrade and run reconcile).
4218
* New ``knitpack-experimental`` repository format. This is interoperable with
4219
the ``dirstate-tags`` format but uses a smarter storage design that greatly
4220
speeds up many operations, both local and remote. This new format can be
4221
used as an option to the ``init``, ``init-repository`` and ``upgrade``
4222
commands. (Robert Collins)
4224
* For users of bzr-svn (and those testing the prototype subtree support) that
4225
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
4226
been added. This is interoperable with the ``dirstate-subtrees`` format.
4229
* New ``reconfigure`` command. (Aaron Bentley)
4231
* New ``revert --forget-merges`` command, which removes the record of a pending
4232
merge without affecting the working tree contents. (Martin Pool)
4234
* New ``bzr_remote_path`` configuration variable allows finer control of
4235
remote bzr locations than BZR_REMOTE_PATH environment variable.
4238
* New ``launchpad-login`` command to tell Bazaar your Launchpad
4239
user ID. This can then be used by other functions of the
4240
Launchpad plugin. (James Henstridge)
4245
* Commit in quiet mode is now slightly faster as the information to
4246
output is no longer calculated. (Ian Clatworthy)
4248
* Commit no longer checks for new text keys during insertion when the
4249
revision id was deterministically unique. (Robert Collins)
4251
* Committing a change which is not a merge and does not change the number of
4252
files in the tree is faster by utilising the data about whether files are
4253
changed to determine if the tree is unchanged rather than recalculating
4254
it at the end of the commit process. (Robert Collins)
4256
* Inventory serialisation no longer double-sha's the content.
4259
* Knit text reconstruction now avoids making copies of the lines list for
4260
interim texts when building a single text. The new ``apply_delta`` method
4261
on ``KnitContent`` aids this by allowing modification of the revision id
4262
such objects represent. (Robert Collins)
4264
* Pack indices are now partially parsed for specific key lookup using a
4265
bisection approach. (Robert Collins)
4267
* Partial commits are now approximately 40% faster by walking over the
4268
unselected current tree more efficiently. (Robert Collins)
4270
* XML inventory serialisation takes 20% less time while being stricter about
4271
the contents. (Robert Collins)
4273
* Graph ``heads()`` queries have been fixed to no longer access all history
4274
unnecessarily. (Robert Collins)
4279
* ``bzr+https://`` smart server across https now supported.
4280
(John Ferlito, Martin Pool, #128456)
4282
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
4283
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
4285
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
4286
changes from one revision. (Alexander Belchenko, #141368)
4288
* Show encodings, locale and list of plugins in the traceback message.
4289
(Martin Pool, #63894)
4291
* Experimental directory formats can now be marked with
4292
``experimental = True`` during registration. (Ian Clatworthy)
4297
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
4299
* The hooks reference documentation is now converted to html as expected.
4305
* Connection error reporting for the smart server has been fixed to
4306
display a user friendly message instead of a traceback.
4307
(Ian Clatworthy, #115601)
4309
* Make sure to use ``O_BINARY`` when opening files to check their
4310
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
4312
* Fix a problem with Win32 handling of the executable bit.
4313
(John Arbash Meinel, #149113)
4315
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
4316
no longer assume that means port 22. This allows people using OpenSSH to
4317
override the default port in their ``~/.ssh/config`` if they wish. This
4318
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
4320
* Commands reporting exceptions can now be profiled and still have their
4321
data correctly dumped to a file. For example, a ``bzr commit`` with
4322
no changes still reports the operation as pointless but doing so no
4323
longer throws away the profiling data if this command is run with
4324
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
4326
* Fallback to ftp when paramiko is not installed and sftp can't be used for
4327
``tests/commands`` so that the test suite is still usable without
4329
(Vincent Ladeuil, #59150)
4331
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
4333
* Fix long standing bug in partial commit when there are renames
4334
left in tree. (Robert Collins, #140419)
4336
* Fix selftest semi-random noise during http related tests.
4337
(Vincent Ladeuil, #140614)
4339
* Fix typo in ftp.py making the reconnection fail on temporary errors.
4340
(Vincent Ladeuil, #154259)
4342
* Fix failing test by comparing real paths to cover the case where the TMPDIR
4343
contains a symbolic link.
4344
(Vincent Ladeuil, #141382).
4346
* Fix log against smart server branches that don't support tags.
4347
(James Westby, #140615)
4349
* Fix pycurl http implementation by defining error codes from
4350
pycurl instead of relying on an old curl definition.
4351
(Vincent Ladeuil, #147530)
4353
* Fix 'unprintable error' message when displaying BzrCheckError and
4354
some other exceptions on Python 2.5.
4355
(Martin Pool, #144633)
4357
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
4359
* Handles default value for ListOption in cmd_commit.
4360
(Vincent Ladeuil, #140432)
4362
* HttpServer and FtpServer need to be closed properly or a listening socket
4364
(Vincent Ladeuil, #140055)
4366
* Monitor the .bzr directory created in the top level test
4367
directory to detect leaking tests.
4368
(Vincent Ladeuil, #147986)
4370
* The basename, not the full path, is now used when checking whether
4371
the profiling dump file begins with ``callgrind.out`` or not. This
4372
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
4374
* Trivial fix for invoking command ``reconfigure`` without arguments.
4377
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
4378
new path causes bzr to be unable to access the file. (Robert Collins)
4380
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
4386
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
4387
constructor, for enabling bisection searches. (Robert Collins)
4389
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
4390
tree be supplied to it, previously failing to do so would trigger a
4391
deprecation warning. (Robert Collins)
4393
* ``KnitVersionedFile.add*`` will no longer cache added records even when
4394
enable_cache() has been called - the caching feature is now exclusively for
4395
reading existing data. (Robert Collins)
4397
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
4398
appropriate. (Martin Pool)
4400
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
4401
``trace+`` transport instead. (Robert Collins)
4403
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
4404
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
4407
* Removed previous deprecated ``basis_knit`` parameter to the
4408
``KnitVersionedFile`` constructor. (Robert Collins)
4410
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
4411
class that needs it.
4414
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
4415
``KnitRepository`` by parameters to the constructor. (Robert Collins)
4417
* The ``VersionedFile`` interface now allows content checks to be bypassed
4418
by supplying check_content=False. This saves nearly 30% of the minimum
4419
cost to store a version of a file. (Robert Collins)
4421
* Tree's with bad state such as files with no length or sha will no longer
4422
be silently accepted by the repository XML serialiser. To serialise
4423
inventories without such data, pass working=True to write_inventory.
4426
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
4427
``VersionedFile.join`` will no longer accept different parents on either
4428
side of a join - it will either ignore them, or error, depending on the
4429
implementation. See notes when upgrading for more information.
4435
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
4436
put by the method call, to allow avoiding stat-after-write or
4437
housekeeping in callers. (Robert Collins)
4439
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
4440
mandatory attributes are present on serialisation and deserialisation.
4441
This fixes some holes in API usage and allows better separation between
4442
physical storage and object serialisation. (Robert Collins)
4444
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
4445
shorthand for deriving from BzrError and setting internal_error = True.
4448
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
4449
moving the state of a parent tree to a new version via a delta rather than
4450
a complete replacement tree. (Robert Collins)
4452
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
4453
duplication from user input, when a user mentions both a path and an item
4454
contained within that path. (Robert Collins)
4456
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
4457
determining if a repository is write locked. (Robert Collins)
4459
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
4460
tuple containing the key information about a path for commit processing
4461
to complete. (Robert Collins)
4463
* New method on xml serialisers, write_inventory_to_lines, which matches the
4464
API used by knits for adding content. (Robert Collins)
4466
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
4467
logic, currently only available for byte-based lookup
4468
(``bisect_multi_bytes``). (Robert Collins)
4470
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
4471
and returns a gzipped version of the same. This is used to avoid a bunch
4472
of api friction during adding of knit hunks. (Robert Collins)
4474
* New parameter on ``bzrlib.transport.Transport.readv``
4475
``adjust_for_latency`` which changes readv from returning strictly the
4476
requested data to inserted return larger ranges and in forward read order
4477
to reduce the effect of network latency. (Robert Collins)
4479
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
4480
causes the parents of a selected id to be returned recursively, so all the
4481
paths from the root down to each element of selected_file_ids are
4482
returned. (Robert Collins)
4484
* Knit joining has been enhanced to support plain to annotated conversion
4485
and annotated to plain conversion. (Ian Clatworthy)
4487
* The CommitBuilder method ``record_entry_contents`` now returns summary
4488
information about the effect of the commit on the repository. This tuple
4489
contains an inventory delta item if the entry changed from the basis, and a
4490
boolean indicating whether a new file graph node was recorded.
4493
* The python path used in the Makefile can now be overridden.
4494
(Andrew Bennetts, Ian Clatworthy)
4499
* New transport implementation ``trace+`` which is useful for testing,
4500
logging activity taken to its _activity attribute. (Robert Collins)
4502
* When running bzr commands within the test suite, internal exceptions are
4503
not caught and reported in the usual way, but rather allowed to propagate
4504
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
4505
makes this behavior available to other users.
4508
* New method ``TestCase.call_catch_warnings`` for testing methods that
4509
raises a Python warning. (Martin Pool)
4255
4512
bzr 0.91 2007-09-26
4260
* Print a warning instead of aborting the ``python setup.py install``
4261
process if building of a C extension is not possible.
4262
(Lukáš Lalinský, Alexander Belchenko)
4264
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4266
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
4267
an implicit port. We were incorrectly raising PathNotChild due to
4268
inconsistent treatment of the ''_port'' attribute on the Transport object.
4269
(Andrew Bennetts, #133965)
4271
* Make RemoteRepository.sprout cope gracefully with servers that don't
4272
support the ``Repository.tarball`` request.
4518
* Print a warning instead of aborting the ``python setup.py install``
4519
process if building of a C extension is not possible.
4520
(Lukáš Lalinský, Alexander Belchenko)
4522
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4524
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
4525
an implicit port. We were incorrectly raising PathNotChild due to
4526
inconsistent treatment of the ''_port'' attribute on the Transport object.
4527
(Andrew Bennetts, #133965)
4529
* Make RemoteRepository.sprout cope gracefully with servers that don't
4530
support the ``Repository.tarball`` request.
4276
4534
bzr 0.91rc2 2007-09-11
4277
----------------------
4535
######################
4279
* Replaced incorrect tarball for previous release; a debug statement was left
4280
in bzrlib/remote.py.
4537
* Replaced incorrect tarball for previous release; a debug statement was left
4538
in bzrlib/remote.py.
4283
4541
bzr 0.91rc1 2007-09-11
4284
----------------------
4288
* The default branch and repository format has changed to
4289
``dirstate-tags``, so tag commands are active by default.
4290
This format is compatible with Bazaar 0.15 and later.
4291
This incidentally fixes bug #126141.
4294
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
4295
must now appear after the command name. Scripts doing things like
4296
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
4301
* New option ``--author`` in ``bzr commit`` to specify the author of the
4302
change, if it's different from the committer. ``bzr log`` and
4303
``bzr annotate`` display the author instead of the committer.
4306
* In addition to global options and command specific options, a set of
4307
standard options are now supported. Standard options are legal for
4308
all commands. The initial set of standard options are:
4310
* ``--help`` or ``-h`` - display help message
4311
* ``--verbose`` or ``-v`` - display additional information
4312
* ``--quiet`` or ``-q`` - only output warnings and errors.
4314
Unlike global options, standard options can be used in aliases and
4315
may have command-specific help. (Ian Clatworthy)
4317
* Verbosity level processing has now been unified. If ``--verbose``
4318
or ``-v`` is specified on the command line multiple times, the
4319
verbosity level is made positive the first time then increased.
4320
If ``--quiet`` or ``-q`` is specified on the command line
4321
multiple times, the verbosity level is made negative the first
4322
time then decreased. To get the default verbosity level of zero,
4323
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
4324
Note that most commands currently ignore the magnitude of the
4325
verbosity level but do respect *quiet vs normal vs verbose* when
4326
generating output. (Ian Clatworthy)
4328
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
4329
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
4331
* New ``Repository.stream_knit_data_for_revisions`` request added to the
4332
network protocol for greatly reduced roundtrips when retrieving a set of
4333
revisions. (Andrew Bennetts)
4337
* ``bzr plugins`` now lists the version number for each plugin in square
4338
brackets after the path. (Robert Collins, #125421)
4340
* Pushing, pulling and branching branches with subtree references was not
4341
copying the subtree weave, preventing the file graph from being accessed
4342
and causing errors in commits in clones. (Robert Collins)
4344
* Suppress warning "integer argument expected, got float" from Paramiko,
4345
which sometimes caused false test failures. (Martin Pool)
4347
* Fix bug in bundle 4 that could cause attempts to write data to wrong
4348
versionedfile. (Aaron Bentley)
4350
* Diffs generated using "diff -p" no longer break the patch parser.
4353
* get_transport treats an empty possible_transports list the same as a non-
4354
empty one. (Aaron Bentley)
4356
* patch verification for merge directives is reactivated, and works with
4357
CRLF and CR files. (Aaron Bentley)
4359
* Accept ..\ as a path in revision specifiers. This fixes for example
4360
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
4362
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
4363
(Blake Winton, #129299)
4365
* man page no longer lists hidden options (#131667, Aaron Bentley)
4367
* ``uncommit --help`` now explains the -r option adequately. (Daniel
4370
* Error messages are now better formatted with parameters (such as
4371
filenames) quoted when necessary. This avoids confusion when directory
4372
names ending in a '.' at the end of messages were confused with a
4373
full stop that may or not have been there. (Daniel Watkins, #129791)
4375
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
4377
* If a particular command is an alias, ``help`` will show the alias
4378
instead of claiming there is no help for said alias. (Daniel Watkins,
4381
* TreeTransform-based operations, like pull, merge, revert, and branch,
4382
now roll back if they encounter an error. (Aaron Bentley, #67699)
4384
* ``bzr commit`` now exits cleanly if a character unsupported by the
4385
current encoding is used in the commit message. (Daniel Watkins,
4388
* bzr send uses default values for ranges when only half of an elipsis
4389
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
4391
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
4392
binary is present. (Martin Albisetti, #107155)
4394
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
4395
needing ``--force``) subtrees that contain no files with text changes or
4396
modified files. With ``--force`` it removes the subtree regardless of
4397
text changes or unknown files. Directories with renames in or out (but
4398
not changed otherwise) will now be removed without needing ``--force``.
4399
Unknown ignored files will be deleted without needing ``--force``.
4400
(Marius Kruger, #111665)
4402
* When two plugins conflict, the source of both the losing and now the
4403
winning definition is shown. (Konstantin Mikhaylov, #5454)
4405
* When committing to a branch, the location being committed to is
4406
displayed. (Daniel Watkins, #52479)
4408
* ``bzr --version`` takes care about encoding of stdout, especially
4409
when output is redirected. (Alexander Belchenko, #131100)
4411
* Prompt for an ftp password if none is provided.
4412
(Vincent Ladeuil, #137044)
4414
* Reuse bound branch associated transport to avoid multiple
4416
(Vincent Ladeuil, #128076, #131396)
4418
* Overwrite conflicting tags by ``push`` and ``pull`` if the
4419
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
4421
* In checkouts, tags are copied into the master branch when created,
4422
changed or deleted, and are copied into the checkout when it is
4423
updated. (Martin Pool, #93856, #93860)
4425
* Print a warning instead of aborting the ``python setup.py install``
4426
process if building of a C extension is not possible.
4427
(Lukáš Lalinský, Alexander Belchenko)
4431
* Add the option "--show-diff" to the commit command in order to display
4432
the diff during the commit log creation. (Goffredo Baroncelli)
4434
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
4437
* ``pull -v`` no longer includes deltas, making it much faster.
4440
* ``send`` now sends the directive as an attachment by default.
4441
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
4443
* Documentation updates (Martin Albisetti)
4445
* Help on debug flags is now included in ``help global-options``.
4446
(Daniel Watkins, #124853)
4448
* Parameters passed on the command line are checked to ensure they are
4449
supported by the encoding in use. (Daniel Watkins)
4451
* The compression used within the bzr repository has changed from zlib
4452
level 9 to the zlib default level. This improves commit performance with
4453
only a small increase in space used (and in some cases a reduction in
4454
space). (Robert Collins)
4456
* Initial commit no longer SHAs files twice and now reuses the path
4457
rather than looking it up again, making it faster.
4460
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
4461
changes in one revision. (Lukáš Lalinský)
4463
* If versioned files match a given ignore pattern, a warning is now
4464
given. (Daniel Watkins, #48623)
4466
* ``bzr status`` now has -S as a short name for --short and -V as a
4467
short name for --versioned. These have been added to assist users
4468
migrating from Subversion: ``bzr status -SV`` is now like
4469
``svn status -q``. (Daniel Watkins, #115990)
4471
* Added C implementation of ``PatienceSequenceMatcher``, which is about
4472
10x faster than the Python version. This speeds up commands that
4473
need file diffing, such as ``bzr commit`` or ``bzr diff``.
4476
* HACKING has been extended with a large section on core developer tasks.
4479
* Add ``branches`` and ``standalone-trees`` as online help topics and
4480
include them as Concepts within the User Reference.
4481
(Paul Moore, Ian Clatworthy)
4483
* ``check`` can detect versionedfile parent references that are
4484
inconsistent with revision and inventory info, and ``reconcile`` can fix
4485
them. These faulty references were generated by 0.8-era releases,
4486
so repositories which were manipulated by old bzrs should be
4487
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
4491
* ``Branch.append_revision`` is removed altogether; please use
4492
``Branch.set_last_revision_info`` instead. (Martin Pool)
4494
* CommitBuilder now advertises itself as requiring the root entry to be
4495
supplied. This only affects foreign repository implementations which reuse
4496
CommitBuilder directly and have changed record_entry_contents to require
4497
that the root not be supplied. This should be precisely zero plugins
4498
affected. (Robert Collins)
4500
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
4501
its return value to include the sha1 and length of the inserted text. This
4502
allows the avoidance of double-sha1 calculations during commit.
4505
* ``Transport.should_cache`` has been removed. It was not called in the
4506
previous release. (Martin Pool)
4510
* Tests may now raise TestNotApplicable to indicate they shouldn't be
4511
run in a particular scenario. (Martin Pool)
4513
* New function multiply_tests_from_modules to give a simpler interface
4514
to test parameterization. (Martin Pool, Robert Collins)
4516
* ``Transport.should_cache`` has been removed. It was not called in the
4517
previous release. (Martin Pool)
4519
* NULL_REVISION is returned to indicate the null revision, not None.
4522
* Use UTF-8 encoded StringIO for log tests to avoid failures on
4523
non-ASCII committer names. (Lukáš Lalinský)
4527
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
4528
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
4529
useful functionality for determining the path of a plugin, its tests, and
4530
its version information. (Robert Collins)
4532
* Add the option user_encoding to the function 'show_diff_trees()'
4533
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
4535
* Add the function make_commit_message_template_encoded() and the function
4536
edit_commit_message_encoded() which handle encoded strings.
4537
This is done in order to mix the commit messages (which is a unicode
4538
string), and the diff which is a raw string. (Goffredo Baroncelli)
4540
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
4541
overhead on non-weave repositories which don't require all parents to be
4542
present. (Robert Collins)
4544
* Deprecated method ``find_previous_heads`` on
4545
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
4546
of ``parent_candidates`` and a separate heads check via the repository
4547
API. (Robert Collins)
4549
* New trace function ``mutter_callsite`` will print out a subset of the
4550
stack to the log, which can be useful for gathering debug details.
4553
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
4554
added via a public attribute records_written. (Robert Collins)
4556
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
4557
This provides a hint to users of transports as to the reasonable
4558
minimum data to read. In principle this can take latency and
4559
bandwidth into account on a per-connection basis, but for now it
4560
just has hard coded values based on the url. (e.g. http:// has a large
4561
page size, file:// has a small one.) (Robert Collins)
4563
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
4564
incremental addition of data to a file without requiring that all the
4565
data be buffered in memory. (Robert Collins)
4567
* New methods on ``bzrlib.knit.KnitVersionedFile``:
4568
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
4569
``get_format_signature()``. These provide some infrastructure for
4570
efficiently streaming the knit data for a set of versions over the smart
4573
* Knits with no annotation cache still produce correct annotations.
4576
* Three new methods have been added to ``bzrlib.trace``:
4577
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
4578
``set_verbosity_level`` expects a numeric value: negative for quiet,
4579
zero for normal, positive for verbose. The size of the number can be
4580
used to determine just how quiet or verbose the application should be.
4581
The existing ``be_quiet`` and ``is_quiet`` routines have been
4582
integrated into this new scheme. (Ian Clatworthy)
4584
* Options can now be delcared with a ``custom_callback`` parameter. If
4585
set, this routine is called after the option is processed. This feature
4586
is now used by the standard options ``verbose`` and ``quiet`` so that
4587
setting one implicitly resets the other. (Ian Clatworthy)
4589
* Rather than declaring a new option from scratch in order to provide
4590
custom help, a centrally registered option can be decorated using the
4591
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
4592
is useful when declaring better help for the ``verbose`` and ``quiet``
4593
standard options as the base definition of these is now more complex
4594
than before thanks to their use of a custom callback. (Ian Clatworthy)
4596
* Tree._iter_changes(specific_file=[]) now iterates through no files,
4597
instead of iterating through all files. None is used to iterate through
4598
all files. (Aaron Bentley)
4600
* WorkingTree.revert() now accepts None to revert all files. The use of
4601
[] to revert all files is deprecated. (Aaron Bentley)
4542
######################
4547
* The default branch and repository format has changed to
4548
``dirstate-tags``, so tag commands are active by default.
4549
This format is compatible with Bazaar 0.15 and later.
4550
This incidentally fixes bug #126141.
4553
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
4554
must now appear after the command name. Scripts doing things like
4555
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
4561
* New option ``--author`` in ``bzr commit`` to specify the author of the
4562
change, if it's different from the committer. ``bzr log`` and
4563
``bzr annotate`` display the author instead of the committer.
4566
* In addition to global options and command specific options, a set of
4567
standard options are now supported. Standard options are legal for
4568
all commands. The initial set of standard options are:
4570
* ``--help`` or ``-h`` - display help message
4571
* ``--verbose`` or ``-v`` - display additional information
4572
* ``--quiet`` or ``-q`` - only output warnings and errors.
4574
Unlike global options, standard options can be used in aliases and
4575
may have command-specific help. (Ian Clatworthy)
4577
* Verbosity level processing has now been unified. If ``--verbose``
4578
or ``-v`` is specified on the command line multiple times, the
4579
verbosity level is made positive the first time then increased.
4580
If ``--quiet`` or ``-q`` is specified on the command line
4581
multiple times, the verbosity level is made negative the first
4582
time then decreased. To get the default verbosity level of zero,
4583
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
4584
Note that most commands currently ignore the magnitude of the
4585
verbosity level but do respect *quiet vs normal vs verbose* when
4586
generating output. (Ian Clatworthy)
4588
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
4589
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
4591
* New ``Repository.stream_knit_data_for_revisions`` request added to the
4592
network protocol for greatly reduced roundtrips when retrieving a set of
4593
revisions. (Andrew Bennetts)
4598
* ``bzr plugins`` now lists the version number for each plugin in square
4599
brackets after the path. (Robert Collins, #125421)
4601
* Pushing, pulling and branching branches with subtree references was not
4602
copying the subtree weave, preventing the file graph from being accessed
4603
and causing errors in commits in clones. (Robert Collins)
4605
* Suppress warning "integer argument expected, got float" from Paramiko,
4606
which sometimes caused false test failures. (Martin Pool)
4608
* Fix bug in bundle 4 that could cause attempts to write data to wrong
4609
versionedfile. (Aaron Bentley)
4611
* Diffs generated using "diff -p" no longer break the patch parser.
4614
* get_transport treats an empty possible_transports list the same as a non-
4615
empty one. (Aaron Bentley)
4617
* patch verification for merge directives is reactivated, and works with
4618
CRLF and CR files. (Aaron Bentley)
4620
* Accept ..\ as a path in revision specifiers. This fixes for example
4621
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
4623
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
4624
(Blake Winton, #129299)
4626
* man page no longer lists hidden options (#131667, Aaron Bentley)
4628
* ``uncommit --help`` now explains the -r option adequately. (Daniel
4631
* Error messages are now better formatted with parameters (such as
4632
filenames) quoted when necessary. This avoids confusion when directory
4633
names ending in a '.' at the end of messages were confused with a
4634
full stop that may or not have been there. (Daniel Watkins, #129791)
4636
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
4638
* If a particular command is an alias, ``help`` will show the alias
4639
instead of claiming there is no help for said alias. (Daniel Watkins,
4642
* TreeTransform-based operations, like pull, merge, revert, and branch,
4643
now roll back if they encounter an error. (Aaron Bentley, #67699)
4645
* ``bzr commit`` now exits cleanly if a character unsupported by the
4646
current encoding is used in the commit message. (Daniel Watkins,
4649
* bzr send uses default values for ranges when only half of an elipsis
4650
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
4652
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
4653
binary is present. (Martin Albisetti, #107155)
4655
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
4656
needing ``--force``) subtrees that contain no files with text changes or
4657
modified files. With ``--force`` it removes the subtree regardless of
4658
text changes or unknown files. Directories with renames in or out (but
4659
not changed otherwise) will now be removed without needing ``--force``.
4660
Unknown ignored files will be deleted without needing ``--force``.
4661
(Marius Kruger, #111665)
4663
* When two plugins conflict, the source of both the losing and now the
4664
winning definition is shown. (Konstantin Mikhaylov, #5454)
4666
* When committing to a branch, the location being committed to is
4667
displayed. (Daniel Watkins, #52479)
4669
* ``bzr --version`` takes care about encoding of stdout, especially
4670
when output is redirected. (Alexander Belchenko, #131100)
4672
* Prompt for an ftp password if none is provided.
4673
(Vincent Ladeuil, #137044)
4675
* Reuse bound branch associated transport to avoid multiple
4677
(Vincent Ladeuil, #128076, #131396)
4679
* Overwrite conflicting tags by ``push`` and ``pull`` if the
4680
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
4682
* In checkouts, tags are copied into the master branch when created,
4683
changed or deleted, and are copied into the checkout when it is
4684
updated. (Martin Pool, #93856, #93860)
4686
* Print a warning instead of aborting the ``python setup.py install``
4687
process if building of a C extension is not possible.
4688
(Lukáš Lalinský, Alexander Belchenko)
4693
* Add the option "--show-diff" to the commit command in order to display
4694
the diff during the commit log creation. (Goffredo Baroncelli)
4696
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
4699
* ``pull -v`` no longer includes deltas, making it much faster.
4702
* ``send`` now sends the directive as an attachment by default.
4703
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
4705
* Documentation updates (Martin Albisetti)
4707
* Help on debug flags is now included in ``help global-options``.
4708
(Daniel Watkins, #124853)
4710
* Parameters passed on the command line are checked to ensure they are
4711
supported by the encoding in use. (Daniel Watkins)
4713
* The compression used within the bzr repository has changed from zlib
4714
level 9 to the zlib default level. This improves commit performance with
4715
only a small increase in space used (and in some cases a reduction in
4716
space). (Robert Collins)
4718
* Initial commit no longer SHAs files twice and now reuses the path
4719
rather than looking it up again, making it faster.
4722
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
4723
changes in one revision. (Lukáš Lalinský)
4725
* If versioned files match a given ignore pattern, a warning is now
4726
given. (Daniel Watkins, #48623)
4728
* ``bzr status`` now has -S as a short name for --short and -V as a
4729
short name for --versioned. These have been added to assist users
4730
migrating from Subversion: ``bzr status -SV`` is now like
4731
``svn status -q``. (Daniel Watkins, #115990)
4733
* Added C implementation of ``PatienceSequenceMatcher``, which is about
4734
10x faster than the Python version. This speeds up commands that
4735
need file diffing, such as ``bzr commit`` or ``bzr diff``.
4738
* HACKING has been extended with a large section on core developer tasks.
4741
* Add ``branches`` and ``standalone-trees`` as online help topics and
4742
include them as Concepts within the User Reference.
4743
(Paul Moore, Ian Clatworthy)
4745
* ``check`` can detect versionedfile parent references that are
4746
inconsistent with revision and inventory info, and ``reconcile`` can fix
4747
them. These faulty references were generated by 0.8-era releases,
4748
so repositories which were manipulated by old bzrs should be
4749
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
4754
* ``Branch.append_revision`` is removed altogether; please use
4755
``Branch.set_last_revision_info`` instead. (Martin Pool)
4757
* CommitBuilder now advertises itself as requiring the root entry to be
4758
supplied. This only affects foreign repository implementations which reuse
4759
CommitBuilder directly and have changed record_entry_contents to require
4760
that the root not be supplied. This should be precisely zero plugins
4761
affected. (Robert Collins)
4763
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
4764
its return value to include the sha1 and length of the inserted text. This
4765
allows the avoidance of double-sha1 calculations during commit.
4768
* ``Transport.should_cache`` has been removed. It was not called in the
4769
previous release. (Martin Pool)
4774
* Tests may now raise TestNotApplicable to indicate they shouldn't be
4775
run in a particular scenario. (Martin Pool)
4777
* New function multiply_tests_from_modules to give a simpler interface
4778
to test parameterization. (Martin Pool, Robert Collins)
4780
* ``Transport.should_cache`` has been removed. It was not called in the
4781
previous release. (Martin Pool)
4783
* NULL_REVISION is returned to indicate the null revision, not None.
4786
* Use UTF-8 encoded StringIO for log tests to avoid failures on
4787
non-ASCII committer names. (Lukáš Lalinský)
4792
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
4793
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
4794
useful functionality for determining the path of a plugin, its tests, and
4795
its version information. (Robert Collins)
4797
* Add the option user_encoding to the function 'show_diff_trees()'
4798
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
4800
* Add the function make_commit_message_template_encoded() and the function
4801
edit_commit_message_encoded() which handle encoded strings.
4802
This is done in order to mix the commit messages (which is a unicode
4803
string), and the diff which is a raw string. (Goffredo Baroncelli)
4805
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
4806
overhead on non-weave repositories which don't require all parents to be
4807
present. (Robert Collins)
4809
* Deprecated method ``find_previous_heads`` on
4810
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
4811
of ``parent_candidates`` and a separate heads check via the repository
4812
API. (Robert Collins)
4814
* New trace function ``mutter_callsite`` will print out a subset of the
4815
stack to the log, which can be useful for gathering debug details.
4818
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
4819
added via a public attribute records_written. (Robert Collins)
4821
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
4822
This provides a hint to users of transports as to the reasonable
4823
minimum data to read. In principle this can take latency and
4824
bandwidth into account on a per-connection basis, but for now it
4825
just has hard coded values based on the url. (e.g. http:// has a large
4826
page size, file:// has a small one.) (Robert Collins)
4828
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
4829
incremental addition of data to a file without requiring that all the
4830
data be buffered in memory. (Robert Collins)
4832
* New methods on ``bzrlib.knit.KnitVersionedFile``:
4833
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
4834
``get_format_signature()``. These provide some infrastructure for
4835
efficiently streaming the knit data for a set of versions over the smart
4838
* Knits with no annotation cache still produce correct annotations.
4841
* Three new methods have been added to ``bzrlib.trace``:
4842
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
4843
``set_verbosity_level`` expects a numeric value: negative for quiet,
4844
zero for normal, positive for verbose. The size of the number can be
4845
used to determine just how quiet or verbose the application should be.
4846
The existing ``be_quiet`` and ``is_quiet`` routines have been
4847
integrated into this new scheme. (Ian Clatworthy)
4849
* Options can now be delcared with a ``custom_callback`` parameter. If
4850
set, this routine is called after the option is processed. This feature
4851
is now used by the standard options ``verbose`` and ``quiet`` so that
4852
setting one implicitly resets the other. (Ian Clatworthy)
4854
* Rather than declaring a new option from scratch in order to provide
4855
custom help, a centrally registered option can be decorated using the
4856
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
4857
is useful when declaring better help for the ``verbose`` and ``quiet``
4858
standard options as the base definition of these is now more complex
4859
than before thanks to their use of a custom callback. (Ian Clatworthy)
4861
* Tree._iter_changes(specific_file=[]) now iterates through no files,
4862
instead of iterating through all files. None is used to iterate through
4863
all files. (Aaron Bentley)
4865
* WorkingTree.revert() now accepts None to revert all files. The use of
4866
[] to revert all files is deprecated. (Aaron Bentley)
4604
4869
bzr 0.90 2007-08-28
4609
* Documentation is now organized into multiple directories with a level
4610
added for different languages or locales. Added the Mini Tutorial
4611
and Quick Start Summary (en) documents from the Wiki, improving the
4612
content and readability of the former. Formatted NEWS as Release Notes
4613
complete with a Table of Conents, one heading per release. Moved the
4614
Developer Guide into the main document catalog and provided a link
4615
from the developer document catalog back to the main one.
4616
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
4621
* The static convenience method ``BzrDir.create_repository``
4622
is deprecated. Callers should instead create a ``BzrDir`` instance
4623
and call ``create_repository`` on that. (Martin Pool)
4875
* Documentation is now organized into multiple directories with a level
4876
added for different languages or locales. Added the Mini Tutorial
4877
and Quick Start Summary (en) documents from the Wiki, improving the
4878
content and readability of the former. Formatted NEWS as Release Notes
4879
complete with a Table of Conents, one heading per release. Moved the
4880
Developer Guide into the main document catalog and provided a link
4881
from the developer document catalog back to the main one.
4882
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
4888
* The static convenience method ``BzrDir.create_repository``
4889
is deprecated. Callers should instead create a ``BzrDir`` instance
4890
and call ``create_repository`` on that. (Martin Pool)
4626
4893
bzr 0.90rc1 2007-08-14
4627
----------------------
4631
* ``bzr init`` should connect to the remote location one time only. We
4632
have been connecting several times because we forget to pass around the
4633
Transport object. This modifies ``BzrDir.create_branch_convenience``,
4634
so that we can give it the Transport we already have.
4635
(John Arbash Meinel, Vincent Ladeuil, #111702)
4637
* Get rid of sftp connection cache (get rid of the FTP one too).
4638
(Vincent Ladeuil, #43731)
4640
* bzr branch {local|remote} remote don't try to create a working tree
4642
(Vincent Ladeuil, #112173)
4644
* All identified multiple connections for a single bzr command have been
4645
fixed. See bzrlib/tests/commands directory.
4648
* ``bzr rm`` now does not insist on ``--force`` to delete files that
4649
have been renamed but not otherwise modified. (Marius Kruger,
4652
* ``bzr selftest --bench`` no longer emits deprecation warnings
4655
* ``bzr status`` now honours FILE parameters for conflict lists
4656
(Aaron Bentley, #127606)
4658
* ``bzr checkout`` now honours -r when reconstituting a working tree.
4659
It also honours -r 0. (Aaron Bentley, #127708)
4661
* ``bzr add *`` no more fails on Windows if working tree contains
4662
non-ascii file names. (Kuno Meyer, #127361)
4664
* allow ``easy_install bzr`` runs without fatal errors.
4665
(Alexander Belchenko, #125521)
4667
* Graph._filter_candidate_lca does not raise KeyError if a candidate
4668
is eliminated just before it would normally be examined. (Aaron Bentley)
4670
* SMTP connection failures produce a nice message, not a traceback.
4675
* Don't show "dots" progress indicators when run non-interactively, such
4676
as from cron. (Martin Pool)
4678
* ``info`` now formats locations more nicely and lists "submit" and
4679
"public" branches (Aaron Bentley)
4681
* New ``pack`` command that will trigger database compression within
4682
the repository (Robert Collins)
4684
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4685
version is approximately 2-3x faster at parsing a ``.kndx`` file.
4686
Which yields a measurable improvement for commands which have to
4687
read from the repository, such as a 1s => 0.75s improvement in
4688
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
4690
* Merge is now faster. Depending on the scenario, it can be more than 2x
4691
faster. (Aaron Bentley)
4693
* Give a clearer warning, and allow ``python setup.py install`` to
4694
succeed even if pyrex is not available.
4695
(John Arbash Meinel)
4697
* ``DirState._read_dirblocks`` now has an optional Pyrex
4698
implementation. This improves the speed of any command that has to
4699
read the entire DirState. (``diff``, ``status``, etc, improve by
4701
``bisect_dirblocks`` has also been improved, which helps all
4702
``_get_entry`` type calls (whenever we are searching for a
4703
particular entry in the in-memory DirState).
4704
(John Arbash Meinel)
4706
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4707
branch revision history for ui display unless -v is supplied.
4710
* ``bzr log -rA..B`` output shifted to the left margin if the log only
4711
contains merge revisions. (Kent Gibson)
4713
* The ``plugins`` command is now public with improved help.
4716
* New bundle and merge directive formats are faster to generate, and
4718
* Annotate merge now works when there are local changes. (Aaron Bentley)
4720
* Commit now only shows the progress in terms of directories instead of
4721
entries. (Ian Clatworthy)
4723
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4724
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4727
* Fix ``VersionedFile.get_graph()`` to avoid using
4728
``set.difference_update(other)``, which has bad scaling when
4729
``other`` is large. This improves ``VF.get_graph([version_id])`` for
4730
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
4732
* The ``--lsprof-file`` option now generates output for KCacheGrind if
4733
the file starts with ``callgrind.out``. This matches the default file
4734
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
4736
* Fix ``bzr update`` to avoid an unnecessary
4737
``branch.get_master_branch`` call, which avoids 1 extra connection
4738
to the remote server. (Partial fix for #128076, John Arbash Meinel)
4740
* Log errors from the smart server in the trace file, to make debugging
4741
test failures (and live failures!) easier. (Andrew Bennetts)
4743
* The HTML version of the man page has been superceded by a more
4744
comprehensive manual called the Bazaar User Reference. This manual
4745
is completed generated from the online help topics. As part of this
4746
change, limited reStructuredText is now explicitly supported in help
4747
topics and command help with 'unnatural' markup being removed prior
4748
to display by the online help or inclusion in the man page.
4751
* HTML documentation now use files extension ``*.html``
4752
(Alexander Belchenko)
4754
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
4755
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
4757
* ``bzr selftest --strict`` fails if there are any missing features or
4758
expected test failures. (Daniel Watkins, #111914)
4760
* Link to registration survey added to README. (Ian Clatworthy)
4762
* Windows standalone installer show link to registration survey
4763
when installation finished. (Alexander Belchenko)
4767
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
4768
Options are now required to provide a help string and it must
4769
comply with the style guide by being one or more sentences with an
4770
initial capital and final period. (Martin Pool)
4772
* KnitIndex.get_parents now returns tuples. (Robert Collins)
4774
* Ancient unused ``Repository.text_store`` attribute has been removed.
4777
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
4778
rather than just bytestrings, making it easier to represent multiple
4779
element names. As this interface was not used by any internal facilities
4780
since it was introduced in 0.18 no API compatibility is being preserved.
4781
The serialised form of these packs is identical with 0.18 when a single
4782
element tuple is in use. (Robert Collins)
4786
* merge now uses ``iter_changes`` to calculate changes, which makes room for
4787
future performance increases. It is also more consistent with other
4788
operations that perform comparisons, and reduces reliance on
4789
Tree.inventory. (Aaron Bentley)
4791
* Refactoring of transport classes connected to a remote server.
4792
ConnectedTransport is a new class that serves as a basis for all
4793
transports needing to connect to a remote server. transport.split_url
4794
have been deprecated, use the static method on the object instead. URL
4795
tests have been refactored too.
4798
* Better connection sharing for ConnectedTransport objects.
4799
transport.get_transport() now accepts a 'possible_transports' parameter.
4800
If a newly requested transport can share a connection with one of the
4804
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
4805
the null revision, and consider using ``None`` for this purpose
4806
deprecated. (Aaron Bentley)
4808
* New ``index`` module with abstract index functionality. This will be
4809
used during the planned changes in the repository layer. Currently the
4810
index layer provides a graph aware immutable index, a builder for the
4811
same index type to allow creating them, and finally a composer for
4812
such indices to allow the use of many indices in a single query. The
4813
index performance is not optimised, however the API is stable to allow
4814
development on top of the index. (Robert Collins)
4816
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
4817
their directory sections. This is equivalent to comparing
4818
``path.split('/')``, only without having to split the paths.
4819
This has a Pyrex implementation available.
4820
(John Arbash Meinel)
4822
* New transport decorator 'unlistable+' which disables the list_dir
4823
functionality for testing.
4825
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
4827
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
4828
for performing annotate-merge. (Aaron Bentley)
4830
* New EmailMessage class to create email messages. (Adeodato Simó)
4832
* Unused functions on the private interface KnitIndex have been removed.
4835
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
4836
of a ``index.GraphIndex``. (Robert Collins)
4838
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
4839
the parents of many knit nodes at once, reducing round trips to the
4840
underlying index. (Robert Collins)
4842
* Graph now has an is_ancestor method, various bits use it.
4845
* The ``-Dhpss`` flag now includes timing information. As well as
4846
logging when a new connection is opened. (John Arbash Meinel)
4848
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
4849
callers when inserting data, allowing generation of readv style access
4850
during pack creation, without needing a separate pass across the output
4851
pack to gather such details. (Robert Collins)
4853
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
4854
files that are stored on a transport. (Robert Collins)
4856
* New ``Repository.has_same_location`` method that reports if two
4857
repository objects refer to the same repository (although with some risk
4858
of false negatives). (Andrew Bennetts)
4860
* InterTree.compare now passes require_versioned on correctly.
4863
* New methods on Repository - ``start_write_group``,
4864
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
4865
which provide a clean hook point for transactional Repositories - ones
4866
where all the data for a fetch or commit needs to be made atomically
4867
available in one step. This allows the write lock to remain while making
4868
a series of data insertions. (e.g. data conversion). (Robert Collins)
4870
* In ``bzrlib.knit`` the internal interface has been altered to use
4871
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
4872
describe where data in a knit is, allowing knits to be split into
4873
many files. (Robert Collins)
4875
* ``bzrlib.knit._KnitData`` split into cache management and physical access
4876
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
4877
The former provides access into a .pack file, and the latter provides the
4878
current production repository form of .knit files. (Robert Collins)
4882
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
4883
``--keep-output`` options, which are obsolete now that tests
4884
are done within directories in $TMPDIR. (Martin Pool)
4886
* The SSH_AUTH_SOCK environment variable is now reset to avoid
4887
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
4889
* run_bzr_subprocess handles parameters the same way as run_bzr:
4890
either a string or a list of strings should be passed as the first
4891
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
4894
######################
4899
* ``bzr init`` should connect to the remote location one time only. We
4900
have been connecting several times because we forget to pass around the
4901
Transport object. This modifies ``BzrDir.create_branch_convenience``,
4902
so that we can give it the Transport we already have.
4903
(John Arbash Meinel, Vincent Ladeuil, #111702)
4905
* Get rid of sftp connection cache (get rid of the FTP one too).
4906
(Vincent Ladeuil, #43731)
4908
* bzr branch {local|remote} remote don't try to create a working tree
4910
(Vincent Ladeuil, #112173)
4912
* All identified multiple connections for a single bzr command have been
4913
fixed. See bzrlib/tests/commands directory.
4916
* ``bzr rm`` now does not insist on ``--force`` to delete files that
4917
have been renamed but not otherwise modified. (Marius Kruger,
4920
* ``bzr selftest --bench`` no longer emits deprecation warnings
4923
* ``bzr status`` now honours FILE parameters for conflict lists
4924
(Aaron Bentley, #127606)
4926
* ``bzr checkout`` now honours -r when reconstituting a working tree.
4927
It also honours -r 0. (Aaron Bentley, #127708)
4929
* ``bzr add *`` no more fails on Windows if working tree contains
4930
non-ascii file names. (Kuno Meyer, #127361)
4932
* allow ``easy_install bzr`` runs without fatal errors.
4933
(Alexander Belchenko, #125521)
4935
* Graph._filter_candidate_lca does not raise KeyError if a candidate
4936
is eliminated just before it would normally be examined. (Aaron Bentley)
4938
* SMTP connection failures produce a nice message, not a traceback.
4944
* Don't show "dots" progress indicators when run non-interactively, such
4945
as from cron. (Martin Pool)
4947
* ``info`` now formats locations more nicely and lists "submit" and
4948
"public" branches (Aaron Bentley)
4950
* New ``pack`` command that will trigger database compression within
4951
the repository (Robert Collins)
4953
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4954
version is approximately 2-3x faster at parsing a ``.kndx`` file.
4955
Which yields a measurable improvement for commands which have to
4956
read from the repository, such as a 1s => 0.75s improvement in
4957
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
4959
* Merge is now faster. Depending on the scenario, it can be more than 2x
4960
faster. (Aaron Bentley)
4962
* Give a clearer warning, and allow ``python setup.py install`` to
4963
succeed even if pyrex is not available.
4964
(John Arbash Meinel)
4966
* ``DirState._read_dirblocks`` now has an optional Pyrex
4967
implementation. This improves the speed of any command that has to
4968
read the entire DirState. (``diff``, ``status``, etc, improve by
4970
``bisect_dirblocks`` has also been improved, which helps all
4971
``_get_entry`` type calls (whenever we are searching for a
4972
particular entry in the in-memory DirState).
4973
(John Arbash Meinel)
4975
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4976
branch revision history for ui display unless -v is supplied.
4979
* ``bzr log -rA..B`` output shifted to the left margin if the log only
4980
contains merge revisions. (Kent Gibson)
4982
* The ``plugins`` command is now public with improved help.
4985
* New bundle and merge directive formats are faster to generate, and
4987
* Annotate merge now works when there are local changes. (Aaron Bentley)
4989
* Commit now only shows the progress in terms of directories instead of
4990
entries. (Ian Clatworthy)
4992
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4993
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4996
* Fix ``VersionedFile.get_graph()`` to avoid using
4997
``set.difference_update(other)``, which has bad scaling when
4998
``other`` is large. This improves ``VF.get_graph([version_id])`` for
4999
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
5001
* The ``--lsprof-file`` option now generates output for KCacheGrind if
5002
the file starts with ``callgrind.out``. This matches the default file
5003
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
5005
* Fix ``bzr update`` to avoid an unnecessary
5006
``branch.get_master_branch`` call, which avoids 1 extra connection
5007
to the remote server. (Partial fix for #128076, John Arbash Meinel)
5009
* Log errors from the smart server in the trace file, to make debugging
5010
test failures (and live failures!) easier. (Andrew Bennetts)
5012
* The HTML version of the man page has been superceded by a more
5013
comprehensive manual called the Bazaar User Reference. This manual
5014
is completed generated from the online help topics. As part of this
5015
change, limited reStructuredText is now explicitly supported in help
5016
topics and command help with 'unnatural' markup being removed prior
5017
to display by the online help or inclusion in the man page.
5020
* HTML documentation now use files extension ``*.html``
5021
(Alexander Belchenko)
5023
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
5024
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
5026
* ``bzr selftest --strict`` fails if there are any missing features or
5027
expected test failures. (Daniel Watkins, #111914)
5029
* Link to registration survey added to README. (Ian Clatworthy)
5031
* Windows standalone installer show link to registration survey
5032
when installation finished. (Alexander Belchenko)
5037
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
5038
Options are now required to provide a help string and it must
5039
comply with the style guide by being one or more sentences with an
5040
initial capital and final period. (Martin Pool)
5042
* KnitIndex.get_parents now returns tuples. (Robert Collins)
5044
* Ancient unused ``Repository.text_store`` attribute has been removed.
5047
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
5048
rather than just bytestrings, making it easier to represent multiple
5049
element names. As this interface was not used by any internal facilities
5050
since it was introduced in 0.18 no API compatibility is being preserved.
5051
The serialised form of these packs is identical with 0.18 when a single
5052
element tuple is in use. (Robert Collins)
5057
* merge now uses ``iter_changes`` to calculate changes, which makes room for
5058
future performance increases. It is also more consistent with other
5059
operations that perform comparisons, and reduces reliance on
5060
Tree.inventory. (Aaron Bentley)
5062
* Refactoring of transport classes connected to a remote server.
5063
ConnectedTransport is a new class that serves as a basis for all
5064
transports needing to connect to a remote server. transport.split_url
5065
have been deprecated, use the static method on the object instead. URL
5066
tests have been refactored too.
5069
* Better connection sharing for ConnectedTransport objects.
5070
transport.get_transport() now accepts a 'possible_transports' parameter.
5071
If a newly requested transport can share a connection with one of the
5075
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
5076
the null revision, and consider using ``None`` for this purpose
5077
deprecated. (Aaron Bentley)
5079
* New ``index`` module with abstract index functionality. This will be
5080
used during the planned changes in the repository layer. Currently the
5081
index layer provides a graph aware immutable index, a builder for the
5082
same index type to allow creating them, and finally a composer for
5083
such indices to allow the use of many indices in a single query. The
5084
index performance is not optimised, however the API is stable to allow
5085
development on top of the index. (Robert Collins)
5087
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
5088
their directory sections. This is equivalent to comparing
5089
``path.split('/')``, only without having to split the paths.
5090
This has a Pyrex implementation available.
5091
(John Arbash Meinel)
5093
* New transport decorator 'unlistable+' which disables the list_dir
5094
functionality for testing.
5096
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
5098
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
5099
for performing annotate-merge. (Aaron Bentley)
5101
* New EmailMessage class to create email messages. (Adeodato Simó)
5103
* Unused functions on the private interface KnitIndex have been removed.
5106
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
5107
of a ``index.GraphIndex``. (Robert Collins)
5109
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
5110
the parents of many knit nodes at once, reducing round trips to the
5111
underlying index. (Robert Collins)
5113
* Graph now has an is_ancestor method, various bits use it.
5116
* The ``-Dhpss`` flag now includes timing information. As well as
5117
logging when a new connection is opened. (John Arbash Meinel)
5119
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
5120
callers when inserting data, allowing generation of readv style access
5121
during pack creation, without needing a separate pass across the output
5122
pack to gather such details. (Robert Collins)
5124
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
5125
files that are stored on a transport. (Robert Collins)
5127
* New ``Repository.has_same_location`` method that reports if two
5128
repository objects refer to the same repository (although with some risk
5129
of false negatives). (Andrew Bennetts)
5131
* InterTree.compare now passes require_versioned on correctly.
5134
* New methods on Repository - ``start_write_group``,
5135
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
5136
which provide a clean hook point for transactional Repositories - ones
5137
where all the data for a fetch or commit needs to be made atomically
5138
available in one step. This allows the write lock to remain while making
5139
a series of data insertions. (e.g. data conversion). (Robert Collins)
5141
* In ``bzrlib.knit`` the internal interface has been altered to use
5142
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
5143
describe where data in a knit is, allowing knits to be split into
5144
many files. (Robert Collins)
5146
* ``bzrlib.knit._KnitData`` split into cache management and physical access
5147
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
5148
The former provides access into a .pack file, and the latter provides the
5149
current production repository form of .knit files. (Robert Collins)
5154
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
5155
``--keep-output`` options, which are obsolete now that tests
5156
are done within directories in $TMPDIR. (Martin Pool)
5158
* The SSH_AUTH_SOCK environment variable is now reset to avoid
5159
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
5161
* run_bzr_subprocess handles parameters the same way as run_bzr:
5162
either a string or a list of strings should be passed as the first
5163
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
4894
5166
bzr 0.18 2007-07-17
4895
--------------------
4899
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
5167
####################
5172
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
4902
5175
bzr 0.18rc1 2007-07-10
4903
-----------------------
4907
* Do not suppress pipe errors, etc. in non-display commands
4908
(Alexander Belchenko, #87178)
4910
* Display a useful error message when the user requests to annotate
4911
a file that is not present in the specified revision.
4912
(James Westby, #122656)
4914
* Commands that use status flags now have a reference to 'help
4915
status-flags'. (Daniel Watkins, #113436)
4917
* Work around python-2.4.1 inhability to correctly parse the
4918
authentication header.
4919
(Vincent Ladeuil, #121889)
4921
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
4923
* Fix tempfile permissions error in smart server tar bundling under
4924
Windows. (Martin _, #119330)
4926
* Fix detection of directory entries in the inventory. (James Westby)
4928
* Fix handling of http code 400: Bad Request When issuing too many ranges.
4929
(Vincent Ladeuil, #115209)
4931
* Issue a CONNECT request when connecting to an https server
4932
via a proxy to enable SSL tunneling.
4933
(Vincent Ladeuil, #120678)
4935
* Fix ``bzr log -r`` to support selecting merge revisions, both
4936
individually and as part of revision ranges.
4937
(Kent Gibson, #4663)
4939
* Don't leave cruft behind when failing to acquire a lockdir.
4940
(Martin Pool, #109169)
4942
* Don't use the '-f' strace option during tests.
4943
(Vincent Ladeuil, #102019).
4945
* Warn when setting ``push_location`` to a value that will be masked by
4946
locations.conf. (Aaron Bentley, #122286)
4948
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4950
* Make annotate behave in a non-ASCII world (Adeodato Simó).
4954
* The --lsprof-file option now dumps a text rendering of the profiling
4955
information if the filename ends in ".txt". It will also convert the
4956
profiling information to a format suitable for KCacheGrind if the
4957
output filename ends in ".callgrind". Fixes to the lsprofcalltree
4958
conversion process by Jean Paul Calderone and Itamar were also merged.
4959
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
4961
* ``info`` now defaults to non-verbose mode, displaying only paths and
4962
abbreviated format info. ``info -v`` displays all the information
4963
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
4965
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
4968
* The internal ``weave-list`` command has become ``versionedfile-list``,
4969
and now lists knits as well as weaves. (Aaron Bentley)
4971
* Automatic merge base selection uses a faster algorithm that chooses
4972
better bases in criss-cross merge situations (Aaron Bentley)
4974
* Progress reporting in ``commit`` has been improved. The various logical
4975
stages are now reported on as follows, namely:
4977
* Collecting changes [Entry x/y] - Stage n/m
4978
* Saving data locally - Stage n/m
4979
* Uploading data to master branch - Stage n/m
4980
* Updating the working tree - Stage n/m
4981
* Running post commit hooks - Stage n/m
4983
If there is no master branch, the 3rd stage is omitted and the total
4984
number of stages is adjusted accordingly.
4986
Each hook that is run after commit is listed with a name (as hooks
4987
can be slow it is useful feedback).
4988
(Ian Clatworthy, Robert Collins)
4990
* Various operations that are now faster due to avoiding unnecessary
4991
topological sorts. (Aaron Bentley)
4993
* Make merge directives robust against broken bundles. (Aaron Bentley)
4995
* The lsprof filename note is emitted via trace.note(), not standard
4996
output. (Aaron Bentley)
4998
* ``bzrlib`` now exports explicit API compatibility information to assist
4999
library users and plugins. See the ``bzrlib.api`` module for details.
5002
* Remove unnecessary lock probes when acquiring a lockdir.
5005
* ``bzr --version`` now shows the location of the bzr log file, which
5006
is especially useful on Windows. (Martin Pool)
5008
* -D now supports hooks to get debug tracing of hooks (though its currently
5009
minimal in nature). (Robert Collins)
5011
* Long log format reports deltas on merge revisions.
5012
(John Arbash Meinel, Kent Gibson)
5014
* Make initial push over ftp more resilient. (John Arbash Meinel)
5016
* Print a summary of changes for update just like pull does.
5017
(Daniel Watkins, #113990)
5019
* Add a -Dhpss option to trace smart protocol requests and responses.
5024
* Testing cleanups -
5025
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
5026
to ``bzrlib.tests.repository_implementations``;
5027
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
5028
to ``bzrlib.tests.interrepository_implementations``;
5029
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
5030
``bzrlib.tests.test_transport_implementations``.
5031
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
5032
``bzrlib.tests.branch_implementations``.
5033
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
5034
``bzrlib.tests.bzrdir_implementations``.
5035
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
5036
to ``bzrlib.tests.interversionedfile_implementations``.
5037
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
5038
``bzrlib.tests.revisionstore_implementations``.
5039
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
5040
``bzrlib.tests.workingtree_implementations``.
5041
These changes are an API break in the testing infrastructure only.
5044
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
5046
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
5047
win32. Callers of the function should do this and use the new
5048
``MutableTree.smart_add`` method instead. (Robert Collins)
5050
* ``bzrlib.add.glob_expand_for_win32`` is now
5051
``bzrlib.win32utils.glob_expand``. (Robert Collins)
5053
* ``bzrlib.add.FastPath`` is now private and moved to
5054
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
5056
* ``LockDir.wait`` removed. (Martin Pool)
5058
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
5059
``server_stopped`` hooks. The first parameter is now an iterable of
5060
backing URLs rather than a single URL. This is to reflect that many
5061
URLs may map to the external URL of the server. E.g. the server interally
5062
may have a chrooted URL but also the local file:// URL will be at the
5063
same location. (Robert Collins)
5067
* New SMTPConnection class to unify email handling. (Adeodato Simó)
5069
* Fix documentation of BzrError. (Adeodato Simó)
5071
* Make BzrBadParameter an internal error. (Adeodato Simó)
5073
* Remove use of 'assert False' to raise an exception unconditionally.
5076
* Give a cleaner error when failing to decode knit index entry.
5079
* TreeConfig would mistakenly search the top level when asked for options
5080
from a section. It now respects the section argument and only
5081
searches the specified section. (James Westby)
5083
* Improve ``make api-docs`` output. (John Arbash Meinel)
5085
* Use os.lstat rather than os.stat for osutils.make_readonly and
5086
osutils.make_writeable. This makes the difftools plugin more
5087
robust when dangling symlinks are found. (Elliot Murphy)
5089
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
5090
lockdirs are taken or released. (Martin Pool)
5092
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
5093
allows a nicer UI when hooks are running as the current hook can
5094
be displayed. (Robert Collins)
5096
* ``Transport.get`` has had its interface made more clear for ease of use.
5097
Retrieval of a directory must now fail with either 'PathError' at open
5098
time, or raise 'ReadError' on a read. (Robert Collins)
5100
* New method ``_maybe_expand_globs`` on the ``Command`` class for
5101
dealing with unexpanded glob lists - e.g. on the win32 platform. This
5102
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
5104
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
5105
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
5108
* New method ``external_url`` on Transport for obtaining the url to
5109
hand to external processes. (Robert Collins)
5111
* Teach windows installers to build pyrex/C extensions.
5112
(Alexander Belchenko)
5116
* Removed the ``--keep-output`` option from selftest and clean up test
5117
directories as they're used. This reduces the IO load from
5118
running the test suite and cuts the time by about half.
5119
(Andrew Bennetts, Martin Pool)
5121
* Add scenarios as a public attribute on the TestAdapter classes to allow
5122
modification of the generated scenarios before adaption and easier
5123
testing. (Robert Collins)
5125
* New testing support class ``TestScenarioApplier`` which multiplies
5126
out a single teste by a list of supplied scenarios. (RobertCollins)
5128
* Setting ``repository_to_test_repository`` on a repository_implementations
5129
test will cause it to be called during repository creation, allowing the
5130
testing of repository classes which are not based around the Format
5131
concept. For example a repository adapter can be tested in this manner,
5132
by altering the repository scenarios to include a scenario that sets this
5133
attribute during the test parameterisation in
5134
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
5136
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
5137
interface is now self.run_bzr. The command to run can be passed as
5138
either a list of parameters, a string containing the command line, or
5139
(deprecated) varargs parameters. (Martin Pool)
5141
* The base TestCase now isolates tests from -D parameters by clearing
5142
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
5144
* Add a relpath parameter to get_transport methods in test framework to
5145
avoid useless cloning.
5146
(Vincent Ladeuil, #110448)
5176
#######################
5181
* Do not suppress pipe errors, etc. in non-display commands
5182
(Alexander Belchenko, #87178)
5184
* Display a useful error message when the user requests to annotate
5185
a file that is not present in the specified revision.
5186
(James Westby, #122656)
5188
* Commands that use status flags now have a reference to 'help
5189
status-flags'. (Daniel Watkins, #113436)
5191
* Work around python-2.4.1 inhability to correctly parse the
5192
authentication header.
5193
(Vincent Ladeuil, #121889)
5195
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
5197
* Fix tempfile permissions error in smart server tar bundling under
5198
Windows. (Martin _, #119330)
5200
* Fix detection of directory entries in the inventory. (James Westby)
5202
* Fix handling of http code 400: Bad Request When issuing too many ranges.
5203
(Vincent Ladeuil, #115209)
5205
* Issue a CONNECT request when connecting to an https server
5206
via a proxy to enable SSL tunneling.
5207
(Vincent Ladeuil, #120678)
5209
* Fix ``bzr log -r`` to support selecting merge revisions, both
5210
individually and as part of revision ranges.
5211
(Kent Gibson, #4663)
5213
* Don't leave cruft behind when failing to acquire a lockdir.
5214
(Martin Pool, #109169)
5216
* Don't use the '-f' strace option during tests.
5217
(Vincent Ladeuil, #102019).
5219
* Warn when setting ``push_location`` to a value that will be masked by
5220
locations.conf. (Aaron Bentley, #122286)
5222
* Fix commit ordering in corner case (Aaron Bentley, #94975)
5224
* Make annotate behave in a non-ASCII world (Adeodato Simó).
5229
* The --lsprof-file option now dumps a text rendering of the profiling
5230
information if the filename ends in ".txt". It will also convert the
5231
profiling information to a format suitable for KCacheGrind if the
5232
output filename ends in ".callgrind". Fixes to the lsprofcalltree
5233
conversion process by Jean Paul Calderone and Itamar were also merged.
5234
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
5236
* ``info`` now defaults to non-verbose mode, displaying only paths and
5237
abbreviated format info. ``info -v`` displays all the information
5238
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
5240
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
5243
* The internal ``weave-list`` command has become ``versionedfile-list``,
5244
and now lists knits as well as weaves. (Aaron Bentley)
5246
* Automatic merge base selection uses a faster algorithm that chooses
5247
better bases in criss-cross merge situations (Aaron Bentley)
5249
* Progress reporting in ``commit`` has been improved. The various logical
5250
stages are now reported on as follows, namely:
5252
* Collecting changes [Entry x/y] - Stage n/m
5253
* Saving data locally - Stage n/m
5254
* Uploading data to master branch - Stage n/m
5255
* Updating the working tree - Stage n/m
5256
* Running post commit hooks - Stage n/m
5258
If there is no master branch, the 3rd stage is omitted and the total
5259
number of stages is adjusted accordingly.
5261
Each hook that is run after commit is listed with a name (as hooks
5262
can be slow it is useful feedback).
5263
(Ian Clatworthy, Robert Collins)
5265
* Various operations that are now faster due to avoiding unnecessary
5266
topological sorts. (Aaron Bentley)
5268
* Make merge directives robust against broken bundles. (Aaron Bentley)
5270
* The lsprof filename note is emitted via trace.note(), not standard
5271
output. (Aaron Bentley)
5273
* ``bzrlib`` now exports explicit API compatibility information to assist
5274
library users and plugins. See the ``bzrlib.api`` module for details.
5277
* Remove unnecessary lock probes when acquiring a lockdir.
5280
* ``bzr --version`` now shows the location of the bzr log file, which
5281
is especially useful on Windows. (Martin Pool)
5283
* -D now supports hooks to get debug tracing of hooks (though its currently
5284
minimal in nature). (Robert Collins)
5286
* Long log format reports deltas on merge revisions.
5287
(John Arbash Meinel, Kent Gibson)
5289
* Make initial push over ftp more resilient. (John Arbash Meinel)
5291
* Print a summary of changes for update just like pull does.
5292
(Daniel Watkins, #113990)
5294
* Add a -Dhpss option to trace smart protocol requests and responses.
5300
* Testing cleanups -
5301
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
5302
to ``bzrlib.tests.repository_implementations``;
5303
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
5304
to ``bzrlib.tests.interrepository_implementations``;
5305
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
5306
``bzrlib.tests.test_transport_implementations``.
5307
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
5308
``bzrlib.tests.branch_implementations``.
5309
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
5310
``bzrlib.tests.bzrdir_implementations``.
5311
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
5312
to ``bzrlib.tests.interversionedfile_implementations``.
5313
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
5314
``bzrlib.tests.revisionstore_implementations``.
5315
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
5316
``bzrlib.tests.workingtree_implementations``.
5317
These changes are an API break in the testing infrastructure only.
5320
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
5322
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
5323
win32. Callers of the function should do this and use the new
5324
``MutableTree.smart_add`` method instead. (Robert Collins)
5326
* ``bzrlib.add.glob_expand_for_win32`` is now
5327
``bzrlib.win32utils.glob_expand``. (Robert Collins)
5329
* ``bzrlib.add.FastPath`` is now private and moved to
5330
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
5332
* ``LockDir.wait`` removed. (Martin Pool)
5334
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
5335
``server_stopped`` hooks. The first parameter is now an iterable of
5336
backing URLs rather than a single URL. This is to reflect that many
5337
URLs may map to the external URL of the server. E.g. the server interally
5338
may have a chrooted URL but also the local file:// URL will be at the
5339
same location. (Robert Collins)
5344
* New SMTPConnection class to unify email handling. (Adeodato Simó)
5346
* Fix documentation of BzrError. (Adeodato Simó)
5348
* Make BzrBadParameter an internal error. (Adeodato Simó)
5350
* Remove use of 'assert False' to raise an exception unconditionally.
5353
* Give a cleaner error when failing to decode knit index entry.
5356
* TreeConfig would mistakenly search the top level when asked for options
5357
from a section. It now respects the section argument and only
5358
searches the specified section. (James Westby)
5360
* Improve ``make api-docs`` output. (John Arbash Meinel)
5362
* Use os.lstat rather than os.stat for osutils.make_readonly and
5363
osutils.make_writeable. This makes the difftools plugin more
5364
robust when dangling symlinks are found. (Elliot Murphy)
5366
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
5367
lockdirs are taken or released. (Martin Pool)
5369
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
5370
allows a nicer UI when hooks are running as the current hook can
5371
be displayed. (Robert Collins)
5373
* ``Transport.get`` has had its interface made more clear for ease of use.
5374
Retrieval of a directory must now fail with either 'PathError' at open
5375
time, or raise 'ReadError' on a read. (Robert Collins)
5377
* New method ``_maybe_expand_globs`` on the ``Command`` class for
5378
dealing with unexpanded glob lists - e.g. on the win32 platform. This
5379
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
5381
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
5382
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
5385
* New method ``external_url`` on Transport for obtaining the url to
5386
hand to external processes. (Robert Collins)
5388
* Teach windows installers to build pyrex/C extensions.
5389
(Alexander Belchenko)
5394
* Removed the ``--keep-output`` option from selftest and clean up test
5395
directories as they're used. This reduces the IO load from
5396
running the test suite and cuts the time by about half.
5397
(Andrew Bennetts, Martin Pool)
5399
* Add scenarios as a public attribute on the TestAdapter classes to allow
5400
modification of the generated scenarios before adaption and easier
5401
testing. (Robert Collins)
5403
* New testing support class ``TestScenarioApplier`` which multiplies
5404
out a single teste by a list of supplied scenarios. (RobertCollins)
5406
* Setting ``repository_to_test_repository`` on a repository_implementations
5407
test will cause it to be called during repository creation, allowing the
5408
testing of repository classes which are not based around the Format
5409
concept. For example a repository adapter can be tested in this manner,
5410
by altering the repository scenarios to include a scenario that sets this
5411
attribute during the test parameterisation in
5412
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
5414
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
5415
interface is now self.run_bzr. The command to run can be passed as
5416
either a list of parameters, a string containing the command line, or
5417
(deprecated) varargs parameters. (Martin Pool)
5419
* The base TestCase now isolates tests from -D parameters by clearing
5420
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
5422
* Add a relpath parameter to get_transport methods in test framework to
5423
avoid useless cloning.
5424
(Vincent Ladeuil, #110448)
5149
5427
bzr 0.17 2007-06-18
5150
--------------------
5154
* Fix crash of commit due to wrong lookup of filesystem encoding.
5155
(Colin Watson, #120647)
5157
* Revert logging just to stderr in commit as broke unicode filenames.
5158
(Aaron Bentley, Ian Clatworthy, #120930)
5428
####################
5433
* Fix crash of commit due to wrong lookup of filesystem encoding.
5434
(Colin Watson, #120647)
5436
* Revert logging just to stderr in commit as broke unicode filenames.
5437
(Aaron Bentley, Ian Clatworthy, #120930)
5161
5440
bzr 0.17rc1 2007-06-12
5162
-----------------------
5164
NOTES WHEN UPGRADING:
5166
* The kind() and is_executable() APIs on the WorkingTree interface no
5167
longer implicitly (read) locks and unlocks the tree. This *might*
5168
impact some plug-ins and tools using this part of the API. If you find
5169
an issue that may be caused by this change, please let us know,
5170
particularly the plug-in/tool maintainer. If encountered, the API
5171
fix is to surround kind() and is_executable() calls with lock_read()
5172
and unlock() like so::
5174
work_tree.lock_read()
5176
kind = work_tree.kind(...)
5181
* Rework of LogFormatter API to provide beginning/end of log hooks and to
5182
encapsulate the details of the revision to be logged in a LogRevision
5184
In long log formats, merge revision ids are only shown when --show-ids
5185
is specified, and are labelled "revision-id:", as per mainline
5186
revisions, instead of "merged:". (Kent Gibson)
5188
* New ``BranchBuilder`` API which allows the construction of particular
5189
histories quickly. Useful for testing and potentially other applications
5190
too. (Robert Collins)
5194
* There are two new help topics, working-trees and repositories that
5195
attempt to explain these concepts. (James Westby, John Arbash Meinel,
5198
* Added ``bzr log --limit`` to report a limited number of revisions.
5199
(Kent Gibson, #3659)
5201
* Revert does not try to preserve file contents that were originally
5202
produced by reverting to a historical revision. (Aaron Bentley)
5204
* ``bzr log --short`` now includes ``[merge]`` for revisions which
5205
have more than one parent. This is a small improvement to help
5206
understanding what changes have occurred
5207
(John Arbash Meinel, #83887)
5209
* TreeTransform avoids many renames when contructing large trees,
5210
improving speed. 3.25x speedups have been observed for construction of
5211
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
5213
* Commit on large trees is now faster. In my environment, a commit of
5214
a small change to the Mozilla tree (55k files) has dropped from
5215
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
5216
small change is 33% faster. (Ian Clatworthy)
5218
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
5223
* ``bzr push`` should only connect to the remote location one time.
5224
We have been connecting 3 times because we forget to pass around
5225
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
5226
that we can pass in the Transport that we already have.
5227
(John Arbash Meinel, #75721)
5229
* ``DirState.set_state_from_inventory()`` needs to properly order
5230
based on split paths, not just string paths.
5231
(John Arbash Meinel, #115947)
5233
* Let TestUIFactoy encode the password prompt with its own stdout.
5234
(Vincent Ladeuil, #110204)
5236
* pycurl should take use the range header that takes the range hint
5238
(Vincent Ladeuil, #112719)
5240
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
5241
on a missing file. (Aaron Bentley, #118186)
5243
* WorkingTree.remove works correctly with tree references, and when pwd is
5244
not the tree root. (Aaron Bentley)
5246
* Merge no longer fails when a file is renamed in one tree and deleted
5247
in the other. (Aaron Bentley, #110279)
5249
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
5250
and defaults to the last revision (Matthew Fuller, #90048)
5252
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
5253
(Daniel Watkins, #111958)
5255
* ``bzr branch -r revid:foo`` can be used to branch any revision in
5256
your repository. (Previously Branch6 only supported revisions in your
5257
mainline). (John Arbash Meinel, #115343)
5441
#######################
5443
Notes When Upgrading
5444
********************
5446
* The kind() and is_executable() APIs on the WorkingTree interface no
5447
longer implicitly (read) locks and unlocks the tree. This *might*
5448
impact some plug-ins and tools using this part of the API. If you find
5449
an issue that may be caused by this change, please let us know,
5450
particularly the plug-in/tool maintainer. If encountered, the API
5451
fix is to surround kind() and is_executable() calls with lock_read()
5452
and unlock() like so::
5454
work_tree.lock_read()
5456
kind = work_tree.kind(...)
5462
* Rework of LogFormatter API to provide beginning/end of log hooks and to
5463
encapsulate the details of the revision to be logged in a LogRevision
5465
In long log formats, merge revision ids are only shown when --show-ids
5466
is specified, and are labelled "revision-id:", as per mainline
5467
revisions, instead of "merged:". (Kent Gibson)
5469
* New ``BranchBuilder`` API which allows the construction of particular
5470
histories quickly. Useful for testing and potentially other applications
5471
too. (Robert Collins)
5476
* There are two new help topics, working-trees and repositories that
5477
attempt to explain these concepts. (James Westby, John Arbash Meinel,
5480
* Added ``bzr log --limit`` to report a limited number of revisions.
5481
(Kent Gibson, #3659)
5483
* Revert does not try to preserve file contents that were originally
5484
produced by reverting to a historical revision. (Aaron Bentley)
5486
* ``bzr log --short`` now includes ``[merge]`` for revisions which
5487
have more than one parent. This is a small improvement to help
5488
understanding what changes have occurred
5489
(John Arbash Meinel, #83887)
5491
* TreeTransform avoids many renames when contructing large trees,
5492
improving speed. 3.25x speedups have been observed for construction of
5493
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
5495
* Commit on large trees is now faster. In my environment, a commit of
5496
a small change to the Mozilla tree (55k files) has dropped from
5497
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
5498
small change is 33% faster. (Ian Clatworthy)
5500
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
5506
* ``bzr push`` should only connect to the remote location one time.
5507
We have been connecting 3 times because we forget to pass around
5508
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
5509
that we can pass in the Transport that we already have.
5510
(John Arbash Meinel, #75721)
5512
* ``DirState.set_state_from_inventory()`` needs to properly order
5513
based on split paths, not just string paths.
5514
(John Arbash Meinel, #115947)
5516
* Let TestUIFactoy encode the password prompt with its own stdout.
5517
(Vincent Ladeuil, #110204)
5519
* pycurl should take use the range header that takes the range hint
5521
(Vincent Ladeuil, #112719)
5523
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
5524
on a missing file. (Aaron Bentley, #118186)
5526
* WorkingTree.remove works correctly with tree references, and when pwd is
5527
not the tree root. (Aaron Bentley)
5529
* Merge no longer fails when a file is renamed in one tree and deleted
5530
in the other. (Aaron Bentley, #110279)
5532
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
5533
and defaults to the last revision (Matthew Fuller, #90048)
5535
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
5536
(Daniel Watkins, #111958)
5538
* ``bzr branch -r revid:foo`` can be used to branch any revision in
5539
your repository. (Previously Branch6 only supported revisions in your
5540
mainline). (John Arbash Meinel, #115343)
5259
5542
bzr 0.16 2007-05-07
5260
--------------------
5264
* Handle when you have 2 directories with similar names, but one has a
5265
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
5266
iterator was using direct comparison and ``'abc/a'`` sorts after
5267
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
5268
(John Arbash Meinel, #111227)
5270
* Handle when someone renames a file on disk without telling bzr.
5271
Previously we would report the first file as missing, but not show
5272
the new unknown file. (John Arbash Meinel, #111288)
5274
* Avoid error when running hooks after pulling into or pushing from
5275
a branch bound to a smartserver branch. (Martin Pool, #111968)
5279
* Move developer documentation to doc/developers/. This reduces clutter in
5280
the root of the source tree and allows HACKING to be split into multiple
5281
files. (Robert Collins, Alexander Belchenko)
5283
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
5284
``DirState.update_entry()``. This optimizes the core logic for ``bzr
5285
diff`` and ``bzr status`` significantly improving the speed of
5286
both. (John Arbash Meinel)
5543
####################
5548
* Handle when you have 2 directories with similar names, but one has a
5549
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
5550
iterator was using direct comparison and ``'abc/a'`` sorts after
5551
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
5552
(John Arbash Meinel, #111227)
5554
* Handle when someone renames a file on disk without telling bzr.
5555
Previously we would report the first file as missing, but not show
5556
the new unknown file. (John Arbash Meinel, #111288)
5558
* Avoid error when running hooks after pulling into or pushing from
5559
a branch bound to a smartserver branch. (Martin Pool, #111968)
5564
* Move developer documentation to doc/developers/. This reduces clutter in
5565
the root of the source tree and allows HACKING to be split into multiple
5566
files. (Robert Collins, Alexander Belchenko)
5568
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
5569
``DirState.update_entry()``. This optimizes the core logic for ``bzr
5570
diff`` and ``bzr status`` significantly improving the speed of
5571
both. (John Arbash Meinel)
5288
5573
bzr 0.16rc2 2007-04-30
5289
-----------------------
5293
* Handle the case when you delete a file, and then rename another file
5294
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
5295
status`` should show the removed file and an unknown file in its
5296
place. (John Arbash Meinel, #109993)
5298
* Bundles properly read and write revision properties that have an
5299
empty value. And when the value is not ASCII.
5300
(John Arbash Meinel, #109613)
5302
* Fix the bzr commit message to be in text mode.
5303
(Alexander Belchenko, #110901)
5305
* Also handle when you rename a file and create a file where it used
5306
to be. (John Arbash Meinel, #110256)
5308
* ``WorkingTree4._iter_changes`` should not descend into unversioned
5309
directories. (John Arbash Meinel, #110399)
5574
#######################
5579
* Handle the case when you delete a file, and then rename another file
5580
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
5581
status`` should show the removed file and an unknown file in its
5582
place. (John Arbash Meinel, #109993)
5584
* Bundles properly read and write revision properties that have an
5585
empty value. And when the value is not ASCII.
5586
(John Arbash Meinel, #109613)
5588
* Fix the bzr commit message to be in text mode.
5589
(Alexander Belchenko, #110901)
5591
* Also handle when you rename a file and create a file where it used
5592
to be. (John Arbash Meinel, #110256)
5594
* ``WorkingTree4._iter_changes`` should not descend into unversioned
5595
directories. (John Arbash Meinel, #110399)
5311
5597
bzr 0.16rc1 2007-04-26
5312
-----------------------
5314
NOTES WHEN UPGRADING:
5316
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
5317
it could be recovered again.
5318
This has been done for consistency with svn and the unix rm command.
5319
The old ``remove`` behaviour has been retained in the new option
5320
``bzr remove --keep``, which will just stop versioning the file,
5322
``bzr remove --force`` have been added which will always delete the
5324
``bzr remove`` is also more verbose.
5325
(Marius Kruger, #82602)
5329
* Merge directives can now be supplied as input to `merge` and `pull`,
5330
like bundles can. (Aaron Bentley)
5332
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
5333
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
5334
to continue. This can be disabled by setting the environment variable
5335
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
5337
* selftest now supports --list-only to list tests instead of running
5338
them. (Ian Clatworthy)
5340
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
5341
tests with names that match that regular expression.
5342
(Ian Clatworthy, #102679)
5344
* selftest now supports --randomize SEED to run tests in a random order.
5345
SEED is typically the value 'now' meaning 'use the current time'.
5346
(Ian Clatworthy, #102686)
5348
* New option ``--fixes`` to commit, which stores bug fixing annotations as
5349
revision properties. Built-in support for Launchpad, Debian, Trac and
5350
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
5352
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
5353
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
5356
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
5359
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
5360
into using local variables instead of going through ``self._var``.
5361
Improves the time to ``merge_sort`` a 10k revision graph by
5362
approximately 40% (~700->400ms). (John Arbash Meinel)
5364
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
5367
* ``bzr help`` now provides cross references to other help topics using
5368
the _see_also facility on command classes. Likewise the bzr_man
5369
documentation, and the bzr.1 man page also include this information.
5372
* Tags are now included in logs, that use the long log formatter.
5373
(Erik Bågfors, Alexander Belchenko)
5375
* ``bzr help`` provides a clearer message when a help topic cannot be
5376
found. (Robert Collins, #107656)
5378
* ``bzr help`` now accepts optional prefixes for command help. The help
5379
for all commands can now be found at ``bzr help commands/COMMANDNAME``
5380
as well as ``bzr help COMMANDNAME`` (which only works for commands
5381
where the name is not the same as a more general help topic).
5384
* ``bzr help PLUGINNAME`` will now return the module docstring from the
5385
plugin PLUGINNAME. (Robert Collins, #50408)
5387
* New help topic ``urlspec`` which lists the availables transports.
5388
(Goffredo Baroncelli)
5390
* doc/server.txt updated to document the default bzr:// port
5391
and also update the blurb about the hpss' current status.
5392
(Robert Collins, #107125).
5394
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
5395
serve out to the local LAN (and anyone in the world that can reach the
5396
machine running ``bzr serve``. (Robert Collins, #98918)
5398
* A new smart server protocol version has been added. It prefixes requests
5399
and responses with an explicit version identifier so that future protocol
5400
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
5402
* The bzr protocol version 2 indicates success or failure in every response
5403
without depending on particular commands encoding that consistently,
5404
allowing future client refactorings to be much more robust about error
5405
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
5407
* The smart protocol over HTTP client has been changed to always post to the
5408
same ``.bzr/smart`` URL under the original location when it can. This allows
5409
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
5410
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
5412
* digest authentication is now supported for proxies and HTTP by the urllib
5413
based http implementation. Tested against Apache 2.0.55 and Squid
5414
2.6.5. Basic and digest authentication are handled coherently for HTTP
5415
and proxy: if the user is provided in the url (bzr command line for HTTP,
5416
proxy environment variables for proxies), the password is prompted for
5417
(only once). If the password is provided, it is taken into account. Once
5418
the first authentication is successful, all further authentication
5419
roundtrips are avoided by preventively setting the right authentication
5425
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
5426
code paths. (Robert Collins)
5428
* Change the format of chroot urls so that they can be safely manipulated
5429
by generic url utilities without causing the resulting urls to have
5430
escaped the chroot. A side effect of this is that creating a chroot
5431
requires an explicit action using a ChrootServer.
5432
(Robert Collins, Andrew Bennetts)
5434
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
5435
rather than fixing bug #96847. (Aaron Bentley)
5437
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
5438
``WorkingTree._write_inventory``. (Aaron Bentley)
5440
* Convenience method ``TestCase.expectFailure`` ensures that known failures
5441
do not silently pass. (Aaron Bentley)
5443
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
5444
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
5446
* New SmartServer hooks facility. There are two initial hooks documented
5447
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
5448
plugins to execute code upon server startup and shutdown.
5451
* SmartServer in standalone mode will now close its listening socket
5452
when it stops, rather than waiting for garbage collection. This primarily
5453
fixes test suite hangs when a test tries to connect to a shutdown server.
5454
It may also help improve behaviour when dealing with a server running
5455
on a specific port (rather than dynamically assigned ports).
5458
* Move most SmartServer code into a new package, bzrlib/smart.
5459
bzrlib/transport/remote.py contains just the Transport classes that used
5460
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
5462
* urllib http implementation avoid roundtrips associated with
5463
401 (and 407) errors once the authentication succeeds.
5466
* urlib http now supports querying the user for a proxy password if
5467
needed. Realm is shown in the prompt for both HTTP and proxy
5468
authentication when the user is required to type a password.
5471
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
5472
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
5473
consistent with its new home in ``bzrlib/transport/remote.py``, and because
5474
it's not really a "smart" transport, just one that does file operations
5475
via remote procedure calls. (Andrew Bennetts)
5477
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
5478
``Branch`` now accept a ``token`` keyword argument, so that separate
5479
instances of those objects can share a lock if it has the right token.
5480
(Andrew Bennetts, Robert Collins)
5482
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
5483
branch references - which the smart server component needs.
5485
* The Repository API ``make_working_trees`` is now permitted to return
5486
False when ``set_make_working_trees`` is not implemented - previously
5487
an unimplemented ``set_make_working_trees`` implied the result True
5488
from ``make_working_trees``. This has been changed to accomodate the
5489
smart server, where it does not make sense (at this point) to ever
5490
make working trees by default. (Robert Collins)
5492
* Command objects can now declare related help topics by having _see_also
5493
set to a list of related topic. (Robert Collins)
5495
* ``bzrlib.help`` now delegates to the Command class for Command specific
5496
help. (Robert Collins)
5498
* New class ``TransportListRegistry``, derived from the Registry class, which
5499
simplifies tracking the available Transports. (Goffredo Baroncelli)
5501
* New function ``Branch.get_revision_id_to_revno_map`` which will
5502
return a dictionary mapping revision ids to dotted revnos. Since
5503
dotted revnos are defined in the context of the branch tip, it makes
5504
sense to generate them from a ``Branch`` object.
5505
(John Arbash Meinel)
5507
* Fix the 'Unprintable error' message display to use the repr of the
5508
exception that prevented printing the error because the str value
5509
for it is often not useful in debugging (e.g. KeyError('foo') has a
5510
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
5511
useful. (Robert Collins)
5513
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
5518
* Don't fail bundle selftest if email has 'two' embedded.
5519
(Ian Clatworthy, #98510)
5521
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
5522
(Robert Widhopf-Fenk, #98591)
5524
* Remove ``--basis`` from the checkout/branch commands - it didn't work
5525
properly and is no longer beneficial.
5526
(Robert Collins, #53675, #43486)
5528
* Don't produce encoding error when adding duplicate files.
5531
* Fix ``bzr log <file>`` so it only logs the revisions that changed
5532
the file, and does it faster.
5533
(Kent Gibson, John Arbash Meinel, #51980, #69477)
5535
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
5536
an empty versioned directory, which now has files in it.
5537
(John Arbash Meinel, #104257)
5539
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
5540
inside the ancestry of the other. Saves a lot of graph processing
5541
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
5542
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
5544
* Fix ``show_diff_trees`` to handle the case when a file is modified,
5545
and the containing directory is renamed. (The file path is different
5546
in this versus base, but it isn't marked as a rename).
5547
(John Arbash Meinel, #103870)
5549
* FTP now works even when the FTP server does not support atomic rename.
5550
(Aaron Bentley, #89436)
5552
* Correct handling in bundles and merge directives of timezones with
5553
that are not an integer number of hours offset from UTC. Always
5554
represent the epoch time in UTC to avoid problems with formatting
5555
earlier times on win32. (Martin Pool, Alexander Belchenko, John
5558
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
5560
* "dirstate" and "dirstate-tags" formats now produce branches compatible
5561
with old versions of bzr. (Aaron Bentley, #107168))
5563
* Handle moving a directory when children have been added, removed,
5564
and renamed. (John Arbash Meinel, #105479)
5566
* Don't preventively use basic authentication for proxy before receiving a
5567
407 error. Otherwise people willing to use other authentication schemes
5568
may expose their password in the clear (or nearly). This add one
5569
roundtrip in case basic authentication should be used, but plug the
5573
* Handle http and proxy digest authentication.
5574
(Vincent Ladeuil, #94034).
5578
* Added ``bzrlib.strace.strace`` which will strace a single callable and
5579
return a StraceResult object which contains just the syscalls involved
5580
in running it. (Robert Collins)
5582
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
5583
default time down to one suitable for tests. (Andrew Bennetts)
5585
* Add new ``vfs_transport_factory`` attribute on tests which provides the
5586
common vfs backing for both the readonly and readwrite transports.
5587
This allows the RemoteObject tests to back onto local disk or memory,
5588
and use the existing ``transport_server`` attribute all tests know about
5589
to be the smart server transport. This in turn allows tests to
5590
differentiate between 'transport to access the branch', and
5591
'transport which is a VFS' - which matters in Remote* tests.
5592
(Robert Collins, Andrew Bennetts)
5594
* The ``make_branch_and_tree`` method for tests will now create a
5595
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
5596
a LocalURLServer. (Robert Collins, Andrew Bennetts)
5598
* Branch implementation tests have been audited to ensure that all urls
5599
passed to Branch APIs use proper urls, except when local-disk paths
5600
are intended. This is so that tests correctly access the test transport
5601
which is often not equivalent to local disk in Remote* tests. As part
5602
of this many tests were adjusted to remove dependencies on local disk
5604
(Robert Collins, Andrew Bennetts)
5606
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
5607
functions by adding a ``__unittest`` global attribute. (Robert Collins,
5608
Andrew Bennetts, Martin Pool, Jonathan Lange)
5610
* Refactored proxy and authentication handling to simplify the
5611
implementation of new auth schemes for both http and proxy.
5598
#######################
5600
Notes When Upgrading
5601
********************
5603
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
5604
it could be recovered again.
5605
This has been done for consistency with svn and the unix rm command.
5606
The old ``remove`` behaviour has been retained in the new option
5607
``bzr remove --keep``, which will just stop versioning the file,
5609
``bzr remove --force`` have been added which will always delete the
5611
``bzr remove`` is also more verbose.
5612
(Marius Kruger, #82602)
5617
* Merge directives can now be supplied as input to `merge` and `pull`,
5618
like bundles can. (Aaron Bentley)
5620
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
5621
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
5622
to continue. This can be disabled by setting the environment variable
5623
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
5625
* selftest now supports --list-only to list tests instead of running
5626
them. (Ian Clatworthy)
5628
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
5629
tests with names that match that regular expression.
5630
(Ian Clatworthy, #102679)
5632
* selftest now supports --randomize SEED to run tests in a random order.
5633
SEED is typically the value 'now' meaning 'use the current time'.
5634
(Ian Clatworthy, #102686)
5636
* New option ``--fixes`` to commit, which stores bug fixing annotations as
5637
revision properties. Built-in support for Launchpad, Debian, Trac and
5638
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
5640
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
5641
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
5644
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
5647
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
5648
into using local variables instead of going through ``self._var``.
5649
Improves the time to ``merge_sort`` a 10k revision graph by
5650
approximately 40% (~700->400ms). (John Arbash Meinel)
5652
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
5655
* ``bzr help`` now provides cross references to other help topics using
5656
the _see_also facility on command classes. Likewise the bzr_man
5657
documentation, and the bzr.1 man page also include this information.
5660
* Tags are now included in logs, that use the long log formatter.
5661
(Erik Bågfors, Alexander Belchenko)
5663
* ``bzr help`` provides a clearer message when a help topic cannot be
5664
found. (Robert Collins, #107656)
5666
* ``bzr help`` now accepts optional prefixes for command help. The help
5667
for all commands can now be found at ``bzr help commands/COMMANDNAME``
5668
as well as ``bzr help COMMANDNAME`` (which only works for commands
5669
where the name is not the same as a more general help topic).
5672
* ``bzr help PLUGINNAME`` will now return the module docstring from the
5673
plugin PLUGINNAME. (Robert Collins, #50408)
5675
* New help topic ``urlspec`` which lists the availables transports.
5676
(Goffredo Baroncelli)
5678
* doc/server.txt updated to document the default bzr:// port
5679
and also update the blurb about the hpss' current status.
5680
(Robert Collins, #107125).
5682
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
5683
serve out to the local LAN (and anyone in the world that can reach the
5684
machine running ``bzr serve``. (Robert Collins, #98918)
5686
* A new smart server protocol version has been added. It prefixes requests
5687
and responses with an explicit version identifier so that future protocol
5688
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
5690
* The bzr protocol version 2 indicates success or failure in every response
5691
without depending on particular commands encoding that consistently,
5692
allowing future client refactorings to be much more robust about error
5693
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
5695
* The smart protocol over HTTP client has been changed to always post to the
5696
same ``.bzr/smart`` URL under the original location when it can. This allows
5697
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
5698
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
5700
* digest authentication is now supported for proxies and HTTP by the urllib
5701
based http implementation. Tested against Apache 2.0.55 and Squid
5702
2.6.5. Basic and digest authentication are handled coherently for HTTP
5703
and proxy: if the user is provided in the url (bzr command line for HTTP,
5704
proxy environment variables for proxies), the password is prompted for
5705
(only once). If the password is provided, it is taken into account. Once
5706
the first authentication is successful, all further authentication
5707
roundtrips are avoided by preventively setting the right authentication
5714
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
5715
code paths. (Robert Collins)
5717
* Change the format of chroot urls so that they can be safely manipulated
5718
by generic url utilities without causing the resulting urls to have
5719
escaped the chroot. A side effect of this is that creating a chroot
5720
requires an explicit action using a ChrootServer.
5721
(Robert Collins, Andrew Bennetts)
5723
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
5724
rather than fixing bug #96847. (Aaron Bentley)
5726
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
5727
``WorkingTree._write_inventory``. (Aaron Bentley)
5729
* Convenience method ``TestCase.expectFailure`` ensures that known failures
5730
do not silently pass. (Aaron Bentley)
5732
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
5733
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
5735
* New SmartServer hooks facility. There are two initial hooks documented
5736
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
5737
plugins to execute code upon server startup and shutdown.
5740
* SmartServer in standalone mode will now close its listening socket
5741
when it stops, rather than waiting for garbage collection. This primarily
5742
fixes test suite hangs when a test tries to connect to a shutdown server.
5743
It may also help improve behaviour when dealing with a server running
5744
on a specific port (rather than dynamically assigned ports).
5747
* Move most SmartServer code into a new package, bzrlib/smart.
5748
bzrlib/transport/remote.py contains just the Transport classes that used
5749
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
5751
* urllib http implementation avoid roundtrips associated with
5752
401 (and 407) errors once the authentication succeeds.
5755
* urlib http now supports querying the user for a proxy password if
5756
needed. Realm is shown in the prompt for both HTTP and proxy
5757
authentication when the user is required to type a password.
5760
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
5761
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
5762
consistent with its new home in ``bzrlib/transport/remote.py``, and because
5763
it's not really a "smart" transport, just one that does file operations
5764
via remote procedure calls. (Andrew Bennetts)
5766
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
5767
``Branch`` now accept a ``token`` keyword argument, so that separate
5768
instances of those objects can share a lock if it has the right token.
5769
(Andrew Bennetts, Robert Collins)
5771
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
5772
branch references - which the smart server component needs.
5774
* The Repository API ``make_working_trees`` is now permitted to return
5775
False when ``set_make_working_trees`` is not implemented - previously
5776
an unimplemented ``set_make_working_trees`` implied the result True
5777
from ``make_working_trees``. This has been changed to accomodate the
5778
smart server, where it does not make sense (at this point) to ever
5779
make working trees by default. (Robert Collins)
5781
* Command objects can now declare related help topics by having _see_also
5782
set to a list of related topic. (Robert Collins)
5784
* ``bzrlib.help`` now delegates to the Command class for Command specific
5785
help. (Robert Collins)
5787
* New class ``TransportListRegistry``, derived from the Registry class, which
5788
simplifies tracking the available Transports. (Goffredo Baroncelli)
5790
* New function ``Branch.get_revision_id_to_revno_map`` which will
5791
return a dictionary mapping revision ids to dotted revnos. Since
5792
dotted revnos are defined in the context of the branch tip, it makes
5793
sense to generate them from a ``Branch`` object.
5794
(John Arbash Meinel)
5796
* Fix the 'Unprintable error' message display to use the repr of the
5797
exception that prevented printing the error because the str value
5798
for it is often not useful in debugging (e.g. KeyError('foo') has a
5799
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
5800
useful. (Robert Collins)
5802
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
5808
* Don't fail bundle selftest if email has 'two' embedded.
5809
(Ian Clatworthy, #98510)
5811
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
5812
(Robert Widhopf-Fenk, #98591)
5814
* Remove ``--basis`` from the checkout/branch commands - it didn't work
5815
properly and is no longer beneficial.
5816
(Robert Collins, #53675, #43486)
5818
* Don't produce encoding error when adding duplicate files.
5821
* Fix ``bzr log <file>`` so it only logs the revisions that changed
5822
the file, and does it faster.
5823
(Kent Gibson, John Arbash Meinel, #51980, #69477)
5825
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
5826
an empty versioned directory, which now has files in it.
5827
(John Arbash Meinel, #104257)
5829
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
5830
inside the ancestry of the other. Saves a lot of graph processing
5831
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
5832
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
5834
* Fix ``show_diff_trees`` to handle the case when a file is modified,
5835
and the containing directory is renamed. (The file path is different
5836
in this versus base, but it isn't marked as a rename).
5837
(John Arbash Meinel, #103870)
5839
* FTP now works even when the FTP server does not support atomic rename.
5840
(Aaron Bentley, #89436)
5842
* Correct handling in bundles and merge directives of timezones with
5843
that are not an integer number of hours offset from UTC. Always
5844
represent the epoch time in UTC to avoid problems with formatting
5845
earlier times on win32. (Martin Pool, Alexander Belchenko, John
5848
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
5850
* "dirstate" and "dirstate-tags" formats now produce branches compatible
5851
with old versions of bzr. (Aaron Bentley, #107168))
5853
* Handle moving a directory when children have been added, removed,
5854
and renamed. (John Arbash Meinel, #105479)
5856
* Don't preventively use basic authentication for proxy before receiving a
5857
407 error. Otherwise people willing to use other authentication schemes
5858
may expose their password in the clear (or nearly). This add one
5859
roundtrip in case basic authentication should be used, but plug the
5863
* Handle http and proxy digest authentication.
5864
(Vincent Ladeuil, #94034).
5869
* Added ``bzrlib.strace.strace`` which will strace a single callable and
5870
return a StraceResult object which contains just the syscalls involved
5871
in running it. (Robert Collins)
5873
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
5874
default time down to one suitable for tests. (Andrew Bennetts)
5876
* Add new ``vfs_transport_factory`` attribute on tests which provides the
5877
common vfs backing for both the readonly and readwrite transports.
5878
This allows the RemoteObject tests to back onto local disk or memory,
5879
and use the existing ``transport_server`` attribute all tests know about
5880
to be the smart server transport. This in turn allows tests to
5881
differentiate between 'transport to access the branch', and
5882
'transport which is a VFS' - which matters in Remote* tests.
5883
(Robert Collins, Andrew Bennetts)
5885
* The ``make_branch_and_tree`` method for tests will now create a
5886
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
5887
a LocalURLServer. (Robert Collins, Andrew Bennetts)
5889
* Branch implementation tests have been audited to ensure that all urls
5890
passed to Branch APIs use proper urls, except when local-disk paths
5891
are intended. This is so that tests correctly access the test transport
5892
which is often not equivalent to local disk in Remote* tests. As part
5893
of this many tests were adjusted to remove dependencies on local disk
5895
(Robert Collins, Andrew Bennetts)
5897
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
5898
functions by adding a ``__unittest`` global attribute. (Robert Collins,
5899
Andrew Bennetts, Martin Pool, Jonathan Lange)
5901
* Refactored proxy and authentication handling to simplify the
5902
implementation of new auth schemes for both http and proxy.
5614
5905
bzr 0.15 2007-04-01
5619
* Handle incompatible repositories as a user issue when fetching.
5622
* Don't give a recommendation to upgrade when branching or
5623
checking out a branch that contains an old-format working tree.
5911
* Handle incompatible repositories as a user issue when fetching.
5914
* Don't give a recommendation to upgrade when branching or
5915
checking out a branch that contains an old-format working tree.
5626
5918
bzr 0.15rc3 2007-03-26
5627
-----------------------
5631
* A warning is now displayed when opening working trees in older
5632
formats, to encourage people to upgrade to WorkingTreeFormat4.
5637
* HTTP redirections are now taken into account when a branch (or a
5638
bundle) is accessed for the first time. A message is issued at each
5639
redirection to inform the user. In the past, http redirections were
5640
silently followed for each request which significantly degraded the
5641
performances. The http redirections are not followed anymore by
5642
default, instead a RedirectRequested exception is raised. For bzrlib
5643
users needing to follow http redirections anyway,
5644
``bzrlib.transport.do_catching_redirections`` provide an easy transition
5649
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
5650
lock to an OS write lock. Linux can do this without unlocking, Win32
5651
needs to unlock in between. (John Arbash Meinel)
5653
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
5654
to silence (when false) warnings about opening old formats.
5657
* Fix minor performance regression with bzr-0.15 on pre-dirstate
5658
trees. (We were reading the working inventory too many times).
5659
(John Arbash Meinel)
5661
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
5662
``revision_history``. Branch subclasses should override
5663
``_gen_revision_history`` rather than ``revision_history`` to make use of
5664
this cache, and call ``_clear_revision_history_cache`` and
5665
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
5669
* Take ``smtp_server`` from user config into account.
5672
* Restore Unicode filename handling for versioned and unversioned files.
5673
(John Arbash Meinel, #92608)
5675
* Don't fail during ``bzr commit`` if a file is marked removed, and
5676
the containing directory is auto-removed. (John Arbash Meinel, #93681)
5678
* ``bzr status FILENAME`` failed on Windows because of an uncommon
5679
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5680
(Wouter van Heyst, John Arbash Meinel, #90819)
5682
* ``bzr checkout source`` should create a local branch in the same
5683
format as source. (John Arbash Meinel, #93854)
5685
* ``bzr commit`` with a kind change was failing to update the
5686
last-changed-revision for directories. The
5687
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5688
ignoring the fact that the kind could have changed, too.
5689
(John Arbash Meinel, #90111)
5691
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
5692
the directory. So that there was a chance it would break commit,
5693
etc. (John Arbash Meinel, #94037)
5695
* Correctly handles mutiple permanent http redirections.
5919
#######################
5924
* A warning is now displayed when opening working trees in older
5925
formats, to encourage people to upgrade to WorkingTreeFormat4.
5931
* HTTP redirections are now taken into account when a branch (or a
5932
bundle) is accessed for the first time. A message is issued at each
5933
redirection to inform the user. In the past, http redirections were
5934
silently followed for each request which significantly degraded the
5935
performances. The http redirections are not followed anymore by
5936
default, instead a RedirectRequested exception is raised. For bzrlib
5937
users needing to follow http redirections anyway,
5938
``bzrlib.transport.do_catching_redirections`` provide an easy transition
5944
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
5945
lock to an OS write lock. Linux can do this without unlocking, Win32
5946
needs to unlock in between. (John Arbash Meinel)
5948
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
5949
to silence (when false) warnings about opening old formats.
5952
* Fix minor performance regression with bzr-0.15 on pre-dirstate
5953
trees. (We were reading the working inventory too many times).
5954
(John Arbash Meinel)
5956
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
5957
``revision_history``. Branch subclasses should override
5958
``_gen_revision_history`` rather than ``revision_history`` to make use of
5959
this cache, and call ``_clear_revision_history_cache`` and
5960
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
5965
* Take ``smtp_server`` from user config into account.
5968
* Restore Unicode filename handling for versioned and unversioned files.
5969
(John Arbash Meinel, #92608)
5971
* Don't fail during ``bzr commit`` if a file is marked removed, and
5972
the containing directory is auto-removed. (John Arbash Meinel, #93681)
5974
* ``bzr status FILENAME`` failed on Windows because of an uncommon
5975
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5976
(Wouter van Heyst, John Arbash Meinel, #90819)
5978
* ``bzr checkout source`` should create a local branch in the same
5979
format as source. (John Arbash Meinel, #93854)
5981
* ``bzr commit`` with a kind change was failing to update the
5982
last-changed-revision for directories. The
5983
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5984
ignoring the fact that the kind could have changed, too.
5985
(John Arbash Meinel, #90111)
5987
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
5988
the directory. So that there was a chance it would break commit,
5989
etc. (John Arbash Meinel, #94037)
5991
* Correctly handles mutiple permanent http redirections.
5698
5994
bzr 0.15rc2 2007-03-14
5699
-----------------------
5701
NOTES WHEN UPGRADING:
5703
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
5704
default to ``--trees`` instead of ``--no-trees``.
5705
Existing shared repositories are not affected.
5709
* New ``merge-directive`` command to generate machine- and human-readable
5710
merge requests. (Aaron Bentley)
5712
* New ``submit:`` revision specifier makes it easy to diff against the
5713
common ancestor with the submit location (Aaron Bentley)
5715
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
5717
* Added ``bzr status --versioned`` to report only versioned files,
5718
not unknowns. (Kent Gibson)
5720
* Merge now autodetects the correct line-ending style for its conflict
5721
markers. (Aaron Bentley)
5725
* Refactored SSH vendor registration into SSHVendorManager class.
5730
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
5731
numbered dirs for TestCaseInTempDir. This is default behavior
5732
on Windows. Anyone can force named dirs on Windows
5733
with ``--no-numbered-dirs``. (Alexander Belchenko)
5735
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
5736
from the command line. (Marien Zwart, #90501)
5738
* Fix ``TreeTransform._iter_changes`` when both the source and
5739
destination are missing. (Aaron Bentley, #88842)
5741
* Fix commit of merges with symlinks in dirstate trees.
5744
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
5745
(Wouter van Heyst, #53483)
5995
#######################
5997
Notes When Upgrading
5998
********************
6000
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
6001
default to ``--trees`` instead of ``--no-trees``.
6002
Existing shared repositories are not affected.
6007
* New ``merge-directive`` command to generate machine- and human-readable
6008
merge requests. (Aaron Bentley)
6010
* New ``submit:`` revision specifier makes it easy to diff against the
6011
common ancestor with the submit location (Aaron Bentley)
6013
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
6015
* Added ``bzr status --versioned`` to report only versioned files,
6016
not unknowns. (Kent Gibson)
6018
* Merge now autodetects the correct line-ending style for its conflict
6019
markers. (Aaron Bentley)
6024
* Refactored SSH vendor registration into SSHVendorManager class.
6030
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
6031
numbered dirs for TestCaseInTempDir. This is default behavior
6032
on Windows. Anyone can force named dirs on Windows
6033
with ``--no-numbered-dirs``. (Alexander Belchenko)
6035
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
6036
from the command line. (Marien Zwart, #90501)
6038
* Fix ``TreeTransform._iter_changes`` when both the source and
6039
destination are missing. (Aaron Bentley, #88842)
6041
* Fix commit of merges with symlinks in dirstate trees.
6044
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
6045
(Wouter van Heyst, #53483)
5748
6048
bzr 0.15rc1 2007-03-07
5749
-----------------------
5753
* The default disk format has changed. Please run 'bzr upgrade' in your
5754
working trees to upgrade. This new default is compatible for network
5755
operations, but not for local operations. That is, if you have two
5756
versions of bzr installed locally, after upgrading you can only use the
5757
bzr 0.15 version. This new default does not enable tags or nested-trees
5758
as they are incompatible with bzr versions before 0.15 over the network.
5760
* For users of bzrlib: Two major changes have been made to the working tree
5761
api in bzrlib. The first is that many methods and attributes, including
5762
the inventory attribute, are no longer valid for use until one of
5763
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
5764
and become invalid again after unlock is called. This has been done
5765
to improve performance and correctness as part of the dirstate
5767
(Robert Collins, John A Meinel, Martin Pool, and others).
5769
* For users of bzrlib: The attribute 'tree.inventory' should be considered
5770
readonly. Previously it was possible to directly alter this attribute, or
5771
its contents, and have the tree notice this. This has been made
5772
unsupported - it may work in some tree formats, but in the newer dirstate
5773
format such actions will have no effect and will be ignored, or even
5774
cause assertions. All operations possible can still be carried out by a
5775
combination of the tree API, and the bzrlib.transform API. (Robert
5776
Collins, John A Meinel, Martin Pool, and others).
5780
* Support for OS Windows 98. Also .bzr.log on any windows system
5781
saved in My Documents folder. (Alexander Belchenko)
5783
* ``bzr mv`` enhanced to support already moved files.
5784
In the past the mv command would have failed if the source file doesn't
5785
exist. In this situation ``bzr mv`` would now detect that the file has
5786
already moved and update the repository accordingly, if the target file
5788
A new option ``--after`` has been added so that if two files already
5789
exist, you could notify Bazaar that you have moved a (versioned) file
5790
and replaced it with another. Thus in this case ``bzr move --after``
5791
will only update the Bazaar identifier.
5792
(Steffen Eichenberg, Marius Kruger)
5794
* ``ls`` now works on treeless branches and remote branches.
5797
* ``bzr help global-options`` describes the global options.
5800
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
5803
* Files are now allowed to change kind (e.g. from file to symlink).
5804
Supported by ``commit``, ``revert`` and ``status``
5807
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
5810
* ``bzr help checkouts`` descibes what checkouts are and some possible
5811
uses of them. (James Westby, Aaron Bentley)
5813
* A new ``-d`` option to push, pull and merge overrides the default
5814
directory. (Martin Pool)
5816
* Branch format 6: smaller, and potentially faster than format 5. Supports
5817
``append_history_only`` mode, where the log view and revnos do not change,
5818
except by being added to. Stores policy settings in
5819
".bzr/branch/branch.conf".
5821
* ``append_only`` branches: Format 6 branches may be configured so that log
5822
view and revnos are always consistent. Either create the branch using
5823
"bzr init --append-revisions-only" or edit the config file as descriped
5824
in docs/configuration.txt.
5826
* rebind: Format 6 branches retain the last-used bind location, so if you
5827
"bzr unbind", you can "bzr bind" to bind to the previously-selected
5830
* Builtin tags support, created and deleted by the ``tag`` command and
5831
stored in the branch. Tags can be accessed with the revisionspec
5832
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
5833
at present. Tags require a network incompatible upgrade. To perform this
5834
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
5835
repositories. (Martin Pool)
5837
* The ``bzr://`` transport now has a well-known port number, 4155,
5838
which it will use by default. (Andrew Bennetts, Martin Pool)
5840
* Bazaar now looks for user-installed plugins before looking for site-wide
5841
plugins. (Jonathan Lange)
5843
* ``bzr resolve`` now detects and marks resolved text conflicts.
5848
* Internally revision ids and file ids are now passed around as utf-8
5849
bytestrings, rather than treating them as Unicode strings. This has
5850
performance benefits for Knits, since we no longer need to decode the
5851
revision id for each line of content, nor for each entry in the index.
5852
This will also help with the future dirstate format.
5853
(John Arbash Meinel)
5855
* Reserved ids (any revision-id ending in a colon) are rejected by
5856
versionedfiles, repositories, branches, and working trees
5859
* Minor performance improvement by not creating a ProgressBar for
5860
every KnitIndex we create. (about 90ms for a bzr.dev tree)
5861
(John Arbash Meinel)
5863
* New easier to use Branch hooks facility. There are five initial hooks,
5864
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
5865
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
5866
``'post_uncommit'``. These hooks fire after the matching operation
5867
on a branch has taken place, and were originally added for the
5868
branchrss plugin. (Robert Collins)
5870
* New method ``Branch.push()`` which should be used when pushing from a
5871
branch as it makes performance and policy decisions to match the UI
5872
level command ``push``. (Robert Collins).
5874
* Add a new method ``Tree.revision_tree`` which allows access to cached
5875
trees for arbitrary revisions. This allows the in development dirstate
5876
tree format to provide access to the callers to cached copies of
5877
inventory data which are cheaper to access than inventories from the
5879
(Robert Collins, Martin Pool)
5881
* New ``Branch.last_revision_info`` method, this is being done to allow
5882
optimization of requests for both the number of revisions and the last
5883
revision of a branch with smartservers and potentially future branch
5884
formats. (Wouter van Heyst, Robert Collins)
5886
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
5887
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
5888
other for code reuse without requiring users to perform file-renaming
5889
gymnastics. (Robert Collins)
5891
* New Repository method ``'gather_stats'`` for statistic data collection.
5892
This is expected to grow to cover a number of related uses mainly
5893
related to bzr info. (Robert Collins)
5895
* Log formatters are now managed with a registry.
5896
``log.register_formatter`` continues to work, but callers accessing
5897
the FORMATTERS dictionary directly will not.
5899
* Allow a start message to be passed to the ``edit_commit_message``
5900
function. This will be placed in the message offered to the user
5901
for editing above the separator. It allows a template commit message
5902
to be used more easily. (James Westby)
5904
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
5905
you pass a Unicode string rather than an 8-bit string. Callers need
5906
to be updated to encode first. (John Arbash Meinel)
5908
* Branch.push, pull, merge now return Result objects with information
5909
about what happened, rather than a scattering of various methods. These
5910
are also passed to the post hooks. (Martin Pool)
5912
* File formats and architecture is in place for managing a forest of trees
5913
in bzr, and splitting up existing trees into smaller subtrees, and
5914
finally joining trees to make a larger tree. This is the first iteration
5915
of this support, and the user-facing aspects still require substantial
5916
work. If you wish to experiment with it, use ``bzr upgrade
5917
--dirstate-with-subtree`` in your working trees and repositories.
5918
You can use the hidden commands ``split`` and ``join`` and to create
5919
and manipulate nested trees, but please consider using the nested-trees
5920
branch, which contains substantial UI improvements, instead.
5921
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
5922
(Aaron Bentley, Martin Pool, Robert Collins).
5926
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
5927
branch, rather than the last changed revision of the file.
5928
(John Arbash Meinel, #82158)
5930
* Lock operations no longer hang if they encounter a permission problem.
5933
* ``bzr push`` can resume a push that was canceled before it finished.
5934
Also, it can push even if the target directory exists if you supply
5935
the ``--use-existing-dir`` flag.
5936
(John Arbash Meinel, #30576, #45504)
5938
* Fix http proxy authentication when user and an optional
5939
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
5942
* ``bzr log branch/file`` works for local treeless branches
5943
(Aaron Bentley, #84247)
5945
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
5947
* Searching location of CA bundle for PyCurl in env variable
5948
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
5949
(Alexander Belchenko, #82086)
5951
* ``bzr init`` works with unicode argument LOCATION.
5952
(Alexander Belchenko, #85599)
5954
* Raise ``DependencyNotPresent`` if pycurl do not support https.
5955
(Vincent Ladeuil, #85305)
5957
* Invalid proxy env variables should not cause a traceback.
5958
(Vincent Ladeuil, #87765)
5960
* Ignore patterns normalised to use '/' path separator.
5961
(Kent Gibson, #86451)
5963
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
5965
* Fix bzrtools shelve command for removed lines beginning with "--"
5966
(Johan Dahlberg, #75577)
5970
* New ``--first`` option to ``bzr selftest`` to run specified tests
5971
before the rest of the suite. (Martin Pool)
6049
#######################
6054
* The default disk format has changed. Please run 'bzr upgrade' in your
6055
working trees to upgrade. This new default is compatible for network
6056
operations, but not for local operations. That is, if you have two
6057
versions of bzr installed locally, after upgrading you can only use the
6058
bzr 0.15 version. This new default does not enable tags or nested-trees
6059
as they are incompatible with bzr versions before 0.15 over the network.
6061
* For users of bzrlib: Two major changes have been made to the working tree
6062
api in bzrlib. The first is that many methods and attributes, including
6063
the inventory attribute, are no longer valid for use until one of
6064
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
6065
and become invalid again after unlock is called. This has been done
6066
to improve performance and correctness as part of the dirstate
6068
(Robert Collins, John A Meinel, Martin Pool, and others).
6070
* For users of bzrlib: The attribute 'tree.inventory' should be considered
6071
readonly. Previously it was possible to directly alter this attribute, or
6072
its contents, and have the tree notice this. This has been made
6073
unsupported - it may work in some tree formats, but in the newer dirstate
6074
format such actions will have no effect and will be ignored, or even
6075
cause assertions. All operations possible can still be carried out by a
6076
combination of the tree API, and the bzrlib.transform API. (Robert
6077
Collins, John A Meinel, Martin Pool, and others).
6082
* Support for OS Windows 98. Also .bzr.log on any windows system
6083
saved in My Documents folder. (Alexander Belchenko)
6085
* ``bzr mv`` enhanced to support already moved files.
6086
In the past the mv command would have failed if the source file doesn't
6087
exist. In this situation ``bzr mv`` would now detect that the file has
6088
already moved and update the repository accordingly, if the target file
6090
A new option ``--after`` has been added so that if two files already
6091
exist, you could notify Bazaar that you have moved a (versioned) file
6092
and replaced it with another. Thus in this case ``bzr move --after``
6093
will only update the Bazaar identifier.
6094
(Steffen Eichenberg, Marius Kruger)
6096
* ``ls`` now works on treeless branches and remote branches.
6099
* ``bzr help global-options`` describes the global options.
6102
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
6105
* Files are now allowed to change kind (e.g. from file to symlink).
6106
Supported by ``commit``, ``revert`` and ``status``
6109
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
6112
* ``bzr help checkouts`` descibes what checkouts are and some possible
6113
uses of them. (James Westby, Aaron Bentley)
6115
* A new ``-d`` option to push, pull and merge overrides the default
6116
directory. (Martin Pool)
6118
* Branch format 6: smaller, and potentially faster than format 5. Supports
6119
``append_history_only`` mode, where the log view and revnos do not change,
6120
except by being added to. Stores policy settings in
6121
".bzr/branch/branch.conf".
6123
* ``append_only`` branches: Format 6 branches may be configured so that log
6124
view and revnos are always consistent. Either create the branch using
6125
"bzr init --append-revisions-only" or edit the config file as descriped
6126
in docs/configuration.txt.
6128
* rebind: Format 6 branches retain the last-used bind location, so if you
6129
"bzr unbind", you can "bzr bind" to bind to the previously-selected
6132
* Builtin tags support, created and deleted by the ``tag`` command and
6133
stored in the branch. Tags can be accessed with the revisionspec
6134
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
6135
at present. Tags require a network incompatible upgrade. To perform this
6136
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
6137
repositories. (Martin Pool)
6139
* The ``bzr://`` transport now has a well-known port number, 4155,
6140
which it will use by default. (Andrew Bennetts, Martin Pool)
6142
* Bazaar now looks for user-installed plugins before looking for site-wide
6143
plugins. (Jonathan Lange)
6145
* ``bzr resolve`` now detects and marks resolved text conflicts.
6151
* Internally revision ids and file ids are now passed around as utf-8
6152
bytestrings, rather than treating them as Unicode strings. This has
6153
performance benefits for Knits, since we no longer need to decode the
6154
revision id for each line of content, nor for each entry in the index.
6155
This will also help with the future dirstate format.
6156
(John Arbash Meinel)
6158
* Reserved ids (any revision-id ending in a colon) are rejected by
6159
versionedfiles, repositories, branches, and working trees
6162
* Minor performance improvement by not creating a ProgressBar for
6163
every KnitIndex we create. (about 90ms for a bzr.dev tree)
6164
(John Arbash Meinel)
6166
* New easier to use Branch hooks facility. There are five initial hooks,
6167
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
6168
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
6169
``'post_uncommit'``. These hooks fire after the matching operation
6170
on a branch has taken place, and were originally added for the
6171
branchrss plugin. (Robert Collins)
6173
* New method ``Branch.push()`` which should be used when pushing from a
6174
branch as it makes performance and policy decisions to match the UI
6175
level command ``push``. (Robert Collins).
6177
* Add a new method ``Tree.revision_tree`` which allows access to cached
6178
trees for arbitrary revisions. This allows the in development dirstate
6179
tree format to provide access to the callers to cached copies of
6180
inventory data which are cheaper to access than inventories from the
6182
(Robert Collins, Martin Pool)
6184
* New ``Branch.last_revision_info`` method, this is being done to allow
6185
optimization of requests for both the number of revisions and the last
6186
revision of a branch with smartservers and potentially future branch
6187
formats. (Wouter van Heyst, Robert Collins)
6189
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
6190
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
6191
other for code reuse without requiring users to perform file-renaming
6192
gymnastics. (Robert Collins)
6194
* New Repository method ``'gather_stats'`` for statistic data collection.
6195
This is expected to grow to cover a number of related uses mainly
6196
related to bzr info. (Robert Collins)
6198
* Log formatters are now managed with a registry.
6199
``log.register_formatter`` continues to work, but callers accessing
6200
the FORMATTERS dictionary directly will not.
6202
* Allow a start message to be passed to the ``edit_commit_message``
6203
function. This will be placed in the message offered to the user
6204
for editing above the separator. It allows a template commit message
6205
to be used more easily. (James Westby)
6207
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
6208
you pass a Unicode string rather than an 8-bit string. Callers need
6209
to be updated to encode first. (John Arbash Meinel)
6211
* Branch.push, pull, merge now return Result objects with information
6212
about what happened, rather than a scattering of various methods. These
6213
are also passed to the post hooks. (Martin Pool)
6215
* File formats and architecture is in place for managing a forest of trees
6216
in bzr, and splitting up existing trees into smaller subtrees, and
6217
finally joining trees to make a larger tree. This is the first iteration
6218
of this support, and the user-facing aspects still require substantial
6219
work. If you wish to experiment with it, use ``bzr upgrade
6220
--dirstate-with-subtree`` in your working trees and repositories.
6221
You can use the hidden commands ``split`` and ``join`` and to create
6222
and manipulate nested trees, but please consider using the nested-trees
6223
branch, which contains substantial UI improvements, instead.
6224
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
6225
(Aaron Bentley, Martin Pool, Robert Collins).
6230
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
6231
branch, rather than the last changed revision of the file.
6232
(John Arbash Meinel, #82158)
6234
* Lock operations no longer hang if they encounter a permission problem.
6237
* ``bzr push`` can resume a push that was canceled before it finished.
6238
Also, it can push even if the target directory exists if you supply
6239
the ``--use-existing-dir`` flag.
6240
(John Arbash Meinel, #30576, #45504)
6242
* Fix http proxy authentication when user and an optional
6243
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
6246
* ``bzr log branch/file`` works for local treeless branches
6247
(Aaron Bentley, #84247)
6249
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
6251
* Searching location of CA bundle for PyCurl in env variable
6252
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
6253
(Alexander Belchenko, #82086)
6255
* ``bzr init`` works with unicode argument LOCATION.
6256
(Alexander Belchenko, #85599)
6258
* Raise ``DependencyNotPresent`` if pycurl do not support https.
6259
(Vincent Ladeuil, #85305)
6261
* Invalid proxy env variables should not cause a traceback.
6262
(Vincent Ladeuil, #87765)
6264
* Ignore patterns normalised to use '/' path separator.
6265
(Kent Gibson, #86451)
6267
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
6269
* Fix bzrtools shelve command for removed lines beginning with "--"
6270
(Johan Dahlberg, #75577)
6275
* New ``--first`` option to ``bzr selftest`` to run specified tests
6276
before the rest of the suite. (Martin Pool)
5974
6279
bzr 0.14 2007-01-23
5975
--------------------
5979
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
5983
* Skip documentation generation tests if the tools to do so are not
5984
available. Fixes running selftest for installled copies of bzr.
5985
(John Arbash Meinel, #80330)
5987
* Fix the code that discovers whether bzr is being run from it's
5988
working tree to handle the case when it isn't but the directory
5989
it is in is below a repository. (James Westby, #77306)
6280
####################
6285
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
6290
* Skip documentation generation tests if the tools to do so are not
6291
available. Fixes running selftest for installled copies of bzr.
6292
(John Arbash Meinel, #80330)
6294
* Fix the code that discovers whether bzr is being run from it's
6295
working tree to handle the case when it isn't but the directory
6296
it is in is below a repository. (James Westby, #77306)
5992
6299
bzr 0.14rc1 2007-01-16
5993
-----------------------
5997
* New connection: ``bzr+http://`` which supports tunnelling the smart
5998
protocol over an HTTP connection. If writing is enabled on the bzr
5999
server, then you can write over the http connection.
6000
(Andrew Bennetts, John Arbash Meinel)
6002
* Aliases now support quotation marks, so they can contain whitespace
6005
* PyCurlTransport now use a single curl object. By specifying explicitly
6006
the 'Range' header, we avoid the need to use two different curl objects
6007
(and two connections to the same server). (Vincent Ladeuil)
6009
* ``bzr commit`` does not prompt for a message until it is very likely to
6010
succeed. (Aaron Bentley)
6012
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
6015
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
6016
of a list while checking if a revision id was requested. Takes 10s
6017
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
6018
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
6019
filtering lines with a regex rather than multiple ``str.find()``
6020
calls. (saves another 300ms) (John Arbash Meinel)
6022
* Policy can be set for each configuration key. This allows keys to be
6023
inherited properly across configuration entries. For example, this
6024
should enable you to do::
6026
[/home/user/project]
6027
push_location = sftp://host/srv/project/
6028
push_location:policy = appendpath
6030
And then a branch like ``/home/user/project/mybranch`` should get an
6031
automatic push location of ``sftp://host/srv/project/mybranch``.
6034
* Added ``bzr status --short`` to make status report svn style flags
6035
for each file. For example::
6037
$ bzr status --short
6043
* 'bzr selftest --clean-output' allows easily clean temporary tests
6044
directories without running tests. (Alexander Belchenko)
6046
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
6048
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
6049
local is fully merged into remote. (Jan Hudec)
6051
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
6055
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
6056
help speed up processing, as well allowing to extract unannotated
6057
lines. Between the two ``fileids_affected_by_revision_ids`` is
6058
improved by approx 10%. (John Arbash Meinel)
6060
* Change Revision serialization to only write out millisecond
6061
resolution. Rather than expecting floating point serialization to
6062
preserve more resolution than we need. (Henri Weichers, Martin Pool)
6064
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
6066
* When ``encoding_type`` attribute of class Command is equal to 'exact',
6067
force sys.stdout to be a binary stream on Windows, and therefore
6068
keep exact line-endings (without LF -> CRLF conversion).
6069
(Alexander Belchenko)
6071
* Single-letter short options are no longer globally declared. (Martin
6074
* Before using detected user/terminal encoding bzr should check
6075
that Python has corresponding codec. (Alexander Belchenko)
6077
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
6081
* ``bzr missing --verbose`` was showing adds/removals in the wrong
6082
direction. (John Arbash Meinel)
6084
* ``bzr annotate`` now defaults to showing dotted revnos for merged
6085
revisions. It cuts them off at a depth of 12 characters, but you can
6086
supply ``--long`` to see the full number. You can also use
6087
``--show-ids`` to display the original revision ids, rather than
6088
revision numbers and committer names. (John Arbash Meinel, #75637)
6090
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
6091
(Alexander Belchenko, #57869)
6093
* Win32-specific: output of cat, bundle and diff commands don't mangle
6094
line-endings (Alexander Belchenko, #55276)
6096
* Replace broken fnmatch based ignore pattern matching with custom pattern
6098
(Kent Gibson, Jan Hudec #57637)
6100
* pycurl and urllib can detect short reads at different places. Update
6101
the test suite to test more cases. Also detect http error code 416
6102
which was raised for that specific bug. Also enhance the urllib
6103
robustness by detecting invalid ranges (and pycurl's one by detecting
6104
short reads during the initial GET). (Vincent Ladeuil, #73948)
6106
* The urllib connection sharing interacts badly with urllib2
6107
proxy setting (the connections didn't go thru the proxy
6108
anymore). Defining a proper ProxyHandler solves the
6109
problem. (Vincent Ladeuil, #74759)
6111
* Use urlutils to generate relative URLs, not osutils
6112
(Aaron Bentley, #76229)
6114
* ``bzr status`` in a readonly directory should work without giving
6115
lots of errors. (John Arbash Meinel, #76299)
6117
* Mention the revisionspec topic for the revision option help.
6118
(Wouter van Heyst, #31663)
6120
* Allow plugins import from zip archives.
6121
(Alexander Belchenko, #68124)
6300
#######################
6305
* New connection: ``bzr+http://`` which supports tunnelling the smart
6306
protocol over an HTTP connection. If writing is enabled on the bzr
6307
server, then you can write over the http connection.
6308
(Andrew Bennetts, John Arbash Meinel)
6310
* Aliases now support quotation marks, so they can contain whitespace
6313
* PyCurlTransport now use a single curl object. By specifying explicitly
6314
the 'Range' header, we avoid the need to use two different curl objects
6315
(and two connections to the same server). (Vincent Ladeuil)
6317
* ``bzr commit`` does not prompt for a message until it is very likely to
6318
succeed. (Aaron Bentley)
6320
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
6323
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
6324
of a list while checking if a revision id was requested. Takes 10s
6325
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
6326
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
6327
filtering lines with a regex rather than multiple ``str.find()``
6328
calls. (saves another 300ms) (John Arbash Meinel)
6330
* Policy can be set for each configuration key. This allows keys to be
6331
inherited properly across configuration entries. For example, this
6332
should enable you to do::
6334
[/home/user/project]
6335
push_location = sftp://host/srv/project/
6336
push_location:policy = appendpath
6338
And then a branch like ``/home/user/project/mybranch`` should get an
6339
automatic push location of ``sftp://host/srv/project/mybranch``.
6342
* Added ``bzr status --short`` to make status report svn style flags
6343
for each file. For example::
6345
$ bzr status --short
6351
* 'bzr selftest --clean-output' allows easily clean temporary tests
6352
directories without running tests. (Alexander Belchenko)
6354
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
6356
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
6357
local is fully merged into remote. (Jan Hudec)
6359
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
6364
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
6365
help speed up processing, as well allowing to extract unannotated
6366
lines. Between the two ``fileids_affected_by_revision_ids`` is
6367
improved by approx 10%. (John Arbash Meinel)
6369
* Change Revision serialization to only write out millisecond
6370
resolution. Rather than expecting floating point serialization to
6371
preserve more resolution than we need. (Henri Weichers, Martin Pool)
6373
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
6375
* When ``encoding_type`` attribute of class Command is equal to 'exact',
6376
force sys.stdout to be a binary stream on Windows, and therefore
6377
keep exact line-endings (without LF -> CRLF conversion).
6378
(Alexander Belchenko)
6380
* Single-letter short options are no longer globally declared. (Martin
6383
* Before using detected user/terminal encoding bzr should check
6384
that Python has corresponding codec. (Alexander Belchenko)
6386
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
6391
* ``bzr missing --verbose`` was showing adds/removals in the wrong
6392
direction. (John Arbash Meinel)
6394
* ``bzr annotate`` now defaults to showing dotted revnos for merged
6395
revisions. It cuts them off at a depth of 12 characters, but you can
6396
supply ``--long`` to see the full number. You can also use
6397
``--show-ids`` to display the original revision ids, rather than
6398
revision numbers and committer names. (John Arbash Meinel, #75637)
6400
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
6401
(Alexander Belchenko, #57869)
6403
* Win32-specific: output of cat, bundle and diff commands don't mangle
6404
line-endings (Alexander Belchenko, #55276)
6406
* Replace broken fnmatch based ignore pattern matching with custom pattern
6408
(Kent Gibson, Jan Hudec #57637)
6410
* pycurl and urllib can detect short reads at different places. Update
6411
the test suite to test more cases. Also detect http error code 416
6412
which was raised for that specific bug. Also enhance the urllib
6413
robustness by detecting invalid ranges (and pycurl's one by detecting
6414
short reads during the initial GET). (Vincent Ladeuil, #73948)
6416
* The urllib connection sharing interacts badly with urllib2
6417
proxy setting (the connections didn't go thru the proxy
6418
anymore). Defining a proper ProxyHandler solves the
6419
problem. (Vincent Ladeuil, #74759)
6421
* Use urlutils to generate relative URLs, not osutils
6422
(Aaron Bentley, #76229)
6424
* ``bzr status`` in a readonly directory should work without giving
6425
lots of errors. (John Arbash Meinel, #76299)
6427
* Mention the revisionspec topic for the revision option help.
6428
(Wouter van Heyst, #31663)
6430
* Allow plugins import from zip archives.
6431
(Alexander Belchenko, #68124)
6124
6434
bzr 0.13 2006-12-05
6125
--------------------
6127
No changes from 0.13rc1
6435
####################
6437
No changes from 0.13rc
6129
6440
bzr 0.13rc1 2006-11-27
6130
-----------------------
6134
* New command ``bzr remove-tree`` allows the removal of the working
6136
(Daniel Silverstone)
6138
* urllib uses shared keep-alive connections, so http
6139
operations are substantially faster.
6140
(Vincent Ladeuil, #53654)
6142
* ``bzr export`` allows an optional branch parameter, to export a bzr
6143
tree from some other url. For example:
6144
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
6145
(Daniel Silverstone)
6147
* Added ``bzr help topics`` to the bzr help system. This gives a
6148
location for general information, outside of a specific command.
6149
This includes updates for ``bzr help revisionspec`` the first topic
6150
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
6152
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
6155
* Knit files will now cache full texts only when the size of the
6156
deltas is as large as the size of the fulltext. (Or after 200
6157
deltas, whichever comes first). This has the most benefit on large
6158
files with small changes, such as the inventory for a large project.
6159
(eg For a project with 2500 files, and 7500 revisions, it changes
6160
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
6164
* New -D option given before the command line turns on debugging output
6165
for particular areas. -Derror shows tracebacks on all errors.
6168
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
6169
and remove benchmarks that take longer than 10min to run.
6170
(John Arbash Meinel)
6172
* Use ``time.time()`` instead of ``time.clock()`` to decide on
6173
progress throttling. Because ``time.clock()`` is actually CPU time,
6174
so over a high-latency connection, too many updates get throttled.
6175
(John Arbash Meinel)
6177
* ``MemoryTransport.list_dir()`` would strip the first character for
6178
files or directories in root directory. (John Arbash Meinel)
6180
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
6181
branch references - which the smart server component needs.
6183
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
6184
prefix. It disallows any access to locations above a set URL. (Andrew
6189
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
6190
And optimize the knit index parsing code.
6191
(Dmitry Vasiliev, John Arbash Meinel)
6193
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
6194
without importing it. This prevented ``bzr upgrade`` from working
6195
unless a plugin already imported ``bzrlib.workingtree``
6196
(John Arbash Meinel, #70716)
6198
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
6200
* Give nicer error message when an http server returns a 403
6201
error code. (Vincent Ladeuil, #57644).
6203
* When a multi-range http GET request fails, try a single
6204
range one. If it fails too, forget about ranges. Remember that until
6205
the death of the transport and propagates that to the clones.
6206
(Vincent Ladeuil, #62276, #62029).
6208
* Handles user/passwords supplied in url from command
6209
line (for the urllib implementation). Don't request already
6210
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
6212
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
6213
are added. This fixes bug where fetching remote revisions records
6214
them as full references rather than integers.
6215
(John Arbash Meinel, #64789)
6217
* ``bzr ignore`` strips trailing slashes in patterns.
6218
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
6220
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
6222
* mv correctly handles paths that traverse symlinks.
6223
(Aaron Bentley, #66964)
6225
* Give nicer looking error messages when failing to connect over ssh.
6226
(John Arbash Meinel, #49172)
6228
* Pushing to a remote branch does not currently update the remote working
6229
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
6230
machine now show that the working tree is out of date.
6231
(Cheuksan Edward Wang #48136)
6233
* Use patiencediff instead of difflib for determining deltas to insert
6234
into knits. This avoids the O(N^3) behavior of difflib. Patience
6235
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
6237
* Running ``bzr log`` on nonexistent file gives an error instead of the
6238
entire log history. (Cheuksan Edward Wang #50793)
6240
* ``bzr cat`` can look up contents of removed or renamed files. If the
6241
pathname is ambiguous, i.e. the files in the old and new trees have
6242
different id's, the default is the file in the new tree. The user can
6243
use "--name-from-revision" to select the file in the old tree.
6244
(Cheuksan Edward Wang, #30190)
6248
* TestingHTTPRequestHandler really handles the Range header
6249
(previously it was ignoring it and returning the whole file,).
6441
#######################
6446
* New command ``bzr remove-tree`` allows the removal of the working
6448
(Daniel Silverstone)
6450
* urllib uses shared keep-alive connections, so http
6451
operations are substantially faster.
6452
(Vincent Ladeuil, #53654)
6454
* ``bzr export`` allows an optional branch parameter, to export a bzr
6455
tree from some other url. For example:
6456
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
6457
(Daniel Silverstone)
6459
* Added ``bzr help topics`` to the bzr help system. This gives a
6460
location for general information, outside of a specific command.
6461
This includes updates for ``bzr help revisionspec`` the first topic
6462
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
6464
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
6467
* Knit files will now cache full texts only when the size of the
6468
deltas is as large as the size of the fulltext. (Or after 200
6469
deltas, whichever comes first). This has the most benefit on large
6470
files with small changes, such as the inventory for a large project.
6471
(eg For a project with 2500 files, and 7500 revisions, it changes
6472
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
6477
* New -D option given before the command line turns on debugging output
6478
for particular areas. -Derror shows tracebacks on all errors.
6481
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
6482
and remove benchmarks that take longer than 10min to run.
6483
(John Arbash Meinel)
6485
* Use ``time.time()`` instead of ``time.clock()`` to decide on
6486
progress throttling. Because ``time.clock()`` is actually CPU time,
6487
so over a high-latency connection, too many updates get throttled.
6488
(John Arbash Meinel)
6490
* ``MemoryTransport.list_dir()`` would strip the first character for
6491
files or directories in root directory. (John Arbash Meinel)
6493
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
6494
branch references - which the smart server component needs.
6496
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
6497
prefix. It disallows any access to locations above a set URL. (Andrew
6503
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
6504
And optimize the knit index parsing code.
6505
(Dmitry Vasiliev, John Arbash Meinel)
6507
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
6508
without importing it. This prevented ``bzr upgrade`` from working
6509
unless a plugin already imported ``bzrlib.workingtree``
6510
(John Arbash Meinel, #70716)
6512
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
6514
* Give nicer error message when an http server returns a 403
6515
error code. (Vincent Ladeuil, #57644).
6517
* When a multi-range http GET request fails, try a single
6518
range one. If it fails too, forget about ranges. Remember that until
6519
the death of the transport and propagates that to the clones.
6520
(Vincent Ladeuil, #62276, #62029).
6522
* Handles user/passwords supplied in url from command
6523
line (for the urllib implementation). Don't request already
6524
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
6526
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
6527
are added. This fixes bug where fetching remote revisions records
6528
them as full references rather than integers.
6529
(John Arbash Meinel, #64789)
6531
* ``bzr ignore`` strips trailing slashes in patterns.
6532
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
6534
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
6536
* mv correctly handles paths that traverse symlinks.
6537
(Aaron Bentley, #66964)
6539
* Give nicer looking error messages when failing to connect over ssh.
6540
(John Arbash Meinel, #49172)
6542
* Pushing to a remote branch does not currently update the remote working
6543
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
6544
machine now show that the working tree is out of date.
6545
(Cheuksan Edward Wang #48136)
6547
* Use patiencediff instead of difflib for determining deltas to insert
6548
into knits. This avoids the O(N^3) behavior of difflib. Patience
6549
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
6551
* Running ``bzr log`` on nonexistent file gives an error instead of the
6552
entire log history. (Cheuksan Edward Wang #50793)
6554
* ``bzr cat`` can look up contents of removed or renamed files. If the
6555
pathname is ambiguous, i.e. the files in the old and new trees have
6556
different id's, the default is the file in the new tree. The user can
6557
use "--name-from-revision" to select the file in the old tree.
6558
(Cheuksan Edward Wang, #30190)
6563
* TestingHTTPRequestHandler really handles the Range header
6564
(previously it was ignoring it and returning the whole file,).
6251
6566
bzr 0.12 2006-10-30
6252
--------------------
6256
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
6257
and remove benchmarks that take longer than 10min to run.
6258
(John Arbash Meinel)
6567
####################
6572
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
6573
and remove benchmarks that take longer than 10min to run.
6574
(John Arbash Meinel)
6260
6576
bzr 0.12rc1 2006-10-23
6261
-----------------------
6265
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
6266
rather than just showing a decimal revision number for revisions on the
6267
mainline. These revision numbers are not yet accepted as input into bzr
6268
commands such as log, diff etc. (Robert Collins)
6270
* revisions can now be specified using dotted-decimal revision numbers.
6271
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
6273
* ``bzr help commands`` output is now shorter (Aaron Bentley)
6275
* ``bzr`` now uses lazy importing to reduce the startup time. This has
6276
a moderate effect on lots of actions, especially ones that have
6277
little to do. For example ``bzr rocks`` time is down to 116ms from
6278
283ms. (John Arbash Meinel)
6280
* New Registry class to provide name-to-object registry-like support,
6281
for example for schemes where plugins can register new classes to
6282
do certain tasks (e.g. log formatters). Also provides lazy registration
6283
to allow modules to be loaded on request.
6284
(John Arbash Meinel, Adeodato Simó)
6286
API INCOMPATABILITY:
6288
* LogFormatter subclasses show now expect the 'revno' parameter to
6289
show() to be a string rather than an int. (Robert Collins)
6293
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
6294
can take a ``working_dir='foo'`` parameter, which will change directory
6295
for the command. (John Arbash Meinel)
6297
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
6298
around a regex, which defers compilation until first use.
6299
(John Arbash Meinel)
6301
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
6302
``--no-plugins`` parameter to ensure test reproducability, and avoid
6303
problems with system-wide installed plugins. (John Arbash Meinel)
6305
* Unique tree root ids are now supported. Newly created trees still
6306
use the common root id for compatibility with bzr versions before 0.12.
6309
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
6310
pass in ``inventory.ROOT_ID`` if you want the default root id value.
6311
(Robert Collins, John Arbash Meinel)
6313
* New method ``WorkingTree.flush()`` which will write the current memory
6314
inventory out to disk. At the same time, ``read_working_inventory`` will
6315
no longer trash the current tree inventory if it has been modified within
6316
the current lock, and the tree will now ``flush()`` automatically on
6317
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
6318
advantage of this functionality. (Robert Collins, John Arbash Meinel)
6320
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
6321
parameter will cause it to add another column to its output, which
6322
contains the dotted-decimal revno for each revision, as a tuple.
6325
* ``LogFormatter.show_merge`` is deprecated in favour of
6326
``LogFormatter.show_merge_revno``. (Robert Collins)
6330
* Avoid circular imports by creating a deprecated function for
6331
``bzrlib.tree.RevisionTree``. Callers should have been using
6332
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
6335
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
6336
platforms. (Martin Pool, #66356)
6338
* Don't require ``Content-Type`` in range responses. Assume they are a
6339
single range if ``Content-Type`` does not exist.
6340
(John Arbash Meinel, #62473)
6342
* bzr branch/pull no longer complain about progress bar cleanup when
6343
interrupted during fetch. (Aaron Bentley, #54000)
6345
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
6346
the basis inventory, rather than going through the repository. This
6347
allows us to have 1 inventory read, and 2 inventory writes when
6348
committing a new tree. (John Arbash Meinel)
6350
* When reverting, files that are not locally modified that do not exist
6351
in the target are deleted, not just unversioned (Aaron Bentley)
6353
* When trying to acquire a lock, don't fail immediately. Instead, try
6354
a few times (up to 1 hour) before timing out. Also, report why the
6355
lock is unavailable (John Arbash Meinel, #43521, #49556)
6357
* Leave HttpTransportBase daughter classes decides how they
6358
implement cloning. (Vincent Ladeuil, #61606)
6360
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
6362
* If a commit fails, the commit message is stored in a file at the root of
6363
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
6368
* New test base class TestCaseWithMemoryTransport offers memory-only
6369
testing facilities: its not suitable for tests that need to mutate disk
6370
state, but most tests should not need that and should be converted to
6371
TestCaseWithMemoryTransport. (Robert Collins)
6373
* ``TestCase.make_branch_and_memory_tree`` now takes a format
6374
option to set the BzrDir, Repository and Branch formats of the
6375
created objects. (Robert Collins, John Arbash Meinel)
6577
#######################
6582
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
6583
rather than just showing a decimal revision number for revisions on the
6584
mainline. These revision numbers are not yet accepted as input into bzr
6585
commands such as log, diff etc. (Robert Collins)
6587
* revisions can now be specified using dotted-decimal revision numbers.
6588
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
6590
* ``bzr help commands`` output is now shorter (Aaron Bentley)
6592
* ``bzr`` now uses lazy importing to reduce the startup time. This has
6593
a moderate effect on lots of actions, especially ones that have
6594
little to do. For example ``bzr rocks`` time is down to 116ms from
6595
283ms. (John Arbash Meinel)
6597
* New Registry class to provide name-to-object registry-like support,
6598
for example for schemes where plugins can register new classes to
6599
do certain tasks (e.g. log formatters). Also provides lazy registration
6600
to allow modules to be loaded on request.
6601
(John Arbash Meinel, Adeodato Simó)
6606
* LogFormatter subclasses show now expect the 'revno' parameter to
6607
show() to be a string rather than an int. (Robert Collins)
6612
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
6613
can take a ``working_dir='foo'`` parameter, which will change directory
6614
for the command. (John Arbash Meinel)
6616
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
6617
around a regex, which defers compilation until first use.
6618
(John Arbash Meinel)
6620
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
6621
``--no-plugins`` parameter to ensure test reproducability, and avoid
6622
problems with system-wide installed plugins. (John Arbash Meinel)
6624
* Unique tree root ids are now supported. Newly created trees still
6625
use the common root id for compatibility with bzr versions before 0.12.
6628
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
6629
pass in ``inventory.ROOT_ID`` if you want the default root id value.
6630
(Robert Collins, John Arbash Meinel)
6632
* New method ``WorkingTree.flush()`` which will write the current memory
6633
inventory out to disk. At the same time, ``read_working_inventory`` will
6634
no longer trash the current tree inventory if it has been modified within
6635
the current lock, and the tree will now ``flush()`` automatically on
6636
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
6637
advantage of this functionality. (Robert Collins, John Arbash Meinel)
6639
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
6640
parameter will cause it to add another column to its output, which
6641
contains the dotted-decimal revno for each revision, as a tuple.
6644
* ``LogFormatter.show_merge`` is deprecated in favour of
6645
``LogFormatter.show_merge_revno``. (Robert Collins)
6650
* Avoid circular imports by creating a deprecated function for
6651
``bzrlib.tree.RevisionTree``. Callers should have been using
6652
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
6655
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
6656
platforms. (Martin Pool, #66356)
6658
* Don't require ``Content-Type`` in range responses. Assume they are a
6659
single range if ``Content-Type`` does not exist.
6660
(John Arbash Meinel, #62473)
6662
* bzr branch/pull no longer complain about progress bar cleanup when
6663
interrupted during fetch. (Aaron Bentley, #54000)
6665
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
6666
the basis inventory, rather than going through the repository. This
6667
allows us to have 1 inventory read, and 2 inventory writes when
6668
committing a new tree. (John Arbash Meinel)
6670
* When reverting, files that are not locally modified that do not exist
6671
in the target are deleted, not just unversioned (Aaron Bentley)
6673
* When trying to acquire a lock, don't fail immediately. Instead, try
6674
a few times (up to 1 hour) before timing out. Also, report why the
6675
lock is unavailable (John Arbash Meinel, #43521, #49556)
6677
* Leave HttpTransportBase daughter classes decides how they
6678
implement cloning. (Vincent Ladeuil, #61606)
6680
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
6682
* If a commit fails, the commit message is stored in a file at the root of
6683
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
6689
* New test base class TestCaseWithMemoryTransport offers memory-only
6690
testing facilities: its not suitable for tests that need to mutate disk
6691
state, but most tests should not need that and should be converted to
6692
TestCaseWithMemoryTransport. (Robert Collins)
6694
* ``TestCase.make_branch_and_memory_tree`` now takes a format
6695
option to set the BzrDir, Repository and Branch formats of the
6696
created objects. (Robert Collins, John Arbash Meinel)
6377
6698
bzr 0.11 2006-10-02
6378
--------------------
6699
####################
6380
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
6701
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
6382
6703
bzr 0.11rc2 2006-09-27
6383
-----------------------
6387
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
6389
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
6704
#######################
6709
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
6711
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
6392
6714
bzr 0.11rc1 2006-09-25
6393
-----------------------
6397
* Knit files now wait to create their contents until the first data is
6398
added. The old code used to create an empty .knit and a .kndx with just
6399
the header. However, this caused a lot of extra round trips over sftp.
6400
This can change the time for ``bzr push`` to create a new remote branch
6401
from 160s down to 100s. This also affects ``bzr commit`` performance when
6402
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
6403
down to 40s (John Arbash Meinel, #44692)
6405
* When an entire subtree has been deleted, commit will now report that
6406
just the top of the subtree has been deleted, rather than reporting
6407
all the individual items. (Robert Collins)
6409
* Commit performs one less XML parse. (Robert Collins)
6411
* ``bzr checkout`` now operates on readonly branches as well
6412
as readwrite branches. This fixes bug #39542. (Robert Collins)
6414
* ``bzr bind`` no longer synchronises history with the master branch.
6415
Binding should be followed by an update or push to synchronise the
6416
two branches. This is closely related to the fix for bug #39542.
6419
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
6420
objects. This allows all imports to stay at the global scope, but
6421
modules will not actually be imported if they are not used.
6422
(John Arbash Meinel)
6424
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
6425
transport which will be used with the upcoming high-performance smart
6426
server. The new command ``bzr serve`` will invoke bzr in server mode,
6427
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
6430
* New command ``bzr version-info`` which can be used to get a summary
6431
of the current state of the tree. This is especially useful as part
6432
of a build commands. See ``doc/version_info.txt`` for more information
6433
(John Arbash Meinel)
6437
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
6438
specific set of files. (John Arbash Meinel, #3631)
6440
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
6442
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
6443
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
6444
reading a nested Stanza. (John Arbash Meinel)
6446
* Transform._set_mode() needs to stat the right file.
6447
(John Arbash Meinel, #56549)
6449
* Raise WeaveFormatError rather than StopIteration when trying to read
6450
an empty Weave file. (John Arbash Meinel, #46871)
6452
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
6453
(Vincent Ladeuil, #59835)
6455
* Handle boundary="" lines properly to allow access through a Squid proxy.
6456
(John Arbash Meinel, #57723)
6458
* revert now removes newly-added directories (Aaron Bentley, #54172)
6460
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
6461
isn't a working tree. (David Allouche, #40679)
6463
* Give nicer error messages when a user supplies an invalid --revision
6464
parameter. (John Arbash Meinel, #55420)
6466
* Handle when LANG is not recognized by python. Emit a warning, but
6467
just revert to using 'ascii'. (John Arbash Meinel, #35392)
6469
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
6470
(John Arbash Meinel)
6472
* Skip specific tests when the dependencies aren't met. This includes
6473
some ``setup.py`` tests when ``python-dev`` is not available, and
6474
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
6476
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
6477
the system. (Andrew Bennetts, John Arbash Meinel)
6479
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
6480
other branch, and will not push or pull between the two branches.
6481
API users will need to perform a push or pull or update operation if they
6482
require branch synchronisation to take place. (Robert Collins, #47344)
6484
* When creating a tarball or zipfile export, export unicode names as utf-8
6485
paths. This may not work perfectly on all platforms, but has the best
6486
chance of working in the common case. (John Arbash Meinel, #56816)
6488
* When committing, only files that exist in working tree or basis tree
6489
may be specified (Aaron Bentley, #50793)
6493
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
6497
* TestCaseInTempDir now creates a separate directory for HOME, rather
6498
than having HOME set to the same location as the working directory.
6499
(John Arbash Meinel)
6501
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
6502
which will update os.environ inside the spawned child. It also can
6503
take a ``universal_newlines=True``, which helps when checking the output
6504
of the command. (John Arbash Meinel)
6506
* Refactor SFTP vendors to allow easier re-use when ssh is used.
6509
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
6510
return urlescaped paths. This is now tested (there were bugs in a few
6511
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
6513
* New utility function ``symbol_versioning.deprecation_string``. Returns the
6514
formatted string for a callable, deprecation format pair. (Robert Collins)
6516
* New TestCase helper applyDeprecated. This allows you to call a callable
6517
which is deprecated without it spewing to the screen, just by supplying
6518
the deprecation format string issued for it. (Robert Collins)
6520
* Transport.append and Transport.put have been deprecated in favor of
6521
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
6522
``.put_file``. This removes the ambiguity in what type of object the
6523
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
6524
been added. Which works similarly to ``Transport.append()`` except for
6525
SFTP, it doesn't have a round trip when opening the file. Also, it
6526
provides functionality for creating a parent directory when trying
6527
to create a file, rather than raise NoSuchFile and forcing the
6528
caller to repeat their request.
6529
(John Arbash Meinel)
6531
* WorkingTree has a new api ``unversion`` which allow the unversioning of
6532
entries by their file id. (Robert Collins)
6534
* ``WorkingTree.pending_merges`` is deprecated. Please use the
6535
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
6537
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
6538
read rather than write. This is appropriate for actions which only need
6539
the branch data for reference rather than mutation. A new decorator
6540
``needs_tree_write_lock`` is provided in the workingtree module. Like the
6541
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
6542
declaration of the locking requirements of a function to ensure that
6543
a lock is taken out for casual scripts. (Robert Collins, #54107)
6545
* All WorkingTree methods which write to the tree, but not to the branch
6546
have been converted to use ``needs_tree_write_lock`` rather than
6547
``needs_write_lock``. Also converted is the revert, conflicts and tree
6548
transform modules. This provides a modest performance improvement on
6549
metadir style trees, due to the reduce lock-acquisition, and a more
6550
significant performance improvement on lightweight checkouts from
6551
remote branches, where trivial operations used to pay a significant
6552
penalty. It also provides the basis for allowing readonly checkouts.
6555
* Special case importing the standard library 'copy' module. This shaves
6556
off 40ms of startup time, while retaining compatibility. See:
6557
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
6559
* WorkingTree has a new parent class MutableTree which represents the
6560
specialisations of Tree which are able to be altered. (Robert Collins)
6562
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
6563
mutate the tree and its contents. (Robert Collins)
6565
* Transport behaviour at the root of the URL is now defined and tested.
6566
(Andrew Bennetts, Robert Collins)
6570
* New test helper classs MemoryTree. This is typically accessed via
6571
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
6573
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
6574
code to continue running concurrently with a subprocess of bzr.
6575
(Andrew Bennetts, Robert Collins)
6577
* Add a new method ``Transport.get_smart_client()``. This is provided to
6578
allow upgrades to a richer interface than the VFS one provided by
6579
Transport. (Andrew Bennetts, Martin Pool)
6715
#######################
6720
* Knit files now wait to create their contents until the first data is
6721
added. The old code used to create an empty .knit and a .kndx with just
6722
the header. However, this caused a lot of extra round trips over sftp.
6723
This can change the time for ``bzr push`` to create a new remote branch
6724
from 160s down to 100s. This also affects ``bzr commit`` performance when
6725
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
6726
down to 40s (John Arbash Meinel, #44692)
6728
* When an entire subtree has been deleted, commit will now report that
6729
just the top of the subtree has been deleted, rather than reporting
6730
all the individual items. (Robert Collins)
6732
* Commit performs one less XML parse. (Robert Collins)
6734
* ``bzr checkout`` now operates on readonly branches as well
6735
as readwrite branches. This fixes bug #39542. (Robert Collins)
6737
* ``bzr bind`` no longer synchronises history with the master branch.
6738
Binding should be followed by an update or push to synchronise the
6739
two branches. This is closely related to the fix for bug #39542.
6742
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
6743
objects. This allows all imports to stay at the global scope, but
6744
modules will not actually be imported if they are not used.
6745
(John Arbash Meinel)
6747
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
6748
transport which will be used with the upcoming high-performance smart
6749
server. The new command ``bzr serve`` will invoke bzr in server mode,
6750
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
6753
* New command ``bzr version-info`` which can be used to get a summary
6754
of the current state of the tree. This is especially useful as part
6755
of a build commands. See ``doc/version_info.txt`` for more information
6756
(John Arbash Meinel)
6761
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
6762
specific set of files. (John Arbash Meinel, #3631)
6764
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
6766
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
6767
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
6768
reading a nested Stanza. (John Arbash Meinel)
6770
* Transform._set_mode() needs to stat the right file.
6771
(John Arbash Meinel, #56549)
6773
* Raise WeaveFormatError rather than StopIteration when trying to read
6774
an empty Weave file. (John Arbash Meinel, #46871)
6776
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
6777
(Vincent Ladeuil, #59835)
6779
* Handle boundary="" lines properly to allow access through a Squid proxy.
6780
(John Arbash Meinel, #57723)
6782
* revert now removes newly-added directories (Aaron Bentley, #54172)
6784
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
6785
isn't a working tree. (David Allouche, #40679)
6787
* Give nicer error messages when a user supplies an invalid --revision
6788
parameter. (John Arbash Meinel, #55420)
6790
* Handle when LANG is not recognized by python. Emit a warning, but
6791
just revert to using 'ascii'. (John Arbash Meinel, #35392)
6793
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
6794
(John Arbash Meinel)
6796
* Skip specific tests when the dependencies aren't met. This includes
6797
some ``setup.py`` tests when ``python-dev`` is not available, and
6798
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
6800
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
6801
the system. (Andrew Bennetts, John Arbash Meinel)
6803
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
6804
other branch, and will not push or pull between the two branches.
6805
API users will need to perform a push or pull or update operation if they
6806
require branch synchronisation to take place. (Robert Collins, #47344)
6808
* When creating a tarball or zipfile export, export unicode names as utf-8
6809
paths. This may not work perfectly on all platforms, but has the best
6810
chance of working in the common case. (John Arbash Meinel, #56816)
6812
* When committing, only files that exist in working tree or basis tree
6813
may be specified (Aaron Bentley, #50793)
6818
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
6823
* TestCaseInTempDir now creates a separate directory for HOME, rather
6824
than having HOME set to the same location as the working directory.
6825
(John Arbash Meinel)
6827
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
6828
which will update os.environ inside the spawned child. It also can
6829
take a ``universal_newlines=True``, which helps when checking the output
6830
of the command. (John Arbash Meinel)
6832
* Refactor SFTP vendors to allow easier re-use when ssh is used.
6835
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
6836
return urlescaped paths. This is now tested (there were bugs in a few
6837
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
6839
* New utility function ``symbol_versioning.deprecation_string``. Returns the
6840
formatted string for a callable, deprecation format pair. (Robert Collins)
6842
* New TestCase helper applyDeprecated. This allows you to call a callable
6843
which is deprecated without it spewing to the screen, just by supplying
6844
the deprecation format string issued for it. (Robert Collins)
6846
* Transport.append and Transport.put have been deprecated in favor of
6847
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
6848
``.put_file``. This removes the ambiguity in what type of object the
6849
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
6850
been added. Which works similarly to ``Transport.append()`` except for
6851
SFTP, it doesn't have a round trip when opening the file. Also, it
6852
provides functionality for creating a parent directory when trying
6853
to create a file, rather than raise NoSuchFile and forcing the
6854
caller to repeat their request.
6855
(John Arbash Meinel)
6857
* WorkingTree has a new api ``unversion`` which allow the unversioning of
6858
entries by their file id. (Robert Collins)
6860
* ``WorkingTree.pending_merges`` is deprecated. Please use the
6861
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
6863
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
6864
read rather than write. This is appropriate for actions which only need
6865
the branch data for reference rather than mutation. A new decorator
6866
``needs_tree_write_lock`` is provided in the workingtree module. Like the
6867
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
6868
declaration of the locking requirements of a function to ensure that
6869
a lock is taken out for casual scripts. (Robert Collins, #54107)
6871
* All WorkingTree methods which write to the tree, but not to the branch
6872
have been converted to use ``needs_tree_write_lock`` rather than
6873
``needs_write_lock``. Also converted is the revert, conflicts and tree
6874
transform modules. This provides a modest performance improvement on
6875
metadir style trees, due to the reduce lock-acquisition, and a more
6876
significant performance improvement on lightweight checkouts from
6877
remote branches, where trivial operations used to pay a significant
6878
penalty. It also provides the basis for allowing readonly checkouts.
6881
* Special case importing the standard library 'copy' module. This shaves
6882
off 40ms of startup time, while retaining compatibility. See:
6883
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
6885
* WorkingTree has a new parent class MutableTree which represents the
6886
specialisations of Tree which are able to be altered. (Robert Collins)
6888
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
6889
mutate the tree and its contents. (Robert Collins)
6891
* Transport behaviour at the root of the URL is now defined and tested.
6892
(Andrew Bennetts, Robert Collins)
6897
* New test helper classs MemoryTree. This is typically accessed via
6898
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
6900
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
6901
code to continue running concurrently with a subprocess of bzr.
6902
(Andrew Bennetts, Robert Collins)
6904
* Add a new method ``Transport.get_smart_client()``. This is provided to
6905
allow upgrades to a richer interface than the VFS one provided by
6906
Transport. (Andrew Bennetts, Martin Pool)
6581
6908
bzr 0.10 2006-08-29
6582
--------------------
6585
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
6586
tree. (Aaron Bentley)
6588
* 'bzr add --file-ids-from' can be used to specify another path to use
6589
for creating file ids, rather than generating all new ones. Internally,
6590
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
6591
will be used, rather than having bzrlib generate new ones.
6592
(John Arbash Meinel, #55781)
6594
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
6595
This will cache some of the intermediate trees, and decrease the
6596
setup time for benchmark tests. (John Arbash Meinel)
6598
* Inverse forms are provided for all boolean options. For example,
6599
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
6601
* Serialize out Inventories directly, rather than using ElementTree.
6602
Writing out a kernel sized inventory drops from 2s down to ~350ms.
6603
(Robert Collins, John Arbash Meinel)
6607
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
6609
* Change LockDir so that if the lock directory doesn't exist when
6610
``lock_write()`` is called, an attempt will be made to create it.
6611
(John Arbash Meinel, #56974)
6613
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
6615
* Active FTP transport now works as intended. (ghozzy, #56472)
6617
* Really fix mutter() so that it won't ever raise a UnicodeError.
6618
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
6619
But it is a debugging log, not a real user file.
6620
(John Arbash Meinel, #56947, #53880)
6622
* Change Command handle to allow Unicode command and options.
6623
At present we cannot register Unicode command names, so we will get
6624
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
6625
But that is better than a UnicodeError + a traceback.
6626
(John Arbash Meinel, #57123)
6628
* Handle TZ=UTC properly when reading/writing revisions.
6629
(John Arbash Meinel, #55783, #56290)
6631
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
6632
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
6634
* External diff does the right thing for binaries even in foreign
6635
languages. (John Arbash Meinel, #56307)
6637
* Testament handles more cases when content is unicode. Specific bug was
6638
in handling of revision properties.
6639
(John Arbash Meinel, Holger Krekel, #54723)
6641
* The bzr selftest was failing on installed versions due to a bug in a new
6642
test helper. (John Arbash Meinel, Robert Collins, #58057)
6646
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
6647
which can be used to cache the conversion between utf8 and Unicode.
6648
Especially helpful for some of the knit annotation code, which has to
6649
convert revision ids to utf8 to annotate lines in storage.
6650
(John Arbash Meinel)
6652
* ``setup.py`` now searches the filesystem to find all packages which
6653
need to be installed. This should help make the life of packagers
6654
easier. (John Arbash Meinel)
6909
####################
6913
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
6914
tree. (Aaron Bentley)
6916
* 'bzr add --file-ids-from' can be used to specify another path to use
6917
for creating file ids, rather than generating all new ones. Internally,
6918
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
6919
will be used, rather than having bzrlib generate new ones.
6920
(John Arbash Meinel, #55781)
6922
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
6923
This will cache some of the intermediate trees, and decrease the
6924
setup time for benchmark tests. (John Arbash Meinel)
6926
* Inverse forms are provided for all boolean options. For example,
6927
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
6929
* Serialize out Inventories directly, rather than using ElementTree.
6930
Writing out a kernel sized inventory drops from 2s down to ~350ms.
6931
(Robert Collins, John Arbash Meinel)
6936
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
6938
* Change LockDir so that if the lock directory doesn't exist when
6939
``lock_write()`` is called, an attempt will be made to create it.
6940
(John Arbash Meinel, #56974)
6942
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
6944
* Active FTP transport now works as intended. (ghozzy, #56472)
6946
* Really fix mutter() so that it won't ever raise a UnicodeError.
6947
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
6948
But it is a debugging log, not a real user file.
6949
(John Arbash Meinel, #56947, #53880)
6951
* Change Command handle to allow Unicode command and options.
6952
At present we cannot register Unicode command names, so we will get
6953
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
6954
But that is better than a UnicodeError + a traceback.
6955
(John Arbash Meinel, #57123)
6957
* Handle TZ=UTC properly when reading/writing revisions.
6958
(John Arbash Meinel, #55783, #56290)
6960
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
6961
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
6963
* External diff does the right thing for binaries even in foreign
6964
languages. (John Arbash Meinel, #56307)
6966
* Testament handles more cases when content is unicode. Specific bug was
6967
in handling of revision properties.
6968
(John Arbash Meinel, Holger Krekel, #54723)
6970
* The bzr selftest was failing on installed versions due to a bug in a new
6971
test helper. (John Arbash Meinel, Robert Collins, #58057)
6976
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
6977
which can be used to cache the conversion between utf8 and Unicode.
6978
Especially helpful for some of the knit annotation code, which has to
6979
convert revision ids to utf8 to annotate lines in storage.
6980
(John Arbash Meinel)
6982
* ``setup.py`` now searches the filesystem to find all packages which
6983
need to be installed. This should help make the life of packagers
6984
easier. (John Arbash Meinel)
6656
6986
bzr 0.9.0 2006-08-11
6657
---------------------
6661
* The hard-coded built-in ignore rules have been removed. There are
6662
now two rulesets which are enforced. A user global one in
6663
``~/.bazaar/ignore`` which will apply to every tree, and the tree
6664
specific one '.bzrignore'.
6665
``~/.bazaar/ignore`` will be created if it does not exist, but with
6666
a more conservative list than the old default.
6667
This fixes bugs with default rules being enforced no matter what.
6668
The old list of ignore rules from bzr is available by
6669
running 'bzr ignore --old-default-rules'.
6670
(Robert Collins, Martin Pool, John Arbash Meinel)
6672
* 'branches.conf' has been changed to 'locations.conf', since it can apply
6673
to more locations than just branch locations.
6678
* The revision specifier "revno:" is extended to accept the syntax
6679
revno:N:branch. For example,
6680
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
6681
bzr.dev. (Matthieu Moy)
6683
* Tests updates to ensure proper URL handling, UNICODE support, and
6684
proper printing when the user's terminal encoding cannot display
6685
the path of a file that has been versioned.
6686
``bzr branch`` can take a target URL rather than only a local directory.
6687
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
6688
and normalize the parent based on root, allowing access across
6689
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
6690
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
6693
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6694
Use terminal width for single-line logs from ``bzr log --line`` and
6695
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
6698
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
6699
(Alexander Belchenko)
6701
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
6703
* Show the correct number of revisions pushed when pushing a new branch.
6706
* 'bzr selftest' now shows a progress bar with the number of tests, and
6707
progress made. 'make check' shows tests in -v mode, to be more useful
6708
for the PQM status window. (Robert Collins).
6709
When using a progress bar, failed tests are printed out, rather than
6710
being overwritten by the progress bar until the suite finishes.
6711
(John Arbash Meinel)
6713
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
6714
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
6715
profile data for the individual profiled calls, allowing for fine
6716
grained analysis of performance.
6717
(Robert Collins, Martin Pool).
6719
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
6720
where commit can take an appreciable time. (Robert Collins)
6722
* 'bzr add' is now less verbose in telling you what ignore globs were
6723
matched by files being ignored. Instead it just tells you how many
6724
were ignored (because you might reasonably be expecting none to be
6725
ignored). 'bzr add -v' is unchanged and will report every ignored
6726
file. (Robert Collins).
6728
* ftp now has a test server if medusa is installed. As part of testing,
6729
ftp support has been improved, including support for supplying a
6730
non-standard port. (John Arbash Meinel).
6732
* 'bzr log --line' shows the revision number, and uses only the
6733
first line of the log message (#5162, Alexander Belchenko;
6736
* 'bzr status' has had the --all option removed. The 'bzr ls' command
6737
should be used to retrieve all versioned files. (Robert Collins)
6739
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
6740
over email, and applied on the other end, while maintaining ancestry.
6741
This bundle can be applied with either 'bzr merge' or 'bzr pull',
6742
the same way you would apply another branch.
6743
(John Arbash Meinel, Aaron Bentley)
6745
* 'bzr whoami' can now be used to set your identity from the command line,
6746
for a branch or globally. (Robey Pointer)
6748
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
6751
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
6754
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
6755
Also updates things like 'http+pycurl://' if pycurl is not present.
6756
(John Arbash Meinel) (Malone #47821, #52204)
6758
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
6759
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
6760
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
6762
* Improve the help text for 'bzr diff' to explain what various options do.
6763
(John Arbash Meinel, #6391)
6765
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
6766
revision 10. This makes -r10 more in line with what other commands do.
6767
'bzr uncommit' also now saves the pending merges of the revisions that
6768
were removed. So it is safe to uncommit after a merge, fix something,
6769
and commit again. (John Arbash Meinel, #32526, #31426)
6771
* 'bzr init' now also works on remote locations.
6772
(Wouter van Heyst, #48904)
6774
* HTTP support has been updated. When using pycurl we now support
6775
connection keep-alive, which reduces dns requests and round trips.
6776
And for both urllib and pycurl we support multi-range requests,
6777
which decreases the number of round-trips. Performance results for
6778
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
6779
http branching is now 2-3x faster, and ``bzr pull`` in an existing
6780
branch is as much as 4x faster.
6781
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
6783
* Performance improvements for sftp. Branching and pulling are now up to
6784
2x faster. Utilize paramiko.readv() support for async requests if it
6785
is available (paramiko > 1.6) (John Arbash Meinel)
6789
* Fix shadowed definition of TestLocationConfig that caused some
6791
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
6793
* Fix unnecessary requirement of sign-my-commits that it be run from
6794
a working directory. (Martin Pool, Robert Collins)
6796
* 'bzr push location' will only remember the push location if it succeeds
6797
in connecting to the remote location. (John Arbash Meinel, #49742)
6799
* 'bzr revert' no longer toggles the executable bit on win32
6800
(John Arbash Meinel, #45010)
6802
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
6804
* sftp tests now work correctly on win32 if you have a newer paramiko
6805
(John Arbash Meinel)
6807
* Cleanup win32 test suite, and general cleanup of places where
6808
file handles were being held open. (John Arbash Meinel)
6810
* When specifying filenames for 'diff -r x..y', the name of the file in the
6811
working directory can be used, even if its name is different in both x
6814
* File-ids containing single- or double-quotes are handled correctly by
6815
push. (Aaron Bentley, #52227)
6817
* Normalize unicode filenames to ensure cross-platform consistency.
6818
(John Arbash Meinel, #43689)
6820
* The argument parser can now handle '-' as an argument. Currently
6821
no code interprets it specially (it is mostly handled as a file named
6822
'-'). But plugins, and future operations can use it.
6823
(John Arbash meinel, #50984)
6825
* Bundles can properly read binary files with a plain '\r' in them.
6826
(John Arbash Meinel, #51927)
6828
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
6830
* Lots of win32 fixes (the test suite passes again).
6831
(John Arbash Meinel, #50155)
6833
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
6835
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
6837
* Removals are only committed if they match the filespec (or if there is
6838
no filespec). (#46635, Aaron Bentley)
6840
* smart-add recurses through all supplied directories
6841
(John Arbash Meinel, #52578)
6843
* Make the bundle reader extra lines before and after the bundle text.
6844
This allows you to parse an email with the bundle inline.
6845
(John Arbash Meinel, #49182)
6847
* Change the file id generator to squash a little bit more. Helps when
6848
working with long filenames on windows. (Also helps for unicode filenames
6849
not generating hidden files). (John Arbash Meinel, #43801)
6851
* Restore terminal mode on C-c while reading sftp password. (#48923,
6852
Nicholas Allen, Martin Pool)
6854
* Timestamps are rounded to 1ms, and revision entries can be recreated
6855
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
6857
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
6858
use local paths, since it is user visible (John Arbash Meinel, #53653)
6860
* ``bzr status foo`` when foo was unversioned used to cause a full delta
6861
to be generated (John Arbash Meinel, #53638)
6863
* When reading revision properties, an empty value should be considered
6864
the empty string, not None (John Arbash Meinel, #47782)
6866
* ``bzr diff --diff-options`` can now handle binary files being changed.
6867
Also, the output is consistent when --diff-options is not supplied.
6868
(John Arbash Meinel, #54651, #52930)
6870
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
6872
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
6873
accessible (John Arbash Meinel, #52976)
6877
* Combine the ignore rules into a single regex rather than looping over
6878
them to reduce the threshold where N^2 behaviour occurs in operations
6879
like status. (Jan Hudec, Robert Collins).
6881
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
6882
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
6884
* 'bzr push' should only push the ancestry of the current revision, not
6885
all of the history in the repository. This is especially important for
6886
shared repositories. (John Arbash Meinel)
6888
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
6889
rather than randomly walking the inventories. (John Arbash Meinel)
6891
* Doctests are now run in temporary directories which are cleaned up when
6892
they finish, rather than using special ScratchDir/ScratchBranch objects.
6895
* Split ``check`` into separate methods on the branch and on the repository,
6896
so that it can be specialized in ways that are useful or efficient for
6897
different formats. (Martin Pool, Robert Collins)
6899
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
6900
the global revision graph but only that part leading up to a particular
6901
revision. (Martin Pool, Robert Collins)
6903
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
6904
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
6905
(Robert Collins, Jelmer Vernooij).
6907
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
6908
Uses subprocess instead of spawnvp.
6909
(James Henstridge, John Arbash Meinel, #4047, #48914)
6911
* New command line option '--profile-imports', which will install a custom
6912
importer to log time to import modules and regex compilation time to
6913
sys.stderr (John Arbash Meinel)
6915
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
6916
instead. (Robert Collins)
6918
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
6987
#####################
6992
* The hard-coded built-in ignore rules have been removed. There are
6993
now two rulesets which are enforced. A user global one in
6994
``~/.bazaar/ignore`` which will apply to every tree, and the tree
6995
specific one '.bzrignore'.
6996
``~/.bazaar/ignore`` will be created if it does not exist, but with
6997
a more conservative list than the old default.
6998
This fixes bugs with default rules being enforced no matter what.
6999
The old list of ignore rules from bzr is available by
7000
running 'bzr ignore --old-default-rules'.
7001
(Robert Collins, Martin Pool, John Arbash Meinel)
7003
* 'branches.conf' has been changed to 'locations.conf', since it can apply
7004
to more locations than just branch locations.
7010
* The revision specifier "revno:" is extended to accept the syntax
7011
revno:N:branch. For example,
7012
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
7013
bzr.dev. (Matthieu Moy)
7015
* Tests updates to ensure proper URL handling, UNICODE support, and
7016
proper printing when the user's terminal encoding cannot display
7017
the path of a file that has been versioned.
7018
``bzr branch`` can take a target URL rather than only a local directory.
7019
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
7020
and normalize the parent based on root, allowing access across
7021
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
7022
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
7025
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
7026
Use terminal width for single-line logs from ``bzr log --line`` and
7027
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
7030
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
7031
(Alexander Belchenko)
7033
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
7035
* Show the correct number of revisions pushed when pushing a new branch.
7038
* 'bzr selftest' now shows a progress bar with the number of tests, and
7039
progress made. 'make check' shows tests in -v mode, to be more useful
7040
for the PQM status window. (Robert Collins).
7041
When using a progress bar, failed tests are printed out, rather than
7042
being overwritten by the progress bar until the suite finishes.
7043
(John Arbash Meinel)
7045
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
7046
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
7047
profile data for the individual profiled calls, allowing for fine
7048
grained analysis of performance.
7049
(Robert Collins, Martin Pool).
7051
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
7052
where commit can take an appreciable time. (Robert Collins)
7054
* 'bzr add' is now less verbose in telling you what ignore globs were
7055
matched by files being ignored. Instead it just tells you how many
7056
were ignored (because you might reasonably be expecting none to be
7057
ignored). 'bzr add -v' is unchanged and will report every ignored
7058
file. (Robert Collins).
7060
* ftp now has a test server if medusa is installed. As part of testing,
7061
ftp support has been improved, including support for supplying a
7062
non-standard port. (John Arbash Meinel).
7064
* 'bzr log --line' shows the revision number, and uses only the
7065
first line of the log message (#5162, Alexander Belchenko;
7068
* 'bzr status' has had the --all option removed. The 'bzr ls' command
7069
should be used to retrieve all versioned files. (Robert Collins)
7071
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
7072
over email, and applied on the other end, while maintaining ancestry.
7073
This bundle can be applied with either 'bzr merge' or 'bzr pull',
7074
the same way you would apply another branch.
7075
(John Arbash Meinel, Aaron Bentley)
7077
* 'bzr whoami' can now be used to set your identity from the command line,
7078
for a branch or globally. (Robey Pointer)
7080
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
7083
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
7086
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
7087
Also updates things like 'http+pycurl://' if pycurl is not present.
7088
(John Arbash Meinel) (Malone #47821, #52204)
7090
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
7091
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
7092
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
7094
* Improve the help text for 'bzr diff' to explain what various options do.
7095
(John Arbash Meinel, #6391)
7097
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
7098
revision 10. This makes -r10 more in line with what other commands do.
7099
'bzr uncommit' also now saves the pending merges of the revisions that
7100
were removed. So it is safe to uncommit after a merge, fix something,
7101
and commit again. (John Arbash Meinel, #32526, #31426)
7103
* 'bzr init' now also works on remote locations.
7104
(Wouter van Heyst, #48904)
7106
* HTTP support has been updated. When using pycurl we now support
7107
connection keep-alive, which reduces dns requests and round trips.
7108
And for both urllib and pycurl we support multi-range requests,
7109
which decreases the number of round-trips. Performance results for
7110
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
7111
http branching is now 2-3x faster, and ``bzr pull`` in an existing
7112
branch is as much as 4x faster.
7113
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
7115
* Performance improvements for sftp. Branching and pulling are now up to
7116
2x faster. Utilize paramiko.readv() support for async requests if it
7117
is available (paramiko > 1.6) (John Arbash Meinel)
7122
* Fix shadowed definition of TestLocationConfig that caused some
7124
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
7126
* Fix unnecessary requirement of sign-my-commits that it be run from
7127
a working directory. (Martin Pool, Robert Collins)
7129
* 'bzr push location' will only remember the push location if it succeeds
7130
in connecting to the remote location. (John Arbash Meinel, #49742)
7132
* 'bzr revert' no longer toggles the executable bit on win32
7133
(John Arbash Meinel, #45010)
7135
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
7137
* sftp tests now work correctly on win32 if you have a newer paramiko
7138
(John Arbash Meinel)
7140
* Cleanup win32 test suite, and general cleanup of places where
7141
file handles were being held open. (John Arbash Meinel)
7143
* When specifying filenames for 'diff -r x..y', the name of the file in the
7144
working directory can be used, even if its name is different in both x
7147
* File-ids containing single- or double-quotes are handled correctly by
7148
push. (Aaron Bentley, #52227)
7150
* Normalize unicode filenames to ensure cross-platform consistency.
7151
(John Arbash Meinel, #43689)
7153
* The argument parser can now handle '-' as an argument. Currently
7154
no code interprets it specially (it is mostly handled as a file named
7155
'-'). But plugins, and future operations can use it.
7156
(John Arbash meinel, #50984)
7158
* Bundles can properly read binary files with a plain '\r' in them.
7159
(John Arbash Meinel, #51927)
7161
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
7163
* Lots of win32 fixes (the test suite passes again).
7164
(John Arbash Meinel, #50155)
7166
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
7168
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
7170
* Removals are only committed if they match the filespec (or if there is
7171
no filespec). (#46635, Aaron Bentley)
7173
* smart-add recurses through all supplied directories
7174
(John Arbash Meinel, #52578)
7176
* Make the bundle reader extra lines before and after the bundle text.
7177
This allows you to parse an email with the bundle inline.
7178
(John Arbash Meinel, #49182)
7180
* Change the file id generator to squash a little bit more. Helps when
7181
working with long filenames on windows. (Also helps for unicode filenames
7182
not generating hidden files). (John Arbash Meinel, #43801)
7184
* Restore terminal mode on C-c while reading sftp password. (#48923,
7185
Nicholas Allen, Martin Pool)
7187
* Timestamps are rounded to 1ms, and revision entries can be recreated
7188
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
7190
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
7191
use local paths, since it is user visible (John Arbash Meinel, #53653)
7193
* ``bzr status foo`` when foo was unversioned used to cause a full delta
7194
to be generated (John Arbash Meinel, #53638)
7196
* When reading revision properties, an empty value should be considered
7197
the empty string, not None (John Arbash Meinel, #47782)
7199
* ``bzr diff --diff-options`` can now handle binary files being changed.
7200
Also, the output is consistent when --diff-options is not supplied.
7201
(John Arbash Meinel, #54651, #52930)
7203
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
7205
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
7206
accessible (John Arbash Meinel, #52976)
7211
* Combine the ignore rules into a single regex rather than looping over
7212
them to reduce the threshold where N^2 behaviour occurs in operations
7213
like status. (Jan Hudec, Robert Collins).
7215
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
7216
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
7218
* 'bzr push' should only push the ancestry of the current revision, not
7219
all of the history in the repository. This is especially important for
7220
shared repositories. (John Arbash Meinel)
7222
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
7223
rather than randomly walking the inventories. (John Arbash Meinel)
7225
* Doctests are now run in temporary directories which are cleaned up when
7226
they finish, rather than using special ScratchDir/ScratchBranch objects.
7229
* Split ``check`` into separate methods on the branch and on the repository,
7230
so that it can be specialized in ways that are useful or efficient for
7231
different formats. (Martin Pool, Robert Collins)
7233
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
7234
the global revision graph but only that part leading up to a particular
7235
revision. (Martin Pool, Robert Collins)
7237
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
7238
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
7239
(Robert Collins, Jelmer Vernooij).
7241
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
7242
Uses subprocess instead of spawnvp.
7243
(James Henstridge, John Arbash Meinel, #4047, #48914)
7245
* New command line option '--profile-imports', which will install a custom
7246
importer to log time to import modules and regex compilation time to
7247
sys.stderr (John Arbash Meinel)
7249
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
7250
instead. (Robert Collins)
7252
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
6920
7254
bzr 0.8.2 2006-05-17
6921
---------------------
6925
* setup.py failed to install launchpad plugin. (Martin Pool)
7255
#####################
7260
* setup.py failed to install launchpad plugin. (Martin Pool)
6927
7262
bzr 0.8.1 2006-05-16
6928
---------------------
6932
* Fix failure to commit a merge in a checkout. (Martin Pool,
6933
Robert Collins, Erik Bågfors, #43959)
6935
* Nicer messages from 'commit' in the case of renames, and correct
6936
messages when a merge has occured. (Robert Collins, Martin Pool)
6938
* Separate functionality from assert statements as they are skipped in
6939
optimized mode of python. Add the same check to pending merges.
6940
(Olaf Conradi, #44443)
6944
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
6946
* Add info on standalone branches without a working tree.
6947
(Olaf Conradi, #44155)
6949
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
6953
* Make editor invocation comply with Debian Policy. First check
6954
environment variables VISUAL and EDITOR, then try editor from
6955
alternatives system. If that all fails, fall back to the pre-defined
6956
list of editors. (Olaf Conradi, #42904)
6960
* New 'register-branch' command registers a public branch into
6961
Launchpad.net, where it can be associated with bugs, etc.
6962
(Martin Pool, Bjorn Tillenius, Robert Collins)
6966
* New public api in InventoryEntry - ``describe_change(old, new)`` which
6967
provides a human description of the changes between two old and
6968
new. (Robert Collins, Martin Pool)
6972
* Fix test case for bzr info in upgrading a standalone branch to metadir,
6973
uses bzrlib api now. (Olaf Conradi)
7263
#####################
7268
* Fix failure to commit a merge in a checkout. (Martin Pool,
7269
Robert Collins, Erik Bågfors, #43959)
7271
* Nicer messages from 'commit' in the case of renames, and correct
7272
messages when a merge has occured. (Robert Collins, Martin Pool)
7274
* Separate functionality from assert statements as they are skipped in
7275
optimized mode of python. Add the same check to pending merges.
7276
(Olaf Conradi, #44443)
7281
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
7283
* Add info on standalone branches without a working tree.
7284
(Olaf Conradi, #44155)
7286
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
7291
* Make editor invocation comply with Debian Policy. First check
7292
environment variables VISUAL and EDITOR, then try editor from
7293
alternatives system. If that all fails, fall back to the pre-defined
7294
list of editors. (Olaf Conradi, #42904)
7299
* New 'register-branch' command registers a public branch into
7300
Launchpad.net, where it can be associated with bugs, etc.
7301
(Martin Pool, Bjorn Tillenius, Robert Collins)
7306
* New public api in InventoryEntry - ``describe_change(old, new)`` which
7307
provides a human description of the changes between two old and
7308
new. (Robert Collins, Martin Pool)
7313
* Fix test case for bzr info in upgrading a standalone branch to metadir,
7314
uses bzrlib api now. (Olaf Conradi)
6975
7316
bzr 0.8 2006-05-08
6978
NOTES WHEN UPGRADING:
6980
Release 0.8 of bzr introduces a new format for history storage, called
6981
'knit', as an evolution of to the 'weave' format used in 0.7. Local
6982
and remote operations are faster using knits than weaves. Several
6983
operations including 'init', 'init-repo', and 'upgrade' take a
6984
--format option that controls this. Branching from an existing branch
6985
will keep the same format.
6987
It is possible to merge, pull and push between branches of different
6988
formats but this is slower than moving data between homogenous
6989
branches. It is therefore recommended (but not required) that you
6990
upgrade all branches for a project at the same time. Information on
6991
formats is shown by 'bzr info'.
6993
bzr 0.8 now allows creation of 'repositories', which hold the history
6994
of files and revisions for several branches. Previously bzr kept all
6995
the history for a branch within the .bzr directory at the root of the
6996
branch, and this is still the default. To create a repository, use
6997
the new 'bzr init-repo' command. Branches exist as directories under
6998
the repository and contain just a small amount of information
6999
indicating the current revision of the branch.
7001
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
7002
subversion. Checkouts are associated with a branch (optionally in a
7003
repository), which contains all the historical information. The
7004
result is that a checkout can be deleted without losing any
7005
already-committed revisions. A new 'update' command is also available.
7007
Repositories and checkouts are not supported with the 0.7 storage
7008
format. To use them you must upgrad to either knits, or to the
7009
'metaweave' format, which uses weaves but changes the .bzr directory
7015
* Sftp paths can now be relative, or local, according to the lftp
7016
convention. Paths now take the form::
7018
sftp://user:pass@host:port/~/relative/path
7020
sftp://user:pass@host:port/absolute/path
7022
* The FTP transport now tries to reconnect after a temporary
7023
failure. ftp put is made atomic. (Matthieu Moy)
7025
* The FTP transport now maintains a pool of connections, and
7026
reuses them to avoid multiple connections to the same host (like
7027
sftp did). (Daniel Silverstone)
7029
* The ``bzr_man.py`` file has been removed. To create the man page now,
7030
use ``./generate_docs.py man``. The new program can also create other files.
7031
Run ``python generate_docs.py --help`` for usage information.
7032
(Hans Ulrich Niedermann & James Blackwell).
7034
* Man Page now gives full help (James Blackwell).
7035
Help also updated to reflect user config now being stored in .bazaar
7036
(Hans Ulrich Niedermann)
7038
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
7040
* Pull now accepts a --revision argument (Erik Bågfors)
7042
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
7043
line. You can now use the following command to sign all of your old
7046
find .bzr/revision-store// -name my@email-* \
7047
| sed 's/.*\/\/..\///' \
7050
* Upgrade can now upgrade over the network. (Robert Collins)
7052
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
7053
behaviour. By default they will cache history in the checkout, but
7054
with --lightweight almost all data is kept in the master branch.
7057
* 'revert' unversions newly-versioned files, instead of deleting them.
7059
* 'merge' is more robust. Conflict messages have changed.
7061
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
7064
* Default log format can be set in configuration and plugins can register
7065
their own formatters. (Erik Bågfors)
7067
* New 'reconcile' command will check branch consistency and repair indexes
7068
that can become out of sync in pre 0.8 formats. (Robert Collins,
7071
* New 'bzr init --format' and 'bzr upgrade --format' option to control
7072
what storage format is created or produced. (Robert Collins,
7075
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
7077
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
7079
* New 'init-repository' command, plus support for repositories in 'init'
7080
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
7082
* Improve output of 'info' command. Show all relevant locations related to
7083
working tree, branch and repository. Use kibibytes for binary quantities.
7084
Fix off-by-one error in missing revisions of working tree. Make 'info'
7085
work on branches, repositories and remote locations. Show locations
7086
relative to the shared repository, if applicable. Show locking status
7087
of locations. (Olaf Conradi)
7089
* Diff and merge now safely handle binary files. (Aaron Bentley)
7091
* 'pull' and 'push' now normalise the revision history, so that any two
7092
branches with the same tip revision will have the same output from 'log'.
7095
* 'merge' accepts --remember option to store parent location, like 'push'
7096
and 'pull'. (Olaf Conradi)
7098
* bzr status and diff when files given as arguments do not exist
7099
in the relevant trees. (Martin Pool, #3619)
7101
* Add '.hg' to the default ignore list. (Martin Pool)
7103
* 'knit' is now the default disk format. This improves disk performance and
7104
utilization, increases incremental pull performance, robustness with SFTP
7105
and allows checkouts over SFTP to perform acceptably.
7106
The initial Knit code was contributed by Johan Rydberg based on a
7107
specification by Martin Pool.
7108
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
7110
* New tool to generate all-in-one html version of the manual. (Alexander
7113
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
7114
to be left in the SFTP repository. (Robert Collins, Martin Pool).
7116
* New option 'diff --prefix' to control how files are named in diff
7117
output, with shortcuts '-p0' and '-p1' corresponding to the options for
7118
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
7120
* Add --revision option to 'annotate' command. (Olaf Conradi)
7122
* If bzr shows an unexpected revision-history after pulling (perhaps due
7123
to a reweave) it can now be corrected by 'bzr reconcile'.
7128
* Commit is now verbose by default, and shows changed filenames and the
7129
new revision number. (Robert Collins, Martin Pool)
7131
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
7133
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
7135
* Make 'pull' and 'push' remember location on failure using --remember.
7138
* For compatibility, make old format for using weaves inside metadir
7139
available as 'metaweave' format. Rename format 'metadir' to 'default'.
7140
Clean up help for option --format in commands 'init', 'init-repo' and
7141
'upgrade'. (Olaf Conradi)
7145
* The internal storage of history, and logical branch identity have now
7146
been split into Branch, and Repository. The common locking and file
7147
management routines are now in bzrlib.lockablefiles.
7148
(Aaron Bentley, Robert Collins, Martin Pool)
7150
* Transports can now raise DependencyNotPresent if they need a library
7151
which is not installed, and then another implementation will be
7152
tried. (Martin Pool)
7154
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
7157
* Using Tree Transform for merge, revert, tree-building
7159
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
7160
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
7161
replacement API's. (Robert Collins)
7163
* New BzrDir class represents the .bzr control directory and manages
7164
formatting issues. (Robert Collins)
7166
* New repository.InterRepository class encapsulates Repository to
7167
Repository actions and allows for clean selection of optimised code
7168
paths. (Robert Collins)
7170
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
7171
deprecated, please use ``branch.fetch`` or ``repository.fetch``
7172
depending on your needs. (Robert Collins)
7174
* deprecated methods now have a ``is_deprecated`` flag on them that can
7175
be checked, if you need to determine whether a given callable is
7176
deprecated at runtime. (Robert Collins)
7178
* Progress bars are now nested - see
7179
``bzrlib.ui.ui_factory.nested_progress_bar``.
7180
(Robert Collins, Robey Pointer)
7182
* New API call ``get_format_description()`` for each type of format.
7185
* Changed ``branch.set_parent()`` to accept None to remove parent.
7188
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
7190
* WorkingTree.branch is now a read only property. (Robert Collins)
7192
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
7193
can be None or a factory that will create a progress bar. This is
7194
useful for testing or for overriding the bzrlib.progress heuristic.
7197
* New API method ``get_physical_lock_status()`` to query locks present on a
7198
transport. (Olaf Conradi)
7200
* Repository.reconcile now takes a thorough keyword parameter to allow
7201
requesting an indepth reconciliation, rather than just a data-loss
7202
check. (Robert Collins)
7204
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
7205
the user for yes/no style input. (Robert Collins)
7209
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
7210
for testing SFTP protocol support. (Robey Pointer)
7212
* Branch formats are now tested once per implementation (see ``bzrlib.
7213
tests.branch_implementations``. This is analagous to the transport
7214
interface tests, and has been followed up with working tree,
7215
repository and BzrDir tests. (Robert Collins)
7217
* New test base class TestCaseWithTransport provides a transport aware
7218
test environment, useful for testing any transport-interface using
7219
code. The test suite option --transport controls the transport used
7220
by this class (when its not being used as part of implementation
7221
contract testing). (Robert Collins)
7223
* Close logging handler on disabling the test log. This will remove the
7224
handler from the internal list inside python's logging module,
7225
preventing shutdown from closing it twice. (Olaf Conradi)
7227
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
7229
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
7230
parameter which will provide String("foo") to the command as its stdin.
7319
Notes When Upgrading
7320
********************
7322
Release 0.8 of bzr introduces a new format for history storage, called
7323
'knit', as an evolution of to the 'weave' format used in 0.7. Local
7324
and remote operations are faster using knits than weaves. Several
7325
operations including 'init', 'init-repo', and 'upgrade' take a
7326
--format option that controls this. Branching from an existing branch
7327
will keep the same format.
7329
It is possible to merge, pull and push between branches of different
7330
formats but this is slower than moving data between homogenous
7331
branches. It is therefore recommended (but not required) that you
7332
upgrade all branches for a project at the same time. Information on
7333
formats is shown by 'bzr info'.
7335
bzr 0.8 now allows creation of 'repositories', which hold the history
7336
of files and revisions for several branches. Previously bzr kept all
7337
the history for a branch within the .bzr directory at the root of the
7338
branch, and this is still the default. To create a repository, use
7339
the new 'bzr init-repo' command. Branches exist as directories under
7340
the repository and contain just a small amount of information
7341
indicating the current revision of the branch.
7343
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
7344
subversion. Checkouts are associated with a branch (optionally in a
7345
repository), which contains all the historical information. The
7346
result is that a checkout can be deleted without losing any
7347
already-committed revisions. A new 'update' command is also available.
7349
Repositories and checkouts are not supported with the 0.7 storage
7350
format. To use them you must upgrad to either knits, or to the
7351
'metaweave' format, which uses weaves but changes the .bzr directory
7358
* sftp paths can now be relative, or local, according to the lftp
7359
convention. Paths now take the form::
7361
sftp://user:pass@host:port/~/relative/path
7363
sftp://user:pass@host:port/absolute/path
7365
* The FTP transport now tries to reconnect after a temporary
7366
failure. ftp put is made atomic. (Matthieu Moy)
7368
* The FTP transport now maintains a pool of connections, and
7369
reuses them to avoid multiple connections to the same host (like
7370
sftp did). (Daniel Silverstone)
7372
* The ``bzr_man.py`` file has been removed. To create the man page now,
7373
use ``./generate_docs.py man``. The new program can also create other files.
7374
Run ``python generate_docs.py --help`` for usage information.
7375
(Hans Ulrich Niedermann & James Blackwell).
7377
* Man Page now gives full help (James Blackwell).
7378
Help also updated to reflect user config now being stored in .bazaar
7379
(Hans Ulrich Niedermann)
7381
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
7383
* Pull now accepts a --revision argument (Erik Bågfors)
7385
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
7386
line. You can now use the following command to sign all of your old
7389
find .bzr/revision-store// -name my@email-* \
7390
| sed 's/.*\/\/..\///' \
7393
* Upgrade can now upgrade over the network. (Robert Collins)
7395
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
7396
behaviour. By default they will cache history in the checkout, but
7397
with --lightweight almost all data is kept in the master branch.
7400
* 'revert' unversions newly-versioned files, instead of deleting them.
7402
* 'merge' is more robust. Conflict messages have changed.
7404
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
7407
* Default log format can be set in configuration and plugins can register
7408
their own formatters. (Erik Bågfors)
7410
* New 'reconcile' command will check branch consistency and repair indexes
7411
that can become out of sync in pre 0.8 formats. (Robert Collins,
7414
* New 'bzr init --format' and 'bzr upgrade --format' option to control
7415
what storage format is created or produced. (Robert Collins,
7418
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
7420
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
7422
* New 'init-repository' command, plus support for repositories in 'init'
7423
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
7425
* Improve output of 'info' command. Show all relevant locations related to
7426
working tree, branch and repository. Use kibibytes for binary quantities.
7427
Fix off-by-one error in missing revisions of working tree. Make 'info'
7428
work on branches, repositories and remote locations. Show locations
7429
relative to the shared repository, if applicable. Show locking status
7430
of locations. (Olaf Conradi)
7432
* Diff and merge now safely handle binary files. (Aaron Bentley)
7434
* 'pull' and 'push' now normalise the revision history, so that any two
7435
branches with the same tip revision will have the same output from 'log'.
7438
* 'merge' accepts --remember option to store parent location, like 'push'
7439
and 'pull'. (Olaf Conradi)
7441
* bzr status and diff when files given as arguments do not exist
7442
in the relevant trees. (Martin Pool, #3619)
7444
* Add '.hg' to the default ignore list. (Martin Pool)
7446
* 'knit' is now the default disk format. This improves disk performance and
7447
utilization, increases incremental pull performance, robustness with SFTP
7448
and allows checkouts over SFTP to perform acceptably.
7449
The initial Knit code was contributed by Johan Rydberg based on a
7450
specification by Martin Pool.
7451
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
7453
* New tool to generate all-in-one html version of the manual. (Alexander
7456
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
7457
to be left in the SFTP repository. (Robert Collins, Martin Pool).
7459
* New option 'diff --prefix' to control how files are named in diff
7460
output, with shortcuts '-p0' and '-p1' corresponding to the options for
7461
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
7463
* Add --revision option to 'annotate' command. (Olaf Conradi)
7465
* If bzr shows an unexpected revision-history after pulling (perhaps due
7466
to a reweave) it can now be corrected by 'bzr reconcile'.
7472
* Commit is now verbose by default, and shows changed filenames and the
7473
new revision number. (Robert Collins, Martin Pool)
7475
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
7477
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
7479
* Make 'pull' and 'push' remember location on failure using --remember.
7482
* For compatibility, make old format for using weaves inside metadir
7483
available as 'metaweave' format. Rename format 'metadir' to 'default'.
7484
Clean up help for option --format in commands 'init', 'init-repo' and
7485
'upgrade'. (Olaf Conradi)
7490
* The internal storage of history, and logical branch identity have now
7491
been split into Branch, and Repository. The common locking and file
7492
management routines are now in bzrlib.lockablefiles.
7493
(Aaron Bentley, Robert Collins, Martin Pool)
7495
* Transports can now raise DependencyNotPresent if they need a library
7496
which is not installed, and then another implementation will be
7497
tried. (Martin Pool)
7499
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
7502
* Using Tree Transform for merge, revert, tree-building
7504
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
7505
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
7506
replacement API's. (Robert Collins)
7508
* New BzrDir class represents the .bzr control directory and manages
7509
formatting issues. (Robert Collins)
7511
* New repository.InterRepository class encapsulates Repository to
7512
Repository actions and allows for clean selection of optimised code
7513
paths. (Robert Collins)
7515
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
7516
deprecated, please use ``branch.fetch`` or ``repository.fetch``
7517
depending on your needs. (Robert Collins)
7519
* deprecated methods now have a ``is_deprecated`` flag on them that can
7520
be checked, if you need to determine whether a given callable is
7521
deprecated at runtime. (Robert Collins)
7523
* Progress bars are now nested - see
7524
``bzrlib.ui.ui_factory.nested_progress_bar``.
7525
(Robert Collins, Robey Pointer)
7527
* New API call ``get_format_description()`` for each type of format.
7530
* Changed ``branch.set_parent()`` to accept None to remove parent.
7533
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
7535
* WorkingTree.branch is now a read only property. (Robert Collins)
7537
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
7538
can be None or a factory that will create a progress bar. This is
7539
useful for testing or for overriding the bzrlib.progress heuristic.
7542
* New API method ``get_physical_lock_status()`` to query locks present on a
7543
transport. (Olaf Conradi)
7545
* Repository.reconcile now takes a thorough keyword parameter to allow
7546
requesting an indepth reconciliation, rather than just a data-loss
7547
check. (Robert Collins)
7549
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
7550
the user for yes/no style input. (Robert Collins)
7555
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
7556
for testing SFTP protocol support. (Robey Pointer)
7558
* Branch formats are now tested once per implementation (see ``bzrlib.
7559
tests.branch_implementations``. This is analagous to the transport
7560
interface tests, and has been followed up with working tree,
7561
repository and BzrDir tests. (Robert Collins)
7563
* New test base class TestCaseWithTransport provides a transport aware
7564
test environment, useful for testing any transport-interface using
7565
code. The test suite option --transport controls the transport used
7566
by this class (when its not being used as part of implementation
7567
contract testing). (Robert Collins)
7569
* Close logging handler on disabling the test log. This will remove the
7570
handler from the internal list inside python's logging module,
7571
preventing shutdown from closing it twice. (Olaf Conradi)
7573
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
7575
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
7576
parameter which will provide String("foo") to the command as its stdin.
7232
7578
bzr 0.7 2006-01-09
7237
* .bzrignore is excluded from exports, on the grounds that it's a bzr
7238
internal-use file and may not be wanted. (Jamie Wilkinson)
7240
* The "bzr directories" command were removed in favor of the new
7241
--kind option to the "bzr inventory" command. To list all
7242
versioned directories, now use "bzr inventory --kind directory".
7245
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
7246
by default. (John Arbash Meinel)
7248
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
7249
environment variable. Now the path for it is searched in ``BZR_HOME``,
7250
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
7251
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
7252
``HOME``. (John Arbash Meinel)
7254
* Plugins with the same name in different directories in the bzr plugin
7255
path are no longer loaded: only the first successfully loaded one is
7256
used. (Robert Collins)
7258
* Use systems' external ssh command to open connections if possible.
7259
This gives better integration with user settings such as ProxyCommand.
7262
* Permissions on files underneath .bzr/ are inherited from the .bzr
7263
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
7264
will mean that future file will be created with group write permissions.
7266
* configure.in and config.guess are no longer in the builtin default
7269
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
7270
files. (John Arbash Meinel, Martin Pool)
7274
* "bzr INIT dir" now initializes the specified directory, and creates
7275
it if it does not exist. (John Arbash Meinel)
7277
* New remerge command (Aaron Bentley)
7279
* Better zsh completion script. (Steve Borho)
7281
* 'bzr diff' now returns 1 when there are changes in the working
7282
tree. (Robert Collins)
7284
* 'bzr push' now exists and can push changes to a remote location.
7285
This uses the transport infrastructure, and can store the remote
7286
location in the ~/.bazaar/branches.conf configuration file.
7289
* Test directories are only kept if the test fails and the user requests
7292
* Tweaks to short log printing
7294
* Added branch nicks, new nick command, printing them in log output.
7297
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
7298
occurs. (Martin Pool)
7300
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
7301
the same as Subversion. (Martin Pool)
7303
* New ftp transport support (on ftplib), for ftp:// and aftp://
7304
URLs. (Daniel Silverstone)
7306
* Commit editor temporary files now start with ``bzr_log.``, to allow
7307
text editors to match the file name and set up appropriate modes or
7308
settings. (Magnus Therning)
7310
* Improved performance when integrating changes from a remote weave.
7311
(Goffredo Baroncelli)
7313
* Sftp will attempt to cache the connection, so it is more likely that
7314
a connection will be reused, rather than requiring multiple password
7317
* bzr revno now takes an optional argument indicating the branch whose
7318
revno should be printed. (Michael Ellerman)
7320
* bzr cat defaults to printing the last version of the file.
7321
(Matthieu Moy, #3632)
7323
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
7324
profiler. (Denys Duchier)
7326
* Faster commits by reading only the headers of affected weave files.
7329
* 'bzr add' now takes a --dry-run parameter which shows you what would be
7330
added, but doesn't actually add anything. (Michael Ellerman)
7332
* 'bzr add' now lists how many files were ignored per glob. add --verbose
7333
lists the specific files. (Aaron Bentley)
7335
* 'bzr missing' now supports displaying changes in diverged trees and can
7336
be limited to show what either end of the comparison is missing.
7337
(Aaron Bently, with a little prompting from Daniel Silverstone)
7341
* SFTP can walk up to the root path without index errors. (Robert Collins)
7343
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
7345
* Error when run with -OO
7347
* Fix bug in reporting http errors that don't have an http error code.
7350
* Handle more cases of pipe errors in display commands
7352
* Change status to 3 for all errors
7354
* Files that are added and unlinked before committing are completely
7355
ignored by diff and status
7357
* Stores with some compressed texts and some uncompressed texts are now
7358
able to be used. (John A Meinel)
7360
* Fix for bzr pull failing sometimes under windows
7362
* Fix for sftp transport under windows when using interactive auth
7364
* Show files which are both renamed and modified as such in 'bzr
7365
status' output. (Daniel Silverstone, #4503)
7367
* Make annotate cope better with revisions committed without a valid
7368
email address. (Marien Zwart)
7370
* Fix representation of tab characters in commit messages.
7373
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
7374
now parsed properly under Windows. (Alexander Belchenko)
7376
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
7378
* Keep a cached copy of the basis inventory to speed up operations
7379
that need to refer to it. (Johan Rydberg, Martin Pool)
7381
* Fix bugs in bzr status display of non-ascii characters.
7384
* Remove Makefile.in from default ignore list.
7385
(Tollef Fog Heen, Martin Pool, #6413)
7387
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
7391
* Fix selftest asking for passwords when there are no SFTP keys.
7392
(Robey Pointer, Jelmer Vernooij)
7394
* Fix selftest run with 'python -O'. (Martin Pool)
7396
* Fix HTTP tests under Windows. (John Arbash Meinel)
7398
* Make tests work even if HOME is not set (Aaron Bentley)
7400
* Updated ``build_tree`` to use fixed line-endings for tests which read
7401
the file cotents and compare. Make some tests use this to pass under
7402
Windows. (John Arbash Meinel)
7404
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
7406
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
7407
(John Arbash Meinel)
7409
* Use terminal width to align verbose test output. (Martin Pool)
7411
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
7412
If adding a new test script please add that to
7413
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
7415
* Much better error message if one of the test suites can't be
7416
imported. (Martin Pool)
7418
* Make check now runs the test suite twice - once with the default locale,
7419
and once with all locales forced to C, to expose bugs. This is not
7420
trivially done within python, so for now its only triggered by running
7421
Make check. Integrators and packagers who wish to check for full
7422
platform support should run 'make check' to test the source.
7425
* Tests can now run TestSkipped if they can't execute for any reason.
7426
(Martin Pool) (NB: TestSkipped should only be raised for correctable
7427
reasons - see the wiki spec ImprovingBzrTestSuite).
7429
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
7430
paths for the transport tests. Introduce blackbox remote sftp tests that
7431
test the same permutations. (Robert Collins, Robey Pointer)
7433
* Transport implementation tests are now independent of the local file
7434
system, which allows tests for esoteric transports, and for features
7435
not available in the local file system. They also repeat for variations
7436
on the URL scheme that can introduce issues in the transport code,
7437
see bzrlib.transport.TransportTestProviderAdapter() for this.
7440
* ``TestCase.build_tree`` uses the transport interface to build trees,
7441
pass in a transport parameter to give it an existing connection.
7446
* WorkingTree.pull has been split across Branch and WorkingTree,
7447
to allow Branch only pulls. (Robert Collins)
7449
* ``commands.display_command`` now returns the result of the decorated
7450
function. (Robert Collins)
7452
* LocationConfig now has a ``set_user_option(key, value)`` call to save
7453
a setting in its matching location section (a new one is created
7454
if needed). (Robert Collins)
7456
* Branch has two new methods, ``get_push_location`` and
7457
``set_push_location`` to respectively, get and set the push location.
7460
* ``commands.register_command`` now takes an optional flag to signal that
7461
the registrant is planning to decorate an existing command. When
7462
given multiple plugins registering a command is not an error, and
7463
the original command class (whether built in or a plugin based one) is
7464
returned to the caller. There is a new error 'MustUseDecorated' for
7465
signalling when a wrapping command should switch to the original
7466
version. (Robert Collins)
7468
* Some option parsing errors will raise 'BzrOptionError', allowing
7469
granular detection for decorating commands. (Robert Collins).
7471
* ``Branch.read_working_inventory`` has moved to
7472
``WorkingTree.read_working_inventory``. This necessitated changes to
7473
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
7474
WorkingTree as well. To make it clear that a WorkingTree cannot always
7475
be obtained ``Branch.working_tree()`` will raise
7476
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
7478
* All pending merges operations from Branch are now on WorkingTree.
7481
* The follow operations from Branch have moved to WorkingTree::
7491
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
7493
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
7495
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
7498
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
7499
query method. (Robert Collins)
7501
* New options to read only the table-of-contents of a weave.
7504
* Raise NoSuchFile when someone tries to add a non-existant file.
7507
* Simplify handling of DivergedBranches in ``cmd_pull()``.
7510
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
7511
is exposed as ``Branch().control_files``. Also this has been altered with the
7512
controlfile pre/suffix replaced by simple method names like 'get' and
7513
'put'. (Aaron Bentley, Robert Collins).
7515
* Deprecated functions and methods can now be marked as such using the
7516
``bzrlib.symbol_versioning`` module. Marked method have their docstring
7517
updated and will issue a DeprecationWarning using the warnings module
7518
when they are used. (Robert Collins)
7520
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7521
for functions that need unicode strings. (Robert Collins)
7584
* .bzrignore is excluded from exports, on the grounds that it's a bzr
7585
internal-use file and may not be wanted. (Jamie Wilkinson)
7587
* The "bzr directories" command were removed in favor of the new
7588
--kind option to the "bzr inventory" command. To list all
7589
versioned directories, now use "bzr inventory --kind directory".
7592
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
7593
by default. (John Arbash Meinel)
7595
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
7596
environment variable. Now the path for it is searched in ``BZR_HOME``,
7597
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
7598
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
7599
``HOME``. (John Arbash Meinel)
7601
* Plugins with the same name in different directories in the bzr plugin
7602
path are no longer loaded: only the first successfully loaded one is
7603
used. (Robert Collins)
7605
* Use systems' external ssh command to open connections if possible.
7606
This gives better integration with user settings such as ProxyCommand.
7609
* Permissions on files underneath .bzr/ are inherited from the .bzr
7610
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
7611
will mean that future file will be created with group write permissions.
7613
* configure.in and config.guess are no longer in the builtin default
7616
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
7617
files. (John Arbash Meinel, Martin Pool)
7622
* "bzr INIT dir" now initializes the specified directory, and creates
7623
it if it does not exist. (John Arbash Meinel)
7625
* New remerge command (Aaron Bentley)
7627
* Better zsh completion script. (Steve Borho)
7629
* 'bzr diff' now returns 1 when there are changes in the working
7630
tree. (Robert Collins)
7632
* 'bzr push' now exists and can push changes to a remote location.
7633
This uses the transport infrastructure, and can store the remote
7634
location in the ~/.bazaar/branches.conf configuration file.
7637
* Test directories are only kept if the test fails and the user requests
7640
* Tweaks to short log printing
7642
* Added branch nicks, new nick command, printing them in log output.
7645
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
7646
occurs. (Martin Pool)
7648
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
7649
the same as Subversion. (Martin Pool)
7651
* New ftp transport support (on ftplib), for ftp:// and aftp://
7652
URLs. (Daniel Silverstone)
7654
* Commit editor temporary files now start with ``bzr_log.``, to allow
7655
text editors to match the file name and set up appropriate modes or
7656
settings. (Magnus Therning)
7658
* Improved performance when integrating changes from a remote weave.
7659
(Goffredo Baroncelli)
7661
* Sftp will attempt to cache the connection, so it is more likely that
7662
a connection will be reused, rather than requiring multiple password
7665
* bzr revno now takes an optional argument indicating the branch whose
7666
revno should be printed. (Michael Ellerman)
7668
* bzr cat defaults to printing the last version of the file.
7669
(Matthieu Moy, #3632)
7671
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
7672
profiler. (Denys Duchier)
7674
* Faster commits by reading only the headers of affected weave files.
7677
* 'bzr add' now takes a --dry-run parameter which shows you what would be
7678
added, but doesn't actually add anything. (Michael Ellerman)
7680
* 'bzr add' now lists how many files were ignored per glob. add --verbose
7681
lists the specific files. (Aaron Bentley)
7683
* 'bzr missing' now supports displaying changes in diverged trees and can
7684
be limited to show what either end of the comparison is missing.
7685
(Aaron Bently, with a little prompting from Daniel Silverstone)
7690
* SFTP can walk up to the root path without index errors. (Robert Collins)
7692
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
7694
* Error when run with -OO
7696
* Fix bug in reporting http errors that don't have an http error code.
7699
* Handle more cases of pipe errors in display commands
7701
* Change status to 3 for all errors
7703
* Files that are added and unlinked before committing are completely
7704
ignored by diff and status
7706
* Stores with some compressed texts and some uncompressed texts are now
7707
able to be used. (John A Meinel)
7709
* Fix for bzr pull failing sometimes under windows
7711
* Fix for sftp transport under windows when using interactive auth
7713
* Show files which are both renamed and modified as such in 'bzr
7714
status' output. (Daniel Silverstone, #4503)
7716
* Make annotate cope better with revisions committed without a valid
7717
email address. (Marien Zwart)
7719
* Fix representation of tab characters in commit messages.
7722
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
7723
now parsed properly under Windows. (Alexander Belchenko)
7725
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
7727
* Keep a cached copy of the basis inventory to speed up operations
7728
that need to refer to it. (Johan Rydberg, Martin Pool)
7730
* Fix bugs in bzr status display of non-ascii characters.
7733
* Remove Makefile.in from default ignore list.
7734
(Tollef Fog Heen, Martin Pool, #6413)
7736
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
7741
* Fix selftest asking for passwords when there are no SFTP keys.
7742
(Robey Pointer, Jelmer Vernooij)
7744
* Fix selftest run with 'python -O'. (Martin Pool)
7746
* Fix HTTP tests under Windows. (John Arbash Meinel)
7748
* Make tests work even if HOME is not set (Aaron Bentley)
7750
* Updated ``build_tree`` to use fixed line-endings for tests which read
7751
the file cotents and compare. Make some tests use this to pass under
7752
Windows. (John Arbash Meinel)
7754
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
7756
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
7757
(John Arbash Meinel)
7759
* Use terminal width to align verbose test output. (Martin Pool)
7761
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
7762
If adding a new test script please add that to
7763
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
7765
* Much better error message if one of the test suites can't be
7766
imported. (Martin Pool)
7768
* Make check now runs the test suite twice - once with the default locale,
7769
and once with all locales forced to C, to expose bugs. This is not
7770
trivially done within python, so for now its only triggered by running
7771
Make check. Integrators and packagers who wish to check for full
7772
platform support should run 'make check' to test the source.
7775
* Tests can now run TestSkipped if they can't execute for any reason.
7776
(Martin Pool) (NB: TestSkipped should only be raised for correctable
7777
reasons - see the wiki spec ImprovingBzrTestSuite).
7779
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
7780
paths for the transport tests. Introduce blackbox remote sftp tests that
7781
test the same permutations. (Robert Collins, Robey Pointer)
7783
* Transport implementation tests are now independent of the local file
7784
system, which allows tests for esoteric transports, and for features
7785
not available in the local file system. They also repeat for variations
7786
on the URL scheme that can introduce issues in the transport code,
7787
see bzrlib.transport.TransportTestProviderAdapter() for this.
7790
* ``TestCase.build_tree`` uses the transport interface to build trees,
7791
pass in a transport parameter to give it an existing connection.
7797
* WorkingTree.pull has been split across Branch and WorkingTree,
7798
to allow Branch only pulls. (Robert Collins)
7800
* ``commands.display_command`` now returns the result of the decorated
7801
function. (Robert Collins)
7803
* LocationConfig now has a ``set_user_option(key, value)`` call to save
7804
a setting in its matching location section (a new one is created
7805
if needed). (Robert Collins)
7807
* Branch has two new methods, ``get_push_location`` and
7808
``set_push_location`` to respectively, get and set the push location.
7811
* ``commands.register_command`` now takes an optional flag to signal that
7812
the registrant is planning to decorate an existing command. When
7813
given multiple plugins registering a command is not an error, and
7814
the original command class (whether built in or a plugin based one) is
7815
returned to the caller. There is a new error 'MustUseDecorated' for
7816
signalling when a wrapping command should switch to the original
7817
version. (Robert Collins)
7819
* Some option parsing errors will raise 'BzrOptionError', allowing
7820
granular detection for decorating commands. (Robert Collins).
7822
* ``Branch.read_working_inventory`` has moved to
7823
``WorkingTree.read_working_inventory``. This necessitated changes to
7824
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
7825
WorkingTree as well. To make it clear that a WorkingTree cannot always
7826
be obtained ``Branch.working_tree()`` will raise
7827
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
7829
* All pending merges operations from Branch are now on WorkingTree.
7832
* The follow operations from Branch have moved to WorkingTree::
7842
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
7844
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
7846
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
7849
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
7850
query method. (Robert Collins)
7852
* New options to read only the table-of-contents of a weave.
7855
* Raise NoSuchFile when someone tries to add a non-existant file.
7858
* Simplify handling of DivergedBranches in ``cmd_pull()``.
7861
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
7862
is exposed as ``Branch().control_files``. Also this has been altered with the
7863
controlfile pre/suffix replaced by simple method names like 'get' and
7864
'put'. (Aaron Bentley, Robert Collins).
7866
* Deprecated functions and methods can now be marked as such using the
7867
``bzrlib.symbol_versioning`` module. Marked method have their docstring
7868
updated and will issue a DeprecationWarning using the warnings module
7869
when they are used. (Robert Collins)
7871
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7872
for functions that need unicode strings. (Robert Collins)
7523
7874
bzr 0.6 2005-10-28
7528
* pull now takes --verbose to show you what revisions are added or removed
7531
* merge now takes a --show-base option to include the base text in
7535
* The config files are now read using ConfigObj, so '=' should be used as
7536
a separator, not ':'.
7539
* New 'bzr commit --strict' option refuses to commit if there are
7540
any unknown files in the tree. To commit, make sure all files are
7541
either ignored, added, or deleted. (Michael Ellerman)
7543
* The config directory is now ~/.bazaar, and there is a single file
7544
~/.bazaar/bazaar.conf storing email, editor and other preferences.
7547
* 'bzr add' no longer takes a --verbose option, and a --quiet option
7548
has been added that suppresses all output.
7550
* Improved zsh completion support in contrib/zsh, from Clint
7553
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
7554
Goffredo Baroncelli.
7556
* 'bzr check' now accepts -v for verbose reporting, and checks for
7557
ghosts in the branch. (Robert Collins)
7559
* New command 're-sign' which will regenerate the gpg signature for
7560
a revision. (Robert Collins)
7562
* If you set ``check_signatures=require`` for a path in
7563
``~/.bazaar/branches.conf`` then bzr will invoke your
7564
``gpg_signing_command`` (defaults to gpg) and record a digital signature
7565
of your commit. (Robert Collins)
7567
* New sftp transport, based on Paramiko. (Robey Pointer)
7569
* 'bzr pull' now accepts '--clobber' which will discard local changes
7570
and make this branch identical to the source branch. (Robert Collins)
7572
* Just give a quieter warning if a plugin can't be loaded, and
7573
put the details in .bzr.log. (Martin Pool)
7575
* 'bzr branch' will now set the branch-name to the last component of the
7576
output directory, if one was supplied.
7578
* If the option ``post_commit`` is set to one (or more) python function
7579
names (must be in the bzrlib namespace), then they will be invoked
7580
after the commit has completed, with the branch and ``revision_id`` as
7581
parameters. (Robert Collins)
7583
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
7585
* --merge-type weave is now supported for file contents. Tree-shape
7586
changes are still three-way based. (Martin Pool, Aaron Bentley)
7588
* 'bzr check' allows the first revision on revision-history to have
7589
parents - something that is expected for cheap checkouts, and occurs
7590
when conversions from baz do not have all history. (Robert Collins).
7592
* 'bzr merge' can now graft unrelated trees together, if your specify
7593
0 as a base. (Aaron Bentley)
7595
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
7598
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
7600
* 'bzr merge --reprocess' minimizes conflicts
7604
* The 'bzr selftest --pattern' option for has been removed, now
7605
test specifiers on the command line can be simple strings, or
7606
regexps, or both. (Robert Collins)
7608
* Passing -v to selftest will now show the time each test took to
7609
complete, which will aid in analysing performance regressions and
7610
related questions. (Robert Collins)
7612
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
7613
is given. (Martin Pool)
7615
* There is a new method for TestCaseInTempDir, assertFileEqual, which
7616
will check that a given content is equal to the content of the named
7617
file. (Robert Collins)
7619
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
7624
* New 'testament' command and concept for making gpg-signatures
7625
of revisions that are not tied to a particular internal
7626
representation. (Martin Pool).
7628
* Per-revision properties ('revprops') as key-value associated
7629
strings on each revision created when the revision is committed.
7630
Intended mainly for the use of external tools. (Martin Pool).
7632
* Config options have moved from bzrlib.osutils to bzrlib.config.
7635
* Improved command line option definitions allowing explanations
7636
for individual options, among other things. Contributed by
7639
* Config options have moved from bzrlib.osutils to bzrlib.config.
7640
Configuration is now done via the config.Config interface:
7641
Depending on whether you have a Branch, a Location or no information
7642
available, construct a ``*Config``, and use its ``signature_checking``,
7643
``username`` and ``user_email`` methods. (Robert Collins)
7645
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
7646
they are made available for other plugins to use. You should not
7647
import other plugins during the ``__init__`` of your plugin though, as
7648
no ordering is guaranteed, and the plugins directory is not on the
7649
python path. (Robert Collins)
7651
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
7652
no longer takes an inventory, rather it takes an option branch
7653
parameter, and if None is given will open the branch at basedir
7654
implicitly. (Robert Collins)
7656
* Cleaner exception structure and error reporting. Suggested by
7657
Scott James Remnant. (Martin Pool)
7659
* Branch.remove has been moved to WorkingTree, which has also gained
7660
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
7663
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
7664
added to the branch module. Use these to cause a function to run in a
7665
read or write lock respectively. (Robert Collins)
7667
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
7668
which allows direct access to the common case of 'get me this file
7669
from its branch'. (Robert Collins)
7671
* Transports can register using ``register_lazy_transport``, and they
7672
will be loaded when first used. (Martin Pool)
7674
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
7675
A new option to WorkingTree.pull has been added, clobber, which will
7676
ignore diverged history and pull anyway.
7679
* config.Config has a ``get_user_option`` call that accepts an option name.
7680
This will be looked up in branches.conf and bazaar.conf as normal.
7681
It is intended that this be used by plugins to support options -
7682
options of built in programs should have specific methods on the config.
7685
* ``merge.merge_inner`` now has tempdir as an optional parameter.
7688
* Tree.kind is not recorded at the top level of the hierarchy, as it was
7689
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
7692
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
7693
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
7694
about future directions. (Robert Collins/Martin Pool)
7696
* bzrlib.transport.http has been modified so that only 404 urllib errors
7697
are returned as NoSuchFile. Other exceptions will propogate as normal.
7698
This allows debuging of actual errors. (Robert Collins)
7700
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
7701
to apis like 'put', 'get' and 'has'. This is to provide consistent
7702
behaviour - it operates on url's only. (Robert Collins)
7704
* Transports can register using ``register_lazy_transport``, and they
7705
will be loaded when first used. (Martin Pool)
7707
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
7708
is called by ``merge_inner``. This is so that the conflict count can be
7709
retrieved (and potentially manipulated) before returning to the caller
7710
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
7711
caller. (Robert Collins)
7713
* ``revision.revision_graph`` can handle having only partial history for
7714
a revision - that is no revisions in the graph with no parents.
7717
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
7718
produce a branch and a list of paths, relative to that branch
7721
* New TestCase.addCleanup facility.
7723
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
7724
which can be used by programs importing bzrlib.
7728
* Better handling of branches in directories with non-ascii names.
7729
(Joel Rosdahl, Panagiotis Papadakos)
7731
* Upgrades of trees with no commits will not fail due to accessing
7732
[-1] in the revision-history. (Andres Salomon)
7880
* pull now takes --verbose to show you what revisions are added or removed
7883
* merge now takes a --show-base option to include the base text in
7887
* The config files are now read using ConfigObj, so '=' should be used as
7888
a separator, not ':'.
7891
* New 'bzr commit --strict' option refuses to commit if there are
7892
any unknown files in the tree. To commit, make sure all files are
7893
either ignored, added, or deleted. (Michael Ellerman)
7895
* The config directory is now ~/.bazaar, and there is a single file
7896
~/.bazaar/bazaar.conf storing email, editor and other preferences.
7899
* 'bzr add' no longer takes a --verbose option, and a --quiet option
7900
has been added that suppresses all output.
7902
* Improved zsh completion support in contrib/zsh, from Clint
7905
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
7906
Goffredo Baroncelli.
7908
* 'bzr check' now accepts -v for verbose reporting, and checks for
7909
ghosts in the branch. (Robert Collins)
7911
* New command 're-sign' which will regenerate the gpg signature for
7912
a revision. (Robert Collins)
7914
* If you set ``check_signatures=require`` for a path in
7915
``~/.bazaar/branches.conf`` then bzr will invoke your
7916
``gpg_signing_command`` (defaults to gpg) and record a digital signature
7917
of your commit. (Robert Collins)
7919
* New sftp transport, based on Paramiko. (Robey Pointer)
7921
* 'bzr pull' now accepts '--clobber' which will discard local changes
7922
and make this branch identical to the source branch. (Robert Collins)
7924
* Just give a quieter warning if a plugin can't be loaded, and
7925
put the details in .bzr.log. (Martin Pool)
7927
* 'bzr branch' will now set the branch-name to the last component of the
7928
output directory, if one was supplied.
7930
* If the option ``post_commit`` is set to one (or more) python function
7931
names (must be in the bzrlib namespace), then they will be invoked
7932
after the commit has completed, with the branch and ``revision_id`` as
7933
parameters. (Robert Collins)
7935
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
7937
* --merge-type weave is now supported for file contents. Tree-shape
7938
changes are still three-way based. (Martin Pool, Aaron Bentley)
7940
* 'bzr check' allows the first revision on revision-history to have
7941
parents - something that is expected for cheap checkouts, and occurs
7942
when conversions from baz do not have all history. (Robert Collins).
7944
* 'bzr merge' can now graft unrelated trees together, if your specify
7945
0 as a base. (Aaron Bentley)
7947
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
7950
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
7952
* 'bzr merge --reprocess' minimizes conflicts
7957
* The 'bzr selftest --pattern' option for has been removed, now
7958
test specifiers on the command line can be simple strings, or
7959
regexps, or both. (Robert Collins)
7961
* Passing -v to selftest will now show the time each test took to
7962
complete, which will aid in analysing performance regressions and
7963
related questions. (Robert Collins)
7965
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
7966
is given. (Martin Pool)
7968
* There is a new method for TestCaseInTempDir, assertFileEqual, which
7969
will check that a given content is equal to the content of the named
7970
file. (Robert Collins)
7972
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
7978
* New 'testament' command and concept for making gpg-signatures
7979
of revisions that are not tied to a particular internal
7980
representation. (Martin Pool).
7982
* Per-revision properties ('revprops') as key-value associated
7983
strings on each revision created when the revision is committed.
7984
Intended mainly for the use of external tools. (Martin Pool).
7986
* Config options have moved from bzrlib.osutils to bzrlib.config.
7989
* Improved command line option definitions allowing explanations
7990
for individual options, among other things. Contributed by
7993
* Config options have moved from bzrlib.osutils to bzrlib.config.
7994
Configuration is now done via the config.Config interface:
7995
Depending on whether you have a Branch, a Location or no information
7996
available, construct a ``*Config``, and use its ``signature_checking``,
7997
``username`` and ``user_email`` methods. (Robert Collins)
7999
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
8000
they are made available for other plugins to use. You should not
8001
import other plugins during the ``__init__`` of your plugin though, as
8002
no ordering is guaranteed, and the plugins directory is not on the
8003
python path. (Robert Collins)
8005
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
8006
no longer takes an inventory, rather it takes an option branch
8007
parameter, and if None is given will open the branch at basedir
8008
implicitly. (Robert Collins)
8010
* Cleaner exception structure and error reporting. Suggested by
8011
Scott James Remnant. (Martin Pool)
8013
* Branch.remove has been moved to WorkingTree, which has also gained
8014
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
8017
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
8018
added to the branch module. Use these to cause a function to run in a
8019
read or write lock respectively. (Robert Collins)
8021
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
8022
which allows direct access to the common case of 'get me this file
8023
from its branch'. (Robert Collins)
8025
* Transports can register using ``register_lazy_transport``, and they
8026
will be loaded when first used. (Martin Pool)
8028
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
8029
A new option to WorkingTree.pull has been added, clobber, which will
8030
ignore diverged history and pull anyway.
8033
* config.Config has a ``get_user_option`` call that accepts an option name.
8034
This will be looked up in branches.conf and bazaar.conf as normal.
8035
It is intended that this be used by plugins to support options -
8036
options of built in programs should have specific methods on the config.
8039
* ``merge.merge_inner`` now has tempdir as an optional parameter.
8042
* Tree.kind is not recorded at the top level of the hierarchy, as it was
8043
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
8046
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
8047
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
8048
about future directions. (Robert Collins/Martin Pool)
8050
* bzrlib.transport.http has been modified so that only 404 urllib errors
8051
are returned as NoSuchFile. Other exceptions will propogate as normal.
8052
This allows debuging of actual errors. (Robert Collins)
8054
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
8055
to apis like 'put', 'get' and 'has'. This is to provide consistent
8056
behaviour - it operates on url's only. (Robert Collins)
8058
* Transports can register using ``register_lazy_transport``, and they
8059
will be loaded when first used. (Martin Pool)
8061
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
8062
is called by ``merge_inner``. This is so that the conflict count can be
8063
retrieved (and potentially manipulated) before returning to the caller
8064
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
8065
caller. (Robert Collins)
8067
* ``revision.revision_graph`` can handle having only partial history for
8068
a revision - that is no revisions in the graph with no parents.
8071
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
8072
produce a branch and a list of paths, relative to that branch
8075
* New TestCase.addCleanup facility.
8077
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
8078
which can be used by programs importing bzrlib.
8083
* Better handling of branches in directories with non-ascii names.
8084
(Joel Rosdahl, Panagiotis Papadakos)
8086
* Upgrades of trees with no commits will not fail due to accessing
8087
[-1] in the revision-history. (Andres Salomon)
7735
8090
bzr 0.1.1 2005-10-12
7736
--------------------
7740
* Fix problem in pulling over http from machines that do not
7741
allow directories to be listed.
7743
* Avoid harmless warning about invalid hash cache after
7744
upgrading branch format.
7748
* Avoid some unnecessary http operations in branch and pull.
8091
####################
8096
* Fix problem in pulling over http from machines that do not
8097
allow directories to be listed.
8099
* Avoid harmless warning about invalid hash cache after
8100
upgrading branch format.
8105
* Avoid some unnecessary http operations in branch and pull.
7751
8108
bzr 0.1 2005-10-11
7756
* 'bzr branch' over http initially gives a very high estimate
7757
of completion time but it should fall as the first few
7758
revisions are pulled in. branch is still slow on
7759
high-latency connections.
7763
* bzr-man.py has been updated to work again. Contributed by
7766
* Locking is now done with fcntl.lockf which works with NFS
7767
file systems. Contributed by Harald Meland.
7769
* When a merge encounters a file that has been deleted on
7770
one side and modified on the other, the old contents are
7771
written out to foo.BASE and foo.SIDE, where SIDE is this
7772
or OTHER. Contributed by Aaron Bentley.
7774
* Export was choosing incorrect file paths for the content of
7775
the tarball, this has been fixed by Aaron Bentley.
7777
* Commit will no longer commit without a log message, an
7778
error is returned instead. Contributed by Jelmer Vernooij.
7780
* If you commit a specific file in a sub directory, any of its
7781
parent directories that are added but not listed will be
7782
automatically included. Suggested by Michael Ellerman.
7784
* bzr commit and upgrade did not correctly record new revisions
7785
for files with only a change to their executable status.
7786
bzr will correct this when it encounters it. Fixed by
7789
* HTTP tests now force off the use of ``http_proxy`` for the duration.
7790
Contributed by Gustavo Niemeyer.
7792
* Fix problems in merging weave-based branches that have
7793
different partial views of history.
7795
* Symlink support: working with symlinks when not in the root of a
7796
bzr tree was broken, patch from Scott James Remnant.
7800
* 'branch' now accepts a --basis parameter which will take advantage
7801
of local history when making a new branch. This allows faster
7802
branching of remote branches. Contributed by Aaron Bentley.
7804
* New tree format based on weave files, called version 5.
7805
Existing branches can be upgraded to this format using
7808
* Symlinks are now versionable. Initial patch by
7809
Erik Toubro Nielsen, updated to head by Robert Collins.
7811
* Executable bits are tracked on files. Patch from Gustavo
7814
* 'bzr status' now shows unknown files inside a selected directory.
7815
Patch from Heikki Paajanen.
7817
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
7818
and 'resolve' have needed added, which list and remove those
7819
merge conflicts respectively. A conflicted tree cannot be committed
7820
in. Contributed by Aaron Bentley.
7822
* 'rm' is now an alias for 'remove'.
7824
* Stores now split out their content in a single byte prefixed hash,
7825
dropping the density of files per directory by 256. Contributed by
7828
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
7829
Contributed by Robert Collins.
7831
* 'bzr log' with the default formatter will show merged revisions,
7832
indented to the right. Initial implementation contributed by Gustavo
7833
Niemeyer, made incremental by Robert Collins.
7838
* Test case failures have the exception printed after the log
7839
for your viewing pleasure.
7841
* InventoryEntry is now an abstract base class, use one of the
7842
concrete InventoryDirectory etc classes instead.
7844
* Branch raises an UnsupportedFormatError when it detects a
7845
bzr branch it cannot understand. This allows for precise
7846
handling of such circumstances.
7848
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
7849
list of their ids and ``parent_sha1s`` is a list of their corresponding
7850
sha1s (for old branches only at the moment.)
7852
* New method-object style interface for Commit() and Fetch().
7854
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
7855
we call them revisions not patches.
7857
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
7858
directory is created if it doesn't exist.
7860
* Inventories now identify the files which were present by
7861
giving the revision *of that file*.
7863
* Inventory and Revision XML contains a version identifier.
7864
This must be consistent with the overall branch version
7865
but allows for more flexibility in future upgrades.
7869
* Removed testsweet module so that tests can be run after
7870
bzr installed by 'bzr selftest'.
7872
* 'bzr selftest' command-line arguments can now be partial ids
7873
of tests to run, e.g. ``bzr selftest test_weave``
8114
* 'bzr branch' over http initially gives a very high estimate
8115
of completion time but it should fall as the first few
8116
revisions are pulled in. branch is still slow on
8117
high-latency connections.
8122
* bzr-man.py has been updated to work again. Contributed by
8125
* Locking is now done with fcntl.lockf which works with NFS
8126
file systems. Contributed by Harald Meland.
8128
* When a merge encounters a file that has been deleted on
8129
one side and modified on the other, the old contents are
8130
written out to foo.BASE and foo.SIDE, where SIDE is this
8131
or OTHER. Contributed by Aaron Bentley.
8133
* Export was choosing incorrect file paths for the content of
8134
the tarball, this has been fixed by Aaron Bentley.
8136
* Commit will no longer commit without a log message, an
8137
error is returned instead. Contributed by Jelmer Vernooij.
8139
* If you commit a specific file in a sub directory, any of its
8140
parent directories that are added but not listed will be
8141
automatically included. Suggested by Michael Ellerman.
8143
* bzr commit and upgrade did not correctly record new revisions
8144
for files with only a change to their executable status.
8145
bzr will correct this when it encounters it. Fixed by
8148
* HTTP tests now force off the use of ``http_proxy`` for the duration.
8149
Contributed by Gustavo Niemeyer.
8151
* Fix problems in merging weave-based branches that have
8152
different partial views of history.
8154
* Symlink support: working with symlinks when not in the root of a
8155
bzr tree was broken, patch from Scott James Remnant.
8160
* 'branch' now accepts a --basis parameter which will take advantage
8161
of local history when making a new branch. This allows faster
8162
branching of remote branches. Contributed by Aaron Bentley.
8164
* New tree format based on weave files, called version 5.
8165
Existing branches can be upgraded to this format using
8168
* Symlinks are now versionable. Initial patch by
8169
Erik Toubro Nielsen, updated to head by Robert Collins.
8171
* Executable bits are tracked on files. Patch from Gustavo
8174
* 'bzr status' now shows unknown files inside a selected directory.
8175
Patch from Heikki Paajanen.
8177
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
8178
and 'resolve' have needed added, which list and remove those
8179
merge conflicts respectively. A conflicted tree cannot be committed
8180
in. Contributed by Aaron Bentley.
8182
* 'rm' is now an alias for 'remove'.
8184
* Stores now split out their content in a single byte prefixed hash,
8185
dropping the density of files per directory by 256. Contributed by
8188
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
8189
Contributed by Robert Collins.
8191
* 'bzr log' with the default formatter will show merged revisions,
8192
indented to the right. Initial implementation contributed by Gustavo
8193
Niemeyer, made incremental by Robert Collins.
8199
* Test case failures have the exception printed after the log
8200
for your viewing pleasure.
8202
* InventoryEntry is now an abstract base class, use one of the
8203
concrete InventoryDirectory etc classes instead.
8205
* Branch raises an UnsupportedFormatError when it detects a
8206
bzr branch it cannot understand. This allows for precise
8207
handling of such circumstances.
8209
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
8210
list of their ids and ``parent_sha1s`` is a list of their corresponding
8211
sha1s (for old branches only at the moment.)
8213
* New method-object style interface for Commit() and Fetch().
8215
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
8216
we call them revisions not patches.
8218
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
8219
directory is created if it doesn't exist.
8221
* Inventories now identify the files which were present by
8222
giving the revision *of that file*.
8224
* Inventory and Revision XML contains a version identifier.
8225
This must be consistent with the overall branch version
8226
but allows for more flexibility in future upgrades.
8231
* Removed testsweet module so that tests can be run after
8232
bzr installed by 'bzr selftest'.
8234
* 'bzr selftest' command-line arguments can now be partial ids
8235
of tests to run, e.g. ``bzr selftest test_weave``
7876
8238
bzr 0.0.9 2005-09-23
7877
--------------------
7881
* Fixed "branch -r" option.
7883
* Fix remote access to branches containing non-compressed history.
7886
* Better reliability of http server tests. (John Arbash-Meinel)
7888
* Merge graph maximum distance calculation fix. (Aaron Bentley)
7890
* Various minor bug in windows support have been fixed, largely in the
7891
test suite. Contributed by Alexander Belchenko.
7895
* Status now accepts a -r argument to give status between chosen
7896
revisions. Contributed by Heikki Paajanen.
7898
* Revision arguments no longer use +/-/= to control ranges, instead
7899
there is a 'before' namespace, which limits the successive namespace.
7900
For example '$ bzr log -r date:yesterday..before:date:today' will
7901
select everything from yesterday and before today. Contributed by
7904
* There is now a bzr.bat file created by distutils when building on
7905
Windows. Contributed by Alexander Belchenko.
7909
* Removed uuid() as it was unused.
7911
* Improved 'fetch' code for pulling revisions from one branch into
7912
another (used by pull, merged, etc.)
8239
####################
8244
* Fixed "branch -r" option.
8246
* Fix remote access to branches containing non-compressed history.
8249
* Better reliability of http server tests. (John Arbash-Meinel)
8251
* Merge graph maximum distance calculation fix. (Aaron Bentley)
8253
* Various minor bug in windows support have been fixed, largely in the
8254
test suite. Contributed by Alexander Belchenko.
8259
* Status now accepts a -r argument to give status between chosen
8260
revisions. Contributed by Heikki Paajanen.
8262
* Revision arguments no longer use +/-/= to control ranges, instead
8263
there is a 'before' namespace, which limits the successive namespace.
8264
For example '$ bzr log -r date:yesterday..before:date:today' will
8265
select everything from yesterday and before today. Contributed by
8268
* There is now a bzr.bat file created by distutils when building on
8269
Windows. Contributed by Alexander Belchenko.
8274
* Removed uuid() as it was unused.
8276
* Improved 'fetch' code for pulling revisions from one branch into
8277
another (used by pull, merged, etc.)
7915
8280
bzr 0.0.8 2005-09-20
7916
--------------------
7920
* Adding a file whose parent directory is not versioned will
7921
implicitly add the parent, and so on up to the root. This means
7922
you should never need to explictly add a directory, they'll just
7923
get added when you add a file in the directory. Contributed by
7926
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
7929
* If you set ``BZR_EDITOR`` in the environment, it is checked in
7930
preference to EDITOR and the config file for the interactive commit
7931
editing program. Related to this is a bugfix where a missing program
7932
set in EDITOR would cause editing to fail, now the fallback program
7933
for the operating system is still tried.
7935
* Files that are not directories/symlinks/regular files will no longer
7936
cause bzr to fail, it will just ignore them by default. You cannot add
7937
them to the tree though - they are not versionable.
7942
* Refactor xml packing/unpacking.
7946
* Fixed 'bzr mv' by Ollie Rutherfurd.
7948
* Fixed strange error when trying to access a nonexistent http
7951
* Make sure that the hashcache gets written out if it can't be
7957
* Various Windows fixes from Ollie Rutherfurd.
7959
* Quieten warnings about locking; patch from Matt Lavin.
8281
####################
8286
* Adding a file whose parent directory is not versioned will
8287
implicitly add the parent, and so on up to the root. This means
8288
you should never need to explictly add a directory, they'll just
8289
get added when you add a file in the directory. Contributed by
8292
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
8295
* If you set ``BZR_EDITOR`` in the environment, it is checked in
8296
preference to EDITOR and the config file for the interactive commit
8297
editing program. Related to this is a bugfix where a missing program
8298
set in EDITOR would cause editing to fail, now the fallback program
8299
for the operating system is still tried.
8301
* Files that are not directories/symlinks/regular files will no longer
8302
cause bzr to fail, it will just ignore them by default. You cannot add
8303
them to the tree though - they are not versionable.
8309
* Refactor xml packing/unpacking.
8314
* Fixed 'bzr mv' by Ollie Rutherfurd.
8316
* Fixed strange error when trying to access a nonexistent http
8319
* Make sure that the hashcache gets written out if it can't be
8326
* Various Windows fixes from Ollie Rutherfurd.
8328
* Quieten warnings about locking; patch from Matt Lavin.
7962
8331
bzr-0.0.7 2005-09-02
7963
--------------------
7967
* ``bzr shell-complete`` command contributed by Clint Adams to
7968
help with intelligent shell completion.
7970
* New expert command ``bzr find-merge-base`` for debugging merges.
7975
* Much better merge support.
7977
* merge3 conflicts are now reported with markers like '<<<<<<<'
7978
(seven characters) which is the same as CVS and pleases things
7984
* ``bzr upgrade`` no longer fails when trying to fix trees that
7985
mention revisions that are not present.
7987
* Fixed bugs in listing plugins from ``bzr plugins``.
7989
* Fix case of $EDITOR containing options for the editor.
7991
* Fix log -r refusing to show the last revision.
7992
(Patch from Goffredo Baroncelli.)
7997
* ``bzr log --show-ids`` shows the revision ids of all parents.
7999
* Externally provided commands on your $BZRPATH no longer need
8000
to recognize --bzr-usage to work properly, and can just handle
8006
* Changed trace messages to go through the standard logging
8007
framework, so that they can more easily be redirected by
8332
####################
8337
* ``bzr shell-complete`` command contributed by Clint Adams to
8338
help with intelligent shell completion.
8340
* New expert command ``bzr find-merge-base`` for debugging merges.
8346
* Much better merge support.
8348
* merge3 conflicts are now reported with markers like '<<<<<<<'
8349
(seven characters) which is the same as CVS and pleases things
8356
* ``bzr upgrade`` no longer fails when trying to fix trees that
8357
mention revisions that are not present.
8359
* Fixed bugs in listing plugins from ``bzr plugins``.
8361
* Fix case of $EDITOR containing options for the editor.
8363
* Fix log -r refusing to show the last revision.
8364
(Patch from Goffredo Baroncelli.)
8370
* ``bzr log --show-ids`` shows the revision ids of all parents.
8372
* Externally provided commands on your $BZRPATH no longer need
8373
to recognize --bzr-usage to work properly, and can just handle
8380
* Changed trace messages to go through the standard logging
8381
framework, so that they can more easily be redirected by
8012
8386
bzr-0.0.6 2005-08-18
8013
--------------------
8017
* Python plugins, automatically loaded from the directories on
8018
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
8020
* New 'bzr mkdir' command.
8022
* Commit mesage is fetched from an editor if not given on the
8023
command line; patch from Torsten Marek.
8025
* ``bzr log -m FOO`` displays commits whose message matches regexp
8028
* ``bzr add`` with no arguments adds everything under the current directory.
8030
* ``bzr mv`` does move or rename depending on its arguments, like
8033
* ``bzr missing`` command shows a summary of the differences
8034
between two trees. (Merged from John Arbash-Meinel.)
8036
* An email address for commits to a particular tree can be
8037
specified by putting it into .bzr/email within a branch. (Based
8038
on a patch from Heikki Paajanen.)
8043
* Faster working tree operations.
8048
* 3rd-party modules shipped with bzr are copied within the bzrlib
8049
python package, so that they can be installed by the setup
8050
script without clashing with anything already existing on the
8051
system. (Contributed by Gustavo Niemeyer.)
8053
* Moved plugins directory to bzrlib/, so that there's a standard
8054
plugin directory which is not only installed with bzr itself but
8055
is also available when using bzr from the development tree.
8056
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
8057
standard plugins directory.
8059
* When exporting to a tarball with ``bzr export --format tgz``, put
8060
everything under a top directory rather than dumping it into the
8061
current directory. This can be overridden with the ``--root``
8062
option. Patch from William Dodé and John Meinel.
8064
* New ``bzr upgrade`` command to upgrade the format of a branch,
8065
replacing ``bzr check --update``.
8067
* Files within store directories are no longer marked readonly on
8070
* Changed ``bzr log`` output to a more compact form suggested by
8071
John A Meinel. Old format is available with the ``--long`` or
8072
``-l`` option, patched by William Dodé.
8074
* By default the commit command refuses to record a revision with
8075
no changes unless the ``--unchanged`` option is given.
8077
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
8078
line options must come before the command name because they
8079
affect what commands are available; all other options must come
8080
after the command name because their interpretation depends on
8083
* ``branch`` and ``clone`` added as aliases for ``branch``.
8085
* Default log format is back to the long format; the compact one
8086
is available with ``--short``.
8091
* Fix bugs in committing only selected files or within a subdirectory.
8387
####################
8392
* Python plugins, automatically loaded from the directories on
8393
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
8395
* New 'bzr mkdir' command.
8397
* Commit mesage is fetched from an editor if not given on the
8398
command line; patch from Torsten Marek.
8400
* ``bzr log -m FOO`` displays commits whose message matches regexp
8403
* ``bzr add`` with no arguments adds everything under the current directory.
8405
* ``bzr mv`` does move or rename depending on its arguments, like
8408
* ``bzr missing`` command shows a summary of the differences
8409
between two trees. (Merged from John Arbash-Meinel.)
8411
* An email address for commits to a particular tree can be
8412
specified by putting it into .bzr/email within a branch. (Based
8413
on a patch from Heikki Paajanen.)
8419
* Faster working tree operations.
8425
* 3rd-party modules shipped with bzr are copied within the bzrlib
8426
python package, so that they can be installed by the setup
8427
script without clashing with anything already existing on the
8428
system. (Contributed by Gustavo Niemeyer.)
8430
* Moved plugins directory to bzrlib/, so that there's a standard
8431
plugin directory which is not only installed with bzr itself but
8432
is also available when using bzr from the development tree.
8433
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
8434
standard plugins directory.
8436
* When exporting to a tarball with ``bzr export --format tgz``, put
8437
everything under a top directory rather than dumping it into the
8438
current directory. This can be overridden with the ``--root``
8439
option. Patch from William Dodé and John Meinel.
8441
* New ``bzr upgrade`` command to upgrade the format of a branch,
8442
replacing ``bzr check --update``.
8444
* Files within store directories are no longer marked readonly on
8447
* Changed ``bzr log`` output to a more compact form suggested by
8448
John A Meinel. Old format is available with the ``--long`` or
8449
``-l`` option, patched by William Dodé.
8451
* By default the commit command refuses to record a revision with
8452
no changes unless the ``--unchanged`` option is given.
8454
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
8455
line options must come before the command name because they
8456
affect what commands are available; all other options must come
8457
after the command name because their interpretation depends on
8460
* ``branch`` and ``clone`` added as aliases for ``branch``.
8462
* Default log format is back to the long format; the compact one
8463
is available with ``--short``.
8469
* Fix bugs in committing only selected files or within a subdirectory.
8094
8472
bzr-0.0.5 2005-06-15
8095
---------------------
8099
* ``bzr`` with no command now shows help rather than giving an
8100
error. Suggested by Michael Ellerman.
8102
* ``bzr status`` output format changed, because svn-style output
8103
doesn't really match the model of bzr. Now files are grouped by
8104
status and can be shown with their IDs. ``bzr status --all``
8105
shows all versioned files and unknown files but not ignored files.
8107
* ``bzr log`` runs from most-recent to least-recent, the reverse
8108
of the previous order. The previous behaviour can be obtained
8109
with the ``--forward`` option.
8111
* ``bzr inventory`` by default shows only filenames, and also ids
8112
if ``--show-ids`` is given, in which case the id is the second
8118
* New 'bzr whoami --email' option shows only the email component
8119
of the user identification, from Jo Vermeulen.
8121
* New ``bzr ignore PATTERN`` command.
8123
* Nicer error message for broken pipe, interrupt and similar
8124
conditions that don't indicate an internal error.
8126
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
8128
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
8129
either read or write mode.
8131
* New option ``bzr log --show-ids`` shows revision and file ids.
8133
* New usage ``bzr log FILENAME`` shows only revisions that
8136
* Changed format for describing changes in ``bzr log -v``.
8138
* New option ``bzr commit --file`` to take a message from a file,
8139
suggested by LarstiQ.
8141
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
8142
Oler. File may be in a branch other than the working directory.
8144
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
8147
* Commands can now be defined by external programs or scripts
8148
in a directory on $BZRPATH.
8150
* New "stat cache" avoids reading the contents of files if they
8151
haven't changed since the previous time.
8153
* If the Python interpreter is too old, try to find a better one
8154
or give an error. Based on a patch from Fredrik Lundh.
8156
* New optional parameter ``bzr info [BRANCH]``.
8158
* New form ``bzr commit SELECTED`` to commit only selected files.
8160
* New form ``bzr log -r FROM:TO`` shows changes in selected
8161
range; contributed by John A Meinel.
8163
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
8164
options through to an external GNU diff.
8166
* New option ``bzr add --no-recurse`` to add a directory but not
8169
* ``bzr --version`` now shows more information if bzr is being run
8175
* Fixed diff format so that added and removed files will be
8176
handled properly by patch. Fix from Lalo Martins.
8178
* Various fixes for files whose names contain spaces or other
8184
* Converted black-box test suites from Bourne shell into Python;
8185
now run using ``./testbzr``. Various structural improvements to
8188
* testbzr by default runs the version of bzr found in the same
8189
directory as the tests, or the one given as the first parameter.
8191
* testbzr also runs the internal tests, so the only command
8192
required to check is just ``./testbzr``.
8194
* testbzr requires python2.4, but can be used to test bzr running
8195
under a different version.
8197
* Tests added for many other changes in this release.
8202
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
8204
* Refactor command functions into Command objects based on HCT by
8205
Scott James Remnant.
8207
* Better help messages for many commands.
8209
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
8210
this is called trace messages are just discarded.
8212
* New internal function ``find_touching_revisions()`` and hidden
8213
command touching-revisions trace the changes to a given file.
8215
* Simpler and faster ``compare_inventories()`` function.
8217
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
8219
* New AtomicFile class.
8221
* New developer commands ``added``, ``modified``.
8226
* Cope on Windows on python2.3 by using the weaker random seed.
8227
2.4 is now only recommended.
8473
#####################
8478
* ``bzr`` with no command now shows help rather than giving an
8479
error. Suggested by Michael Ellerman.
8481
* ``bzr status`` output format changed, because svn-style output
8482
doesn't really match the model of bzr. Now files are grouped by
8483
status and can be shown with their IDs. ``bzr status --all``
8484
shows all versioned files and unknown files but not ignored files.
8486
* ``bzr log`` runs from most-recent to least-recent, the reverse
8487
of the previous order. The previous behaviour can be obtained
8488
with the ``--forward`` option.
8490
* ``bzr inventory`` by default shows only filenames, and also ids
8491
if ``--show-ids`` is given, in which case the id is the second
8498
* New 'bzr whoami --email' option shows only the email component
8499
of the user identification, from Jo Vermeulen.
8501
* New ``bzr ignore PATTERN`` command.
8503
* Nicer error message for broken pipe, interrupt and similar
8504
conditions that don't indicate an internal error.
8506
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
8508
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
8509
either read or write mode.
8511
* New option ``bzr log --show-ids`` shows revision and file ids.
8513
* New usage ``bzr log FILENAME`` shows only revisions that
8516
* Changed format for describing changes in ``bzr log -v``.
8518
* New option ``bzr commit --file`` to take a message from a file,
8519
suggested by LarstiQ.
8521
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
8522
Oler. File may be in a branch other than the working directory.
8524
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
8527
* Commands can now be defined by external programs or scripts
8528
in a directory on $BZRPATH.
8530
* New "stat cache" avoids reading the contents of files if they
8531
haven't changed since the previous time.
8533
* If the Python interpreter is too old, try to find a better one
8534
or give an error. Based on a patch from Fredrik Lundh.
8536
* New optional parameter ``bzr info [BRANCH]``.
8538
* New form ``bzr commit SELECTED`` to commit only selected files.
8540
* New form ``bzr log -r FROM:TO`` shows changes in selected
8541
range; contributed by John A Meinel.
8543
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
8544
options through to an external GNU diff.
8546
* New option ``bzr add --no-recurse`` to add a directory but not
8549
* ``bzr --version`` now shows more information if bzr is being run
8556
* Fixed diff format so that added and removed files will be
8557
handled properly by patch. Fix from Lalo Martins.
8559
* Various fixes for files whose names contain spaces or other
8566
* Converted black-box test suites from Bourne shell into Python;
8567
now run using ``./testbzr``. Various structural improvements to
8570
* testbzr by default runs the version of bzr found in the same
8571
directory as the tests, or the one given as the first parameter.
8573
* testbzr also runs the internal tests, so the only command
8574
required to check is just ``./testbzr``.
8576
* testbzr requires python2.4, but can be used to test bzr running
8577
under a different version.
8579
* Tests added for many other changes in this release.
8585
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
8587
* Refactor command functions into Command objects based on HCT by
8588
Scott James Remnant.
8590
* Better help messages for many commands.
8592
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
8593
this is called trace messages are just discarded.
8595
* New internal function ``find_touching_revisions()`` and hidden
8596
command touching-revisions trace the changes to a given file.
8598
* Simpler and faster ``compare_inventories()`` function.
8600
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
8602
* New AtomicFile class.
8604
* New developer commands ``added``, ``modified``.
8610
* Cope on Windows on python2.3 by using the weaker random seed.
8611
2.4 is now only recommended.
8230
8614
bzr-0.0.4 2005-04-22
8231
---------------------
8235
* 'bzr diff' optionally takes a list of files to diff. Still a bit
8236
basic. Patch from QuantumG.
8238
* More default ignore patterns.
8240
* New 'bzr log --verbose' shows a list of files changed in the
8241
changeset. Patch from Sebastian Cote.
8243
* Roll over ~/.bzr.log if it gets too large.
8245
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
8248
* New 'bzr help commands' based on a patch from Denys Duchier.
8253
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
8254
or $EMAIL. All are decoded by the locale preferred encoding.
8255
If none of these are present user@hostname is used. The host's
8256
fully-qualified name is not used because that tends to fail when
8257
there are DNS problems.
8259
* New 'bzr whoami' command instead of username user-email.
8264
* Make commit safe for hardlinked bzr trees.
8266
* Some Unicode/locale fixes.
8268
* Partial workaround for ``difflib.unified_diff`` not handling
8269
trailing newlines properly.
8274
* Allow docstrings for help to be in PEP0257 format. Patch from
8277
* More tests in test.sh.
8279
* Write profile data to a temporary file not into working
8280
directory and delete it when done.
8282
* Smaller .bzr.log with process ids.
8287
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
8290
* Some improvements in handling paths on Windows, based on a patch
8615
#####################
8620
* 'bzr diff' optionally takes a list of files to diff. Still a bit
8621
basic. Patch from QuantumG.
8623
* More default ignore patterns.
8625
* New 'bzr log --verbose' shows a list of files changed in the
8626
changeset. Patch from Sebastian Cote.
8628
* Roll over ~/.bzr.log if it gets too large.
8630
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
8633
* New 'bzr help commands' based on a patch from Denys Duchier.
8639
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
8640
or $EMAIL. All are decoded by the locale preferred encoding.
8641
If none of these are present user@hostname is used. The host's
8642
fully-qualified name is not used because that tends to fail when
8643
there are DNS problems.
8645
* New 'bzr whoami' command instead of username user-email.
8651
* Make commit safe for hardlinked bzr trees.
8653
* Some Unicode/locale fixes.
8655
* Partial workaround for ``difflib.unified_diff`` not handling
8656
trailing newlines properly.
8662
* Allow docstrings for help to be in PEP0257 format. Patch from
8665
* More tests in test.sh.
8667
* Write profile data to a temporary file not into working
8668
directory and delete it when done.
8670
* Smaller .bzr.log with process ids.
8676
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
8679
* Some improvements in handling paths on Windows, based on a patch
8294
8683
bzr-0.0.3 2005-04-06
8295
---------------------
8299
* New "directories" internal command lists versioned directories
8302
* Can now say "bzr commit --help".
8304
* New "rename" command to rename one file to a different name
8307
* New "move" command to move one or more files into a different
8310
* New "renames" command lists files renamed since base revision.
8312
* New cat command contributed by janmar.
8316
* .bzr.log is placed in $HOME (not pwd) and is always written in
8317
UTF-8. (Probably not a completely good long-term solution, but
8322
* Workaround for difflib bug in Python 2.3 that causes an
8323
exception when comparing empty files. Reported by Erik Toubro
8328
* Refactored inventory storage to insert a root entry at the top.
8332
* Start of shell-based black-box testing in test.sh.
8684
#####################
8689
* New "directories" internal command lists versioned directories
8692
* Can now say "bzr commit --help".
8694
* New "rename" command to rename one file to a different name
8697
* New "move" command to move one or more files into a different
8700
* New "renames" command lists files renamed since base revision.
8702
* New cat command contributed by janmar.
8707
* .bzr.log is placed in $HOME (not pwd) and is always written in
8708
UTF-8. (Probably not a completely good long-term solution, but
8714
* Workaround for difflib bug in Python 2.3 that causes an
8715
exception when comparing empty files. Reported by Erik Toubro
8721
* Refactored inventory storage to insert a root entry at the top.
8726
* Start of shell-based black-box testing in test.sh.
8340
* Win32 fixes from Steve Brown.
8735
* Win32 fixes from Steve Brown.
8343
8738
bzr-0.0.2 "black cube" 2005-03-31
8344
-----------------------------------
8348
* Default ignore list extended (see bzrlib/__init__.py).
8350
* Patterns in .bzrignore are now added to the default ignore list,
8351
rather than replacing it.
8353
* Ignore list isn't reread for every file.
8357
* Reinstate the 'bzr check' command to check invariants of the
8360
* New 'ignored' command lists which files are ignored and why;
8361
'deleted' lists files deleted in the current working tree.
8363
* Performance improvements.
8365
* New global --profile option.
8367
* Ignore patterns like './config.h' now correctly match files in
8368
the root directory only.
8739
###################################
8744
* Default ignore list extended (see bzrlib/__init__.py).
8746
* Patterns in .bzrignore are now added to the default ignore list,
8747
rather than replacing it.
8749
* Ignore list isn't reread for every file.
8753
* Reinstate the 'bzr check' command to check invariants of the
8756
* New 'ignored' command lists which files are ignored and why;
8757
'deleted' lists files deleted in the current working tree.
8759
* Performance improvements.
8761
* New global --profile option.
8763
* Ignore patterns like './config.h' now correctly match files in
8764
the root directory only.
8371
8767
bzr-0.0.1 2005-03-26
8372
---------------------
8376
* More information from info command.
8378
* Can now say "bzr help COMMAND" for more detailed help.
8380
* Less file flushing and faster performance when writing logs and
8381
committing to stores.
8383
* More useful verbose output from some commands.
8387
* Fix inverted display of 'R' and 'M' during 'commit -v'.
8391
* Include a subset of ElementTree-1.2.20040618 to make
8392
installation easier.
8394
* Fix time.localtime call to work with Python 2.3 (the minimum
8768
#####################
8773
* More information from info command.
8775
* Can now say "bzr help COMMAND" for more detailed help.
8777
* Less file flushing and faster performance when writing logs and
8778
committing to stores.
8780
* More useful verbose output from some commands.
8785
* Fix inverted display of 'R' and 'M' during 'commit -v'.
8790
* Include a subset of ElementTree-1.2.20040618 to make
8791
installation easier.
8793
* Fix time.localtime call to work with Python 2.3 (the minimum
8398
8797
bzr-0.0.0.69 2005-03-22
8399
------------------------
8403
* First public release.
8405
* Storage of local versions: init, add, remove, rm, info, log,
8798
########################
8803
* First public release.
8805
* Storage of local versions: init, add, remove, rm, info, log,
8409
8809
vim: tw=74 ft=rst ff=unix