##// END OF EJS Templates
Change sed patterns in tests to strip dates after spaces or tabs
Change sed patterns in tests to strip dates after spaces or tabs

File last commit:

r774:6592c4f5 default
r774:6592c4f5 default
Show More
test-diffdir
12 lines | 197 B | text/plain | TextLexer
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536 #!/bin/sh
hg init
touch a
hg add a
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg ci -m "a" -d "0 0"
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536
echo 123 > b
hg add b
mpm@selenic.com
Change sed patterns in tests to strip dates after spaces or tabs
r774 hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536
mpm@selenic.com
Change sed patterns in tests to strip dates after spaces or tabs
r774 hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"