-
Notifications
You must be signed in to change notification settings - Fork 1
CVS to GIT migration
1.Download and install cvs2git package : cvs2git
2.Get direct (filesystem) read-only access to a copy of the CVS repository
3.Create directory for blob and dump files and <temp_dir> for temp files
4.Use cvs2git command to create blob and dump files:
python cvs2git
--force-tag=mv_* --use-rcs --tmpdir=<temp_dir>
--blobfile=/git-blob.dat --dumpfile=/git-dump.dat
--username=<cvs_user_name> <path_to_CVS_root>/apps/verif/metviewer
5.Initialize a git repository:
mkdir METViewer
cd METViewer
git init
6.Load the dump files into the new git repository using git fast-import
cat /cvs2svn-tmp/git-blob.dat /cvs2svn-tmp/git-dump.dat | git fast-import
7.Run the contrib/git-move-refs.py script from within the git repository.
8.Explicitly check out the "master" version of the files into your working tree:
git checkout
9.Add origin
git remote add origin https://github.com/NCAR/METViewer.git
10. Push the source tree into GitHub including tags:
git push --tags -u origin master