comparison 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
comparison
equal deleted inserted replaced
209:0b040abb2aa3 210:c5fceb3fe5b4
1 #!/bin/bash
2 if [ $# -lt 2 ]; then
3 echo Insufficient arguments: $@
4 exit 2
5 fi
6 while [ $# -gt 2 ]; do
7 shift
8 done
9 /usr/bin/opendiff "$1" "$2"