Share one repository-ID path helper with trail merge

main

Commit

Stefan Haubold2d ago

trailRepoIDNumberPath moves out of the merge command into trail_repo_id_path.go with a neutral error, and trailRepoIDPath builds on it. cli/1734 carries the identical file.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M6GTS5463Y3GRBCTP35G5G53