diff --git a/GitUtility.py b/GitUtility.py index 76fa8d7..32266f0 100644 --- a/GitUtility.py +++ b/GitUtility.py @@ -2629,10 +2629,12 @@ class GitSvnSyncApp: if status == 'success': ahead, behind = result_value if isinstance(result_value, tuple) else (None, None) log_handler.log_info(f"Ahead/Behind status updated for '{local_branch_ctx}': Ahead={ahead}, Behind={behind}", func_name=func_name) + log_handler.log_debug(f"Calling update_ahead_behind_status with: branch='{local_branch_ctx}', ahead={ahead}, behind={behind}", func_name=func_name) if hasattr(self.main_frame, "update_ahead_behind_status"): self.main_frame.update_ahead_behind_status(current_branch=local_branch_ctx, ahead=ahead, behind=behind) elif status == 'error': log_handler.log_error(f"Failed to get ahead/behind status for '{local_branch_ctx}': {message}", func_name=func_name) + log_handler.log_debug(f"Calling update_ahead_behind_status with: branch='{local_branch_ctx}', status_text='Sync Status: Error'", func_name=func_name) if hasattr(self.main_frame, "update_ahead_behind_status"): self.main_frame.update_ahead_behind_status(current_branch=local_branch_ctx, status_text=f"Sync Status: Error")