diff options
-rw-r--r-- | morphlib/plugins/branch_and_merge_plugin.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index 92c716a5..441a2131 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -502,6 +502,10 @@ class BranchAndMergePlugin(cliapp.Plugin): return stratum_repo_dir def edit_chunk(self, system_branch, branch_dir, stratum_repo_dir, chunk): + if 'unpetrify-ref' in chunk: + chunk['ref'] = chunk['unpetrify-ref'] + del chunk['unpetrify-ref'] + # Make the chunk repository and the ref available locally. chunk_repo_dir = self.checkout_repository( branch_dir, chunk['repo'], system_branch, |