diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-09-16 17:28:06 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2013-09-17 14:34:13 +0000 |
commit | 34504edc0e8d7c500434c20d7bad52b1f5f2014c (patch) | |
tree | b0703d257a4af0f61405f6f5a8054c1d8b48bcfa /morphlib/gitdir.py | |
parent | 4e6389c2f02c71cb2f2d3af738f421f8bbc5ea73 (diff) | |
download | morph-34504edc0e8d7c500434c20d7bad52b1f5f2014c.tar.gz |
b&m: Add new-status subcommand
This currently performs the workspace-wide status, but not the
system-branch status functionality of the older status subcommand.
A quick estimate showed the new code to be 5x faster, comparing
# time (echo 2 >/proc/sys/vm/drop_caches; morph status)
System branches in current workspace:
baserock/richardmaw/S8537/ssh-copy-id
baserock/richardmaw/S8564/ro-staging-area
baserock/richardmaw/S8591/lzo-shared
baserock/richardmaw/cliapp-pipefail
baserock/richardmaw/malformed-strata-test
master
tutorial-1/tutorial/master
tutorial-1/tutorial/update-ssh
real 0m2.517s
user 0m0.998s
sys 0m1.482s
# time (echo 2 >/proc/sys/vm/drop_caches; morph new-status)
System branches in current workspace:
baserock/richardmaw/S8537/ssh-copy-id
baserock/richardmaw/S8564/ro-staging-area
baserock/richardmaw/S8591/lzo-shared
baserock/richardmaw/cliapp-pipefail
baserock/richardmaw/malformed-strata-test
master
tutorial-1/tutorial/master
tutorial-1/tutorial/update-ssh
real 0m0.506s
user 0m0.207s
sys 0m0.233s
Diffstat (limited to 'morphlib/gitdir.py')
0 files changed, 0 insertions, 0 deletions