This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Arg: path/to/module/in/cvs | |
# Run git-cvsimport and place result in subdir cvs.path.to.module.in.cvs | |
# or update git repo there if already existing (incremental fetch should work) | |
# Fix to your cvs credentials | |
p="$1" | |
d="cvs.`echo $p | tr / .`" | |
test -d "$d" || mkdir "$d" | |
cd "$d" || exit 1 | |
git cvsimport -p x -v -k -a -d :pserver:me@cvshost:/opt/cvs "$p" |
NewerOlder