annotate easyhg-extdiff-osx.sh @ 210:c5fceb3fe5b4

* OS/X: Add script to run external diff; add space around tab widget; textual fixes * Bail out of easyhg.py in uisetup rather than at extension load time if we can't load PyQt4 -- that way we find out about it in easyhg * Ensure editing the default path works even if hgrc doesn't yet exist; ensure path and branch are reset (to empty and default) if their respective files are absent
author Chris Cannam
date Wed, 05 Jan 2011 14:31:07 +0000
parents
children 43ecb0dcc44e
rev   line source
Chris@210 1 #!/bin/bash
Chris@210 2 if [ $# -lt 2 ]; then
Chris@210 3 echo Insufficient arguments: $@
Chris@210 4 exit 2
Chris@210 5 fi
Chris@210 6 while [ $# -gt 2 ]; do
Chris@210 7 shift
Chris@210 8 done
Chris@210 9 /usr/bin/opendiff "$1" "$2"