##// END OF EJS Templates
templatefilters: indent: do not compute text.endswith('\n') in each iteration
templatefilters: indent: do not compute text.endswith('\n') in each iteration

File last commit:

r4180:f80cf8b7 default
r9387:20ed9909 default
Show More
test-diffdir
20 lines | 205 B | text/plain | TextLexer
#!/bin/sh
hg init
touch a
hg add a
hg ci -m "a" -d "1000000 0"
echo 123 > b
hg add b
hg diff --nodates
hg diff --nodates -r tip
echo foo > a
hg diff --nodates
hg diff -r ""
hg diff -r tip -r ""
true