##// END OF EJS Templates
Fix sed expression for OS X and Solaris 2.6....
Lee Cantey -
r2610:7a87aebd default
parent child Browse files
Show More
@@ -3,7 +3,8 b''
3 # GNU diff is the reference for all of these results.
3 # GNU diff is the reference for all of these results.
4
4
5 hgdiff() {
5 hgdiff() {
6 hg diff "$@" | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/"
6 hg diff "$@" | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
7 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
7 }
8 }
8
9
9 test_added_blank_lines() {
10 test_added_blank_lines() {
General Comments 0
You need to be logged in to leave comments. Login now