Created
August 12, 2009 16:29
-
-
Save ericclemmons/166600 to your computer and use it in GitHub Desktop.
Run "svndiff" and view the results in FileMerge (OS X)
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
#!/usr/bin/python | |
from sys import argv | |
from os import execlp | |
import re | |
left = ""; | |
right = ""; | |
argv.pop(0) | |
while argv: | |
arg = argv.pop(0) | |
if arg == "-u": | |
pass | |
elif arg == "-L": | |
argv.pop(0) | |
elif left == "": | |
left = arg | |
else: | |
right = arg | |
execlp("opendiff", "opendiff", left, right) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment