annotate easyhg-extdiff-osx.sh @ 249:123e06d5d9af

* If the hgignore file doesn't exist when the user asks to edit it, create it with a "syntax: glob" line
author Chris Cannam
date Tue, 11 Jan 2011 17:56:22 +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