Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
#
# git-create-review.py
# based on script created here: http://mojodna.net/2009/02/24/my-work-git-workflow.html
# especially for the command to turn a git diff into a svn diff
import subprocess
from subprocess import Popen, PIPE, STDOUT
import sys
findRevCmd = 'git svn find-rev %s'