From 54f558d657131278baaecc02b60f9d05d88dc89d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 5 Aug 2013 15:40:15 +0000 Subject: Re-implement "morph show-system-branch" using new infrastructure --- morphlib/plugins/branch_and_merge_plugin.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'morphlib/plugins/branch_and_merge_plugin.py') diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index 0485f317..6da5b09a 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -85,8 +85,6 @@ class BranchAndMergePlugin(cliapp.Plugin): arg_synopsis='-- COMMAND [ARGS...]') # Plumbing commands (FIXME: should be hidden from --help by default) - self.app.add_subcommand('show-system-branch', self.show_system_branch, - arg_synopsis='') self.app.add_subcommand('show-branch-root', self.show_branch_root, arg_synopsis='') @@ -1960,12 +1958,6 @@ class BranchAndMergePlugin(cliapp.Plugin): raise cliapp.AppException( 'Command failed at repo %s: %s' % (repo, ' '.join(args))) - def show_system_branch(self, args): - '''Show the name of the current system branch.''' - - branch, dirname = self.deduce_system_branch() - self.app.output.write('%s\n' % branch) - def show_branch_root(self, args): '''Show the name of the repository holding the system morphologies. -- cgit v1.2.1