During a push, called once between the negotiation step and the upload. Provides information about what updates will be performed. Override with your own function to check the pending updates and possibly reject them (by raising an exception).
(self, updates: list['PushUpdate'])
| 199 | raise Passthrough |
| 200 | |
| 201 | def push_negotiation(self, updates: list['PushUpdate']) -> None: |
| 202 | """ |
| 203 | During a push, called once between the negotiation step and the upload. |
| 204 | Provides information about what updates will be performed. |
| 205 | |
| 206 | Override with your own function to check the pending updates |
| 207 | and possibly reject them (by raising an exception). |
| 208 | """ |
| 209 | |
| 210 | def transfer_progress(self, stats: 'TransferProgress') -> None: |
| 211 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected