Mercurial > hg > easyhg
view easyhg-extdiff.sh @ 617:2d5b831c1a0a
Added new functionality to limit the total number of items shown in the graph. For projects with a fairly high number of commits, makes every action is very slow.
Was added to the settings dialog to select a QDateEdit day from which the log is to be displayed.
author | Mikel <mikel.fernandez@bqreaders.com> |
---|---|
date | Tue, 24 Jul 2012 15:33:02 +0200 |
parents | d63711ff6740 |
children |
line wrap: on
line source
#!/bin/bash -x p=`dirname $0` if [ $# -lt 2 ]; then echo Insufficient arguments: $@ exit 2 fi while [ $# -gt 2 ]; do shift done for d in easyhg-kdiff3 easyhg-kdiff3.exe kdiff3 kdiff3.exe; do if [ -x "$p/$d" ]; then exec "$p/$d" "$1" "$2" elif [ -x "$(type -path $d)" ]; then exec "$d" "$1" "$2" fi done od=/usr/bin/opendiff if [ -x "$od" ]; then "$od" "$1" "$2" | cat exit 0 fi exit 1