3
See also various low-level TODOs in the source code. Try looking in
4
the list archive or on gmane.org for previous discussion of these
7
These are classified by approximate size: an hour or less, a day or
8
less, and several days or more.
14
* Add of a file that was present in the base revision should put back
17
* Handle diff of files which do not have a trailing newline; probably
18
requires patching difflib to get it exactly right, or otherwise
19
calling out to GNU diff.
21
* Import ElementTree update patch.
23
* Syntax should be "bzr export -r REV".
27
* Plugins that provide commands. By just installing a file into some
28
directory (e.g. /usr/share/bzr/plugins) it should be possible to
29
create new top-level commands ("bzr frob"). Extensions can be
30
written in either Python (in which case they use the bzrlib API) or
31
in a separate process (in sh, C, whatever). It should be possible
32
to get help for plugin commands.
34
* Smart rewrap text in help messages to fit in $COLUMNS (or equivalent
37
* -r option should take a revision-id as well as a revno.
39
* "bzr info" could show space used by working tree, versioned files,
40
unknown and ignored files.
42
* "bzr info" should count only people with distinct email addresses as
43
different committers. (Or perhaps only distinct userids?)
45
* Tidier error for EPIPE: should be just "bzr: broken pipe" with no
46
other details because debugging information is rarely interesting.
48
* On Windows, command-line arguments should be glob-expanded__,
49
because the shell doesn't do this. However, there are probably some
50
commands where this shouldn't be done, such as 'bzr ignore', because
51
we want to accept globs.
53
__ http://mail.python.org/pipermail/python-list/2001-April/037847.html
58
* Selective commit of only some files.
62
Status should be handled differently because it needs to report on
63
deleted and unknown files. diff only needs to deal with versioned
66
* Merge Aaron's merge code.
70
* Turn on stat cache code, and add optimization about avoiding
71
dangerous cache entries.
75
* More efficient diff of only selected files.
77
* Fix up Inventory objects to represent root object as an entry.
79
* Don't convert entire entry from
81
* Extract changes from one revision to the next to a text form
82
suitable for transmission over email.
86
* Write a reproducible benchmark, perhaps importing various kernel versions.
88
* Change test.sh from Bourne shell into something in pure Python so
89
that it can be more portable.
91
* Directly import diffs! It seems a bit redundant to need to rescan
92
the directory to work out what files diff added/deleted/changed when
93
all the information is there in the diff in the first place.
94
Getting the exact behaviour for added/deleted subdirectories etc
97
At the very least we could run diffstat over the diff, or perhaps
98
read the status output from patch. Just knowing which files might
99
be modified would be enough to guide the add and commit.
101
Given this we might be able to import patches at 1/second or better.
103
* Get branch over http.
105
* Pull pure updates over http.
107
* revfile compression.
109
* Split inventory into per-directory files.
111
* Fix ignore file parsing:
113
- fnmatch is not the same as unix patterns
115
- perhaps add extended globs from rsh/rsync
117
- perhaps a pattern that matches only directories or non-directories
119
* Expansion of $Id$ keywords within working files. Perhaps do this in
120
exports first as a simpler case because then we don't need to deal
121
with removing the tags on the way back in.
127
* Hooks for pre-commit, post-commit, etc.
129
Consider the security implications; probably should not enable hooks
130
for remotely-fetched branches by default.
132
* Pre-commit check. If this hook is defined, it needs to be handled
133
specially: create a temporary directory containing the tree as it
134
will be after the commit. This means excluding any ignored/unknown
135
files, and respecting selective commits. Run the pre-commit check
136
(e.g. compile and run test suite) in there.
140
* GUI (maybe in Python GTK+?)
142
* C library interface