diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-11-11 09:19:18 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-11-20 16:44:33 +0000 |
commit | b549c36dd6359aa22f8636bee7204c4df338b4f6 (patch) | |
tree | 8b36eadbe404f4925637b1b0292c0523a1540a93 /morphlib/plugins | |
parent | fad8048de66fe6aeaa0478864914bb773f51ed3e (diff) | |
download | morph-b549c36dd6359aa22f8636bee7204c4df338b4f6.tar.gz |
Remove old cruft
Static analysis showed this code is not being used, and we can always
bring it back if necessary through git.
Change-Id: Id8bf7d73436b5c3d0dfe050befaae034a05afc86
Diffstat (limited to 'morphlib/plugins')
-rw-r--r-- | morphlib/plugins/branch_and_merge_plugin.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index ba4fab55..6513e2eb 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -252,26 +252,6 @@ class BranchAndMergePlugin(cliapp.Plugin): morph.dirty = False logging.debug('Saving dirty morphologies: done') - def _checkout(self, lrc, sb, repo_url, ref): - logging.debug( - 'Checking out %s (%s) into %s' % - (repo_url, ref, sb.root_directory)) - cached_repo = lrc.get_updated_repo(repo_url) - gd = sb.clone_cached_repo(cached_repo, ref) - gd.update_submodules(self.app) - gd.update_remotes() - - def _load_morphology_from_file(self, loader, dirname, filename): - full_filename = os.path.join(dirname, filename) - return loader.load_from_file(full_filename) - - def _load_morphology_from_git(self, loader, gd, ref, filename): - try: - text = gd.get_file_from_ref(ref, filename) - except cliapp.AppException: - text = gd.get_file_from_ref('origin/%s' % ref, filename) - return loader.load_from_string(text, filename) - def show_system_branch(self, args): '''Show the name of the current system branch.''' |