Environment: git 2.53.0, Ubuntu 24.04 (WSL2). Reproduced with both a fresh master build and the Debian package 1.0.18+git20221225-1build3. SVN source: local svnsync mirror.
Bug: --dry-run --debug-rules crashes (exit 134, git-fast-import has been started once and crashed?) at a revision where a tag must be newly created (add/change dir on an empty dir) via a rule matching an intermediate/renamed SVN path that maps to the same target repo/branch as the final path. Right before the crash:
is a partial branch of repository branch subdir BFU/BFU_001/tags/V3.7.0.0/
Per src/svn.cpp (splitPathName/recursiveDumpDir), this debug line prints prevrepository/prevbranch — both empty here, suggesting the previous-branch lookup fails for this case before handing off to fast-import.
Running the exact same revision without --dry-run (isolated via --max-rev) succeeds, exit 0. 100% reproducible both ways, 4+ runs each.
Expected: --dry-run shouldn't crash where a real run succeeds.
Happy to share a minimal repro rules file if useful.
Environment: git 2.53.0, Ubuntu 24.04 (WSL2). Reproduced with both a fresh
masterbuild and the Debian package1.0.18+git20221225-1build3. SVN source: localsvnsyncmirror.Bug:
--dry-run --debug-rulescrashes (exit 134,git-fast-import has been started once and crashed?) at a revision where a tag must be newly created (add/change diron an empty dir) via a rule matching an intermediate/renamed SVN path that maps to the same target repo/branch as the final path. Right before the crash:Per
src/svn.cpp(splitPathName/recursiveDumpDir), this debug line printsprevrepository/prevbranch— both empty here, suggesting the previous-branch lookup fails for this case before handing off to fast-import.Running the exact same revision without
--dry-run(isolated via--max-rev) succeeds, exit 0. 100% reproducible both ways, 4+ runs each.Expected:
--dry-runshouldn't crash where a real run succeeds.Happy to share a minimal repro rules file if useful.