#!/bin/sh
if [ -z $1 ]; then
FILES=`svn status | awk '/^[MCA]/{printf "\n%s\n",$2;}' | zenity --list --width=600 --height=400 --separator=\ --checklist --title "The files which modified/conflict" --text 'Please select files' --column '' --column 'Files'`
else
FILES=$@
fi
for FILE in $FILES; do
svn diff --diff-cmd /usr/bin/meld $FILE
done
exit 0
沒有留言:
張貼留言