unnecessary builtin commands are always loaded at startup
Bug #553017 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
In bzr 2.2b1, builtins.py has:
from bzrlib.
from bzrlib.conflicts import cmd_resolve, cmd_conflicts, restore
from bzrlib.foreign import cmd_dpush
from bzrlib.
these are fairly infrequently used, and loading every time can cause more disk io. They should be lazy.
Related branches
lp:~mbp/bzr/lazy-commands
- bzr-core: Pending requested
-
Diff: 23 lines (+2/-0)2 files modifiedbzrlib/commands.py (+1/-0)
bzrlib/tests/test_commands.py (+1/-0)
- Andrew Bennetts: Approve
-
Diff: 134 lines (+61/-9)5 files modified.bzrignore (+1/-0)
NEWS (+34/-0)
bzrlib/builtins.py (+18/-5)
bzrlib/commands.py (+1/-4)
bzrlib/tests/test_import_tariff.py (+7/-0)
Changed in bzr: | |
milestone: | none → 2.2.0 |
status: | In Progress → Fix Released |
To post a comment you must log in.
mp https:/ /code.edge. launchpad. net/~mbp/ bzr/lazy- commands/ +merge/ 22590