diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-12-05 11:45:02 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-12-05 11:45:02 +0000 |
commit | 203623a34055c41aed529d50c24fb4a99714ccb7 (patch) | |
tree | 123de3f67adfeeba414e9d07b76d0be65e986558 /morphlib/remoterepocache.py | |
parent | 10dcca207438f284e21e5010de6ae0f766a0fa83 (diff) | |
download | morph-203623a34055c41aed529d50c24fb4a99714ccb7.tar.gz |
Fix `morph help-extensions` run outside a workspace
This command would use the sysbranchdir.open_from_within() function
call to search for a system branch, which traverses all subdirectories
looking for a directory. This is useful behaviour, but if the user ran
`morph help-extensions` in / it'd traverse their whole filesystem before
returning, which is stupid. This change means it only does the traverse
if it already detected a workspace.
Diffstat (limited to 'morphlib/remoterepocache.py')
0 files changed, 0 insertions, 0 deletions