Repo:
git://git.baserock.org/baserock/baserock/morph.git
Ref: baserock/richardmaw/S8511/refactor-status-v2
SHA1: 601f39bca09fa52acadec3b908f29aecc241e868
Land: origin/master
Previous tests pass and there are new unit tests.
The test suite has passed in every commit.
morph status when not in a system branch (i.e. workspace status) is
now faster.
Broadly the same operations are performed when status is run in a system
branch, so there is no performance improvement there.
The amount of code sharing has increased, this makes me happy.
Richard Maw (7):
util: add find_leaves() supplimenting find_leaf()
workspace: add method for listing system branches
b&m: Add new-status subcommand
gitdir: add HEAD property to find the current branch
gitdir: Add method for getting uncommitted changes
b&m: morph new-status provides per-branch status
b&m: Use new-status as the default
morphlib/gitdir.py | 37 ++++++++++++
morphlib/gitdir_tests.py | 15 +++++
morphlib/plugins/branch_and_merge_new_plugin.py | 70 +++++++++++++++++++++++
morphlib/plugins/branch_and_merge_plugin.py | 2 +-
morphlib/sysbranchdir.py | 10 +---
morphlib/sysbranchdir_tests.py | 2 +-
morphlib/util.py | 35 +++++++-----
morphlib/workspace.py | 5 ++
morphlib/workspace_tests.py | 10 ++++
9 files changed, 164 insertions(+), 22 deletions(-)
--
1.7.10.4