Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312773
Collapse All | Expand All

(-)/usr/bin/hgeditor (-1 / +1 lines)
Lines 45-51 Link Here
45
    MD5=$(which md5 2>/dev/null)
45
    MD5=$(which md5 2>/dev/null)
46
[ -x "${MD5}" ] && CHECKSUM=`${MD5} "$HGTMP/msg"`
46
[ -x "${MD5}" ] && CHECKSUM=`${MD5} "$HGTMP/msg"`
47
if [ -s "$HGTMP/diff" ]; then
47
if [ -s "$HGTMP/diff" ]; then
48
    $EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $?
48
    $EDITOR "+e $HGTMP/diff" "+set buftype=help filetype=diff" "+split $HGTMP/msg" || exit $?
49
else
49
else
50
    $EDITOR "$HGTMP/msg" || exit $?
50
    $EDITOR "$HGTMP/msg" || exit $?
51
fi
51
fi

Return to bug 312773