/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-0.17.txt

  • Committer: Vincent Ladeuil
  • Date: 2012-01-18 14:09:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120118140919-rlvdrhpc0nq1lbwi
Change set/remove to require a lock for the branch config files.

This means that tests (or any plugin for that matter) do not requires an
explicit lock on the branch anymore to change a single option. This also
means the optimisation becomes "opt-in" and as such won't be as
spectacular as it may be and/or harder to get right (nothing fails
anymore).

This reduces the diff by ~300 lines.

Code/tests that were updating more than one config option is still taking
a lock to at least avoid some IOs and demonstrate the benefits through
the decreased number of hpss calls.

The duplication between BranchStack and BranchOnlyStack will be removed
once the same sharing is in place for local config files, at which point
the Stack class itself may be able to host the changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. toctree::
 
6
   :maxdepth: 1
 
7
 
 
8
bzr 0.17
 
9
########
 
10
 
 
11
:Released:  2007-06-18
 
12
 
 
13
Bugfixes
 
14
********
 
15
 
 
16
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
17
  (Colin Watson, #120647)
 
18
 
 
19
* Revert logging just to stderr in commit as broke unicode filenames.
 
20
  (Aaron Bentley, Ian Clatworthy, #120930)
 
21
 
 
22
 
 
23
bzr 0.17rc1
 
24
###########
 
25
 
 
26
:Released:  2007-06-12
 
27
 
 
28
Notes When Upgrading
 
29
********************
 
30
 
 
31
* The kind() and is_executable() APIs on the WorkingTree interface no
 
32
  longer implicitly (read) locks and unlocks the tree. This *might*
 
33
  impact some plug-ins and tools using this part of the API. If you find
 
34
  an issue that may be caused by this change, please let us know,
 
35
  particularly the plug-in/tool maintainer. If encountered, the API
 
36
  fix is to surround kind() and is_executable() calls with lock_read()
 
37
  and unlock() like so::
 
38
 
 
39
    work_tree.lock_read()
 
40
    try:
 
41
        kind = work_tree.kind(...)
 
42
    finally:
 
43
        work_tree.unlock()
 
44
 
 
45
Internals
 
46
*********
 
47
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
48
  encapsulate the details of the revision to be logged in a LogRevision
 
49
  object.
 
50
  In long log formats, merge revision ids are only shown when --show-ids
 
51
  is specified, and are labelled "revision-id:", as per mainline
 
52
  revisions, instead of "merged:". (Kent Gibson)
 
53
 
 
54
* New ``BranchBuilder`` API which allows the construction of particular
 
55
  histories quickly. Useful for testing and potentially other applications
 
56
  too. (Robert Collins)
 
57
 
 
58
Improvements
 
59
************
 
60
 
 
61
* There are two new help topics, working-trees and repositories that
 
62
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
63
  Aaron Bentley)
 
64
 
 
65
* Added ``bzr log --limit`` to report a limited number of revisions.
 
66
  (Kent Gibson, #3659)
 
67
 
 
68
* Revert does not try to preserve file contents that were originally
 
69
  produced by reverting to a historical revision.  (Aaron Bentley)
 
70
 
 
71
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
72
  have more than one parent. This is a small improvement to help
 
73
  understanding what changes have occurred
 
74
  (John Arbash Meinel, #83887)
 
75
 
 
76
* TreeTransform avoids many renames when contructing large trees,
 
77
  improving speed.  3.25x speedups have been observed for construction of
 
78
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
79
 
 
80
* Commit on large trees is now faster. In my environment, a commit of
 
81
  a small change to the Mozilla tree (55k files) has dropped from
 
82
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
83
  small change is 33% faster. (Ian Clatworthy)
 
84
 
 
85
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
86
  #56322)
 
87
 
 
88
Bugfixes
 
89
********
 
90
 
 
91
* ``bzr push`` should only connect to the remote location one time.
 
92
  We have been connecting 3 times because we forget to pass around
 
93
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
94
  that we can pass in the Transport that we already have.
 
95
  (John Arbash Meinel, #75721)
 
96
 
 
97
* ``DirState.set_state_from_inventory()`` needs to properly order
 
98
  based on split paths, not just string paths.
 
99
  (John Arbash Meinel, #115947)
 
100
 
 
101
* Let TestUIFactoy encode the password prompt with its own stdout.
 
102
  (Vincent Ladeuil, #110204)
 
103
 
 
104
* pycurl should take use the range header that takes the range hint
 
105
  into account.
 
106
  (Vincent Ladeuil, #112719)
 
107
 
 
108
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
109
  on a missing file.  (Aaron Bentley, #118186)
 
110
 
 
111
* WorkingTree.remove works correctly with tree references, and when pwd is
 
112
  not the tree root. (Aaron Bentley)
 
113
 
 
114
* Merge no longer fails when a file is renamed in one tree and deleted
 
115
  in the other. (Aaron Bentley, #110279)
 
116
 
 
117
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
118
  and defaults to the last revision (Matthew Fuller, #90048)
 
119
 
 
120
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
121
  (Daniel Watkins, #111958)
 
122
 
 
123
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
124
  your repository. (Previously Branch6 only supported revisions in your
 
125
  mainline). (John Arbash Meinel, #115343)
 
126
 
 
127
 
 
128
..
 
129
   vim: tw=74 ft=rst ff=unix