Skip to content
Snippets Groups Projects
repositories.py 38 KiB
Newer Older
  • Learn to ignore specific revisions
  • Ronald Jäpel's avatar
    Ronald Jäpel committed
            :param results_commit_message:
                Commit message for the commit of the output repository.
            """
    
            new_branch_name = self.enter_context()
            try:
                yield new_branch_name
            except Exception as e:
    
                self.output_repo.delete_active_branch_if_branch_is_empty()
    
                raise e
            else:
                self.exit_context(message=results_commit_message)
    
    
    
    class OutputRepo(BaseRepo):