Phase 3: Finalization and verification.
(&self, stats: &ImportStats)
| 3381 | |
| 3382 | /// Phase 3: Finalization and verification. |
| 3383 | fn phase3_finalize(&self, stats: &ImportStats) -> CliResult<()> { |
| 3384 | // Verify counts |
| 3385 | let expected = stats.commits_parsed; |
| 3386 | let actual = stats.changes_written + stats.empty_commits + stats.merge_commits; |
| 3387 | |
| 3388 | if actual != expected { |
| 3389 | print_warning(&format!( |
| 3390 | "Verification: {} commits parsed but {} changes created", |
| 3391 | expected, actual |
| 3392 | )); |
| 3393 | } |
| 3394 | |
| 3395 | Ok(()) |
| 3396 | } |
| 3397 | } |
| 3398 | |
| 3399 | // ═══════════════════════════════════════════════════════════════════════════ |
no test coverage detected