Created
April 16, 2010 19:14
-
-
Save apk/368814 to your computer and use it in GitHub Desktop.
Helper to transfer back from git to cvs
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
# Commit diffs from cvs..master into cvs, one at a time. | |
# No file additions/removals. | |
set -x | |
git log --format=oneline cvs..master | tail -1 | (read commit comment | |
echo "[commit:'$comment']" | |
git merge $commit || exit | |
cvs -q commit -m "$comment" || exit | |
cvs -q update -kk | |
git update-index -q --refresh | |
git status) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment