annotate easyhg-extdiff-osx.sh @ 248:011312e59e44

Startup fixes: * Check that Hg works before open-or-stat, and only open-or-stat if tests successful * Make multichoicedialog for open always reopen with the same choice as last time (vital when an open action is aborted and user has to enter details again) * Offer to create full path to target dir for clone if parent doesn't exist
author Chris Cannam
date Tue, 11 Jan 2011 13:56:48 +0000
parents 43ecb0dcc44e
children
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@215 9 /usr/bin/opendiff "$1" "$2" | cat