1234567891011121314151617 |
- repo="$1"
- function ajuda {
- echo "Uso: git2fossil.sh repo.fossil"
- exit 1
- }
- [ -z "$repo" ] && ajuda
- cd "git"
- git fast-export \
- --import-marks="git.marks" \
- --export-marks="git.marks" --all | \
- fossil import \
- --git --incremental \
- --export-marks "fossil.marks" "../${repo}"
|