-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: replace Mepo with mepo_state
- Loading branch information
1 parent
30ad1cb
commit 4bf721e
Showing
4 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
from Mepo import MepoState | ||
from mepo_state import MepoState | ||
from create import create | ||
from switch import switch | ||
|
||
def run(args): | ||
branch_cmd = args.mepo_branch_cmd | ||
branch_name = args.branch_name | ||
if branch_cmd == 'create': | ||
create.run(branch_name) | ||
elif branch_cmd == 'switch': | ||
switch.run(args.repo_name, args.branch_name) | ||
else: | ||
raise Exception('"mepo branch %s" has not yet been implemented' % branch_cmd) | ||
raise NotImplementedError('"mepo branch %s" has not yet been implemented' % branch_cmd) | ||
# if branch_cmd == 'create': | ||
# create.run(branch_name) | ||
# elif branch_cmd == 'switch': | ||
# switch.run(args.repo_name, args.branch_name) | ||
# else: | ||
# raise NotImplementedError('"mepo branch %s" has not yet been implemented' % branch_cmd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters