MCPcopy Create free account
hub / github.com/apache/solr / _print_git_status

Method _print_git_status

dev-tools/scripts/validateChangelogs.py:847–852  ·  view source on GitHub ↗

Helper to print git command status.

(self, message: str, git_result: subprocess.CompletedProcess)

Source from the content-addressed store, hash-verified

845 return None
846
847 def _print_git_status(self, message: str, git_result: subprocess.CompletedProcess) -> None:
848 """Helper to print git command status."""
849 if git_result.returncode != 0:
850 error_msg = f"{message}: {git_result.stderr}"
851 print(f" ✗ {error_msg}")
852 self.warnings.append(error_msg)
853
854 def cleanup_temp_branch(self):
855 """Clean up temporary branch and restore original branch."""

Callers 1

cleanup_temp_branchMethod · 0.95

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected