##// END OF EJS Templates
Don't show the diff in hgeditor if there are no changes in file contents.
Thomas Arendsen Hein -
r1009:1bc619b1 default
parent child Browse files
Show More
@@ -51,7 +51,11 b' fi'
51 51 grep -vE '^(HG: manifest hash .*)?$' "$1" >> "$HGTMP/msg"
52 52
53 53 CHECKSUM=`md5sum "$HGTMP/msg"`
54 if [ -s "$HGTMP/diff" ]; then
54 55 $EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $?
56 else
57 $EDITOR "$HGTMP/msg" || exit $?
58 fi
55 59 echo "$CHECKSUM" | md5sum -c >/dev/null 2>&1 && exit 13
56 60
57 61 if [ "$SIGN" == "1" ]; then
General Comments 0
You need to be logged in to leave comments. Login now